From: Joshua Colp Date: Thu, 1 Feb 2007 22:21:56 +0000 (+0000) Subject: Copy noncodeccapability over to the joint variable so that telephone-event will get... X-Git-Tag: 1.2.15~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade14f36ea13c749c54d978d979164a4b3dca6c4;p=thirdparty%2Fasterisk.git Copy noncodeccapability over to the joint variable so that telephone-event will get transmitted in the sent INVITE. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53103 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 38084e663a..f7dcda5f84 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2083,6 +2083,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout) if ( res != -1 ) { p->callingpres = ast->cid.cid_pres; p->jointcapability = p->capability; + p->jointnoncodeccapability = p->noncodeccapability; transmit_invite(p, SIP_INVITE, 1, 2); if (p->maxtime) { /* Initialize auto-congest time */