[asterisk-commits] mmichelson: branch group/issue8824 r158378 - /team/group/issue8824/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 21 11:21:39 CST 2008


Author: mmichelson
Date: Fri Nov 21 11:21:38 2008
New Revision: 158378

URL: http://svn.digium.com/view/asterisk?view=rev&rev=158378
Log:
Blocked revisions 158307 via svnmerge

................
r158307 | mmichelson | 2008-11-21 09:25:58 -0600 (Fri, 21 Nov 2008) | 12 lines

Blocked revisions 158306 via svnmerge

........
r158306 | mmichelson | 2008-11-21 09:24:19 -0600 (Fri, 21 Nov 2008) | 5 lines

This change had somehow gotten reverted due to a
completely unrelated commit. Thanks to Theo Belder
on the Asterisk-dev list for pointing this out.


........

................

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

Modified: team/group/issue8824/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/issue8824/channels/chan_sip.c?view=diff&rev=158378&r1=158377&r2=158378
==============================================================================
--- team/group/issue8824/channels/chan_sip.c (original)
+++ team/group/issue8824/channels/chan_sip.c Fri Nov 21 11:21:38 2008
@@ -16607,6 +16607,16 @@
 					/* This 200 OK's SDP is not acceptable, so we need to ack, then hangup */
 					/* For re-invites, we try to recover */
 					ast_set_flag(&p->flags[0], SIP_PENDINGBYE);	
+		}
+		
+		if (!req->ignore && p->owner && get_rpid(p, req)) {
+			/* Queue a connected line update */
+			ast_party_connected_line_init(&connected);
+			connected.id.number = (char *) p->cid_num;
+			connected.id.name = (char *) p->cid_name;
+			connected.id.number_presentation = p->callingpres;
+			connected.source = AST_CONNECTED_LINE_UPDATE_SOURCE_ANSWER;
+			ast_queue_connected_line_update(p->owner, &connected);
 		}
 
 		/* Parse contact header for continued conversation */




More information about the asterisk-commits mailing list