From ce8101c6c62013b64220b044ad802a3c7513be5a Mon Sep 17 00:00:00 2001 From: Damien Wedhorn Date: Thu, 14 Feb 2013 19:55:29 +0000 Subject: 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 --- channels/chan_skinny.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'channels') 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; -- cgit v1.2.3