Issue #6766 - Make ;user=phone work again - imported from 1.2
authorOlle Johansson <oej@edvina.net>
Wed, 22 Mar 2006 09:14:42 +0000 (09:14 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 22 Mar 2006 09:14:42 +0000 (09:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14141 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 5b9ed02..30ab487 100644 (file)
@@ -594,7 +594,7 @@ struct sip_auth {
 #define SIP_FLAGS_TO_COPY \
        (SIP_PROMISCREDIR | SIP_TRUSTRPID | SIP_SENDRPID | SIP_DTMF | SIP_REINVITE | \
         SIP_PROG_INBAND | SIP_OSPAUTH | SIP_USECLIENTCODE | SIP_NAT | \
 #define SIP_FLAGS_TO_COPY \
        (SIP_PROMISCREDIR | SIP_TRUSTRPID | SIP_SENDRPID | SIP_DTMF | SIP_REINVITE | \
         SIP_PROG_INBAND | SIP_OSPAUTH | SIP_USECLIENTCODE | SIP_NAT | \
-        SIP_INSECURE_PORT | SIP_INSECURE_INVITE)
+        SIP_USEREQPHONE | SIP_INSECURE_PORT | SIP_INSECURE_INVITE)
 
 /* a new page of flags for peers */
 #define SIP_PAGE2_RTCACHEFRIENDS       (1 << 0)
 
 /* a new page of flags for peers */
 #define SIP_PAGE2_RTCACHEFRIENDS       (1 << 0)