[Asterisk-Dev] mgcp<>sip dirty fix

alex at pilosoft.com alex at pilosoft.com
Fri Mar 28 05:53:44 MST 2003


Like above, this is not a correct fix, but it'll allow sip<>mgcp 
interoperation. I don't know enough to make a proper fix.

Index: channels/chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.15
diff --unified -r1.15 chan_sip.c
--- channels/chan_sip.c 28 Mar 2003 06:59:34 -0000 1.15
+++ channels/chan_sip.c 28 Mar 2003 13:06:35 -0000
@@ -4460,8 +4468,10 @@
        struct sip_pvt *p;
        p = chan->pvt->pvt;
        if (p) {
+/* this breaks SIP<>MGCP 
                p->outgoing = 1;
                transmit_reinvite_with_sdp(p, rtp);
+*/
                return 0;
        }





More information about the asterisk-dev mailing list