[svn-commits] wedhorn: trunk r381470 - /trunk/channels/chan_skinny.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 14 13:55:32 CST 2013


Author: wedhorn
Date: Thu Feb 14 13:55:29 2013
New Revision: 381470

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381470
Log:
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).

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=381470&r1=381469&r2=381470
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Thu Feb 14 13:55:29 2013
@@ -2426,8 +2426,8 @@
 	} else {
 		thestrings[2] = "";
 	}
-	thestrings[3] = "";
-	thestrings[4] = "";
+	thestrings[3] = "203";
+	thestrings[4] = "204";
 	thestrings[5] = "";
 	thestrings[6] = "";
 	thestrings[7] = "";
@@ -2808,10 +2808,6 @@
 static void transmit_dialednumber(struct skinny_device *d, const char *text, int instance, int callid)
 {
 	struct skinny_req *req;
-
-	if (d->protocolversion > 16) {
-		return;
-	}
 
 	if (!(req = req_alloc(sizeof(struct dialed_number_message), DIALED_NUMBER_MESSAGE)))
 		return;




More information about the svn-commits mailing list