[Asterisk-Dev] mgcp<>sip dirty fix
Martin Pycko
martinp at digium.com
Fri Mar 28 10:25:27 MST 2003
Just set reinvite=no if you don't want to use reinvites. As of last night
Mark was successfully able to make a pingtel and MGCP phone bridge.
Martin
On Fri, 28 Mar 2003 alex at pilosoft.com wrote:
> 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;
> }
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list