So there seems to be some sort of error when bridging directly like
originate {ignore_early_media=true}sofia/gateway/epik.com/914159927717 &bridge(sofia/gateway/epik.com/914154650027)
is the string I was using from the console.On Thu, Aug 20, 2009 at 6:00 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
HiHow are you bridging the calls in FS (which api call or C function are you using)?Mathieu ReneAvant-Garde Solutions IncOffice: + 1 (514) 664-1044 x100Cell: +1 (514) 664-1044 x200
On 20-Aug-09, at 3:29 AM, Matthew Fong wrote:_______________________________________________I'm trying to get FreeSWITCH to bridge two channels together through the same external gateway, but I'm having issues hearing audio. Both legs if setup independently and forwarded to 5000 (test ivr) work fine for both inbound and outbound media, but when I try to bridge them together, everything seems fine in FreeSWITCH, but neither party can hear the other speak. I'm thinking the external gateway might be having some issues because I've been able to bridge 2 channels together through the same gateway on different providers, but thought I'd also try to seek some help here. FreeSWITCH should be handling the media for both channels, so I can't figure out why if Leg A and Leg B work independently, but not if they are bridged together. Is there a setting somewhere in FS that I'm missing?Below is a ngrep of the SIP interactions if it's useful. Thanks for the help.--mattinterface: eth0 (172.24.200.0/255.255.255.0)filter: (ip or ip6) and ( port 5060 )U 2009/08/20 07:11:34.038686 216.81.56.198:5080 -> 38.98.58.148:5060INVITE sip:914159927717@38.98.58.148 SIP/2.0.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.Max-Forwards: 70.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 119257811 INVITE.User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.Supported: timer, precondition, path, replaces.Allow-Events: talk, refer.Content-Type: application/sdp.Content-Disposition: session.Content-Length: 293.Remote-Party-ID: "FreeSWITCH" <sip:0000000000@216.81.56.198>;party=calling;screen=yes;privacy=off..v=0.o=FreeSWITCH 1250727594 1250727595 IN IP4 216.81.56.198.s=FreeSWITCH.c=IN IP4 216.81.56.198.t=0 0.m=audio 24700 RTP/AVP 0 8 3 101 13.a=rtpmap:0 PCMU/8000.a=rtpmap:8 PCMA/8000.a=rtpmap:3 GSM/8000.a=rtpmap:101 telephone-event/8000.a=fmtp:101 0-16.a=rtpmap:13 CN/8000.a=ptime:20.U 2009/08/20 07:11:34.128331 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 100 Trying.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.To: <sip:914159927717@38.98.58.148>;tag=F725.2C49.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 119257811 INVITE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.Contact: <sip:914159927717@38.98.58.148:5060>.Content-Length: 0..U 2009/08/20 07:11:34.338105 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 183 Session Progress.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.To: <sip:914159927717@38.98.58.148>;tag=F725.2C49.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 119257811 INVITE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.Contact: <sip:914159927717@38.98.58.148:5060>.Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.Content-Type: application/sdp.Content-Length: 227..v=0.o=BroadSoft 23178 23178 IN IP4 10.10.10.11.s=M6 Call.c=IN IP4 38.98.58.148.t=0 0.m=audio 42554 RTP/AVP 0 101.a=rtpmap:101 telephone-event/8000.a=fmtp:101 0-15.a=ptime:20.a=sendrecv.a=rtcp:6461 IN IP4 10.10.24.50.U 2009/08/20 07:11:42.239312 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 200 OK.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.To: <sip:914159927717@38.98.58.148>;tag=F725.2C49.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 119257811 INVITE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.Contact: <sip:914159927717@38.98.58.148:5060>.Session-Expires: 1800;refresher=uas.Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.Supported: timer.Content-Type: application/sdp.Content-Length: 227..v=0.o=BroadSoft 23178 23178 IN IP4 10.10.10.11.s=M6 Call.c=IN IP4 38.98.58.148.t=0 0.m=audio 42554 RTP/AVP 0 101.a=rtpmap:101 telephone-event/8000.a=fmtp:101 0-15.a=ptime:20.a=sendrecv.a=rtcp:6461 IN IP4 10.10.24.50.U 2009/08/20 07:11:42.240828 216.81.56.198:5080 -> 38.98.58.148:5060ACK sip:914159927717@38.98.58.148:5060 SIP/2.0.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK3SNaXppetUKjc.Max-Forwards: 70.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.To: <sip:914159927717@38.98.58.148>;tag=F725.2C49.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 119257811 ACK.Content-Length: 0..U 2009/08/20 07:11:42.245678 216.81.56.198:5080 -> 38.98.58.148:5060INVITE sip:914154650027@38.98.58.148 SIP/2.0.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.Max-Forwards: 70.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257815 INVITE.User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.Supported: timer, precondition, path, replaces.Allow-Events: talk, refer.Content-Type: application/sdp.Content-Disposition: session.Content-Length: 293.Remote-Party-ID: "FreeSWITCH" <sip:0000000000@216.81.56.198>;party=calling;screen=yes;privacy=off..v=0.o=FreeSWITCH 1250727504 1250727505 IN IP4 216.81.56.198.s=FreeSWITCH.c=IN IP4 216.81.56.198.t=0 0.m=audio 24798 RTP/AVP 0 8 3 101 13.a=rtpmap:0 PCMU/8000.a=rtpmap:8 PCMA/8000.a=rtpmap:3 GSM/8000.a=rtpmap:101 telephone-event/8000.a=fmtp:101 0-16.a=rtpmap:13 CN/8000.a=ptime:20.U 2009/08/20 07:11:42.333184 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 100 Trying.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.To: <sip:914154650027@38.98.58.148>;tag=F72E.2D4E.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257815 INVITE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.Contact: <sip:914154650027@38.98.58.148:5060>.Content-Length: 0..U 2009/08/20 07:11:42.514501 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 183 Session Progress.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.To: <sip:914154650027@38.98.58.148>;tag=F72E.2D4E.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257815 INVITE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.Contact: <sip:914154650027@38.98.58.148:5060>.Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.Content-Type: application/sdp.Content-Length: 225..v=0.o=BroadSoft 2035 2035 IN IP4 10.10.10.11.s=M6 Call.c=IN IP4 38.98.58.148.t=0 0.m=audio 46520 RTP/AVP 0 101.a=rtpmap:101 telephone-event/8000.a=fmtp:101 0-15.a=ptime:20.a=sendrecv.a=rtcp:6451 IN IP4 10.10.24.50.U 2009/08/20 07:11:46.190607 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 200 OK.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.To: <sip:914154650027@38.98.58.148>;tag=F72E.2D4E.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257815 INVITE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.Contact: <sip:914154650027@38.98.58.148:5060>.Session-Expires: 1800;refresher=uas.Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.Supported: timer.Content-Type: application/sdp.Content-Length: 225..v=0.o=BroadSoft 2035 2035 IN IP4 10.10.10.11.s=M6 Call.c=IN IP4 38.98.58.148.t=0 0.m=audio 46520 RTP/AVP 0 101.a=rtpmap:101 telephone-event/8000.a=fmtp:101 0-15.a=ptime:20.a=sendrecv.a=rtcp:6451 IN IP4 10.10.24.50.U 2009/08/20 07:11:46.191161 216.81.56.198:5080 -> 38.98.58.148:5060ACK sip:914154650027@38.98.58.148:5060 SIP/2.0.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK5B8U0crNmD0QK.Max-Forwards: 70.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.To: <sip:914154650027@38.98.58.148>;tag=F72E.2D4E.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257815 ACK.Content-Length: 0..U 2009/08/20 07:11:55.139274 38.98.58.148:5060 -> 216.81.56.198:5080From: <sip:914159927717@38.98.58.148>;tag=F725.2C49.To: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 4817 BYE.Max-Forwards: 70.Via: SIP/2.0/UDP 38.98.58.148:5060;branch=z9hG4bK4A8C.F725.2C494819.943A6226.00000BC3.Via: SIP/2.0/UDP 10.10.10.11:5060;branch=z9hG4bK4A8C.F725.2C494819.Contact: <sip:914159927717@38.98.58.148:5060>.Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.Content-Length: 0..U 2009/08/20 07:11:55.140390 216.81.56.198:5080 -> 38.98.58.148:5060SIP/2.0 200 OK.Via: SIP/2.0/UDP 38.98.58.148:5060;branch=z9hG4bK4A8C.F725.2C494819.943A6226.00000BC3.Via: SIP/2.0/UDP 10.10.10.11:5060;branch=z9hG4bK4A8C.F725.2C494819.From: <sip:914159927717@38.98.58.148>;tag=F725.2C49.To: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=ZtFvjeFQmXvpp.Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.CSeq: 4817 BYE.User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.Supported: timer, precondition, path, replaces.Content-Length: 0..U 2009/08/20 07:11:55.145438 216.81.56.198:5080 -> 38.98.58.148:5060BYE sip:914154650027@38.98.58.148:5060 SIP/2.0.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK6m1m278rHppaF.Max-Forwards: 70.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.To: <sip:914154650027@38.98.58.148>;tag=F72E.2D4E.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257816 BYE.User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.Supported: timer, precondition, path, replaces.Reason: Q.850;cause=16;text="NORMAL_CLEARING".Content-Length: 0..U 2009/08/20 07:11:55.232064 38.98.58.148:5060 -> 216.81.56.198:5080SIP/2.0 200 OK.From: "FreeSWITCH" <sip:0000000000@216.81.56.198>;tag=038mm9ZtH6j9H.To: <sip:914154650027@38.98.58.148>;tag=F72E.2D4E.Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.CSeq: 119257816 BYE.Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK6m1m278rHppaF.Contact: <sip:914154650027@38.98.58.148:5060>.Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.Content-Length: 0..
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org