mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
provide a default context, so transfer works on non-peer calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1248,6 +1248,7 @@ static struct sip_pvt *sip_alloc(char *callid, struct sockaddr_in *sin, int useg
|
||||
p->dtmfmode = globaldtmfmode;
|
||||
if (p->dtmfmode & SIP_DTMF_RFC2833)
|
||||
p->noncodeccapability |= AST_RTP_DTMF;
|
||||
strncpy(p->context, context, sizeof(p->context));
|
||||
/* Add to list */
|
||||
ast_pthread_mutex_lock(&iflock);
|
||||
p->next = iflist;
|
||||
|
Reference in New Issue
Block a user