[svn-commits] mmichelson: branch group/CCSS r247889 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 18 18:12:35 CST 2010


Author: mmichelson
Date: Thu Feb 18 18:12:32 2010
New Revision: 247889

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247889
Log:
Change the field checked in sip_queryoption for AST_OPTIN_DEVICE_NAME.


Modified:
    team/group/CCSS/channels/chan_sip.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=247889&r1=247888&r2=247889
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Thu Feb 18 18:12:32 2010
@@ -4292,7 +4292,7 @@
 		ast_debug(1, "Reporting digit detection %sabled on %s\n", *cp ? "en" : "dis", chan->name);
 		break;
 	case AST_OPTION_DEVICE_NAME:
-		if (p && ast_test_flag(&p->flags[0], SIP_OUTGOING)) {
+		if (p && p->outgoing_call) {
 			cp = (char *) data;
 			ast_copy_string(cp, p->dialstring, *datalen);
 			res = 0;




More information about the svn-commits mailing list