diff options
author | Damien Wedhorn <voip@facts.com.au> | 2013-02-14 19:55:29 +0000 |
---|---|---|
committer | Damien Wedhorn <voip@facts.com.au> | 2013-02-14 19:55:29 +0000 |
commit | ce8101c6c62013b64220b044ad802a3c7513be5a (patch) | |
tree | 3920b1ab4805177539317cf21814fc325eee24d4 | |
parent | d3811a2352c2144a7a7470ee9064e49051b15e96 (diff) |
Add back sending dialnumber to skinny.
Don't know why it seemed to work during testing, but it really is needed
for protocol v17 (and probably above).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_skinny.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 84819d640..2ce82c7b1 100644 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -2426,8 +2426,8 @@ static void transmit_callinfo_variable(struct skinny_device *d, int instance, in } else { thestrings[2] = ""; } - thestrings[3] = ""; - thestrings[4] = ""; + thestrings[3] = "203"; + thestrings[4] = "204"; thestrings[5] = ""; thestrings[6] = ""; thestrings[7] = ""; @@ -2809,10 +2809,6 @@ static void transmit_dialednumber(struct skinny_device *d, const char *text, int { struct skinny_req *req; - if (d->protocolversion > 16) { - return; - } - if (!(req = req_alloc(sizeof(struct dialed_number_message), DIALED_NUMBER_MESSAGE))) return; |