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?<div>
<br></div><div>Below is a ngrep of the SIP interactions if it's useful. Thanks for the help.</div><div><br></div><div>--matt<br><div><br></div><div><div>interface: eth0 (<a href="http://172.24.200.0/255.255.255.0">172.24.200.0/255.255.255.0</a>)</div>
<div>filter: (ip or ip6) and ( port 5060 )</div><div><br></div><div>U 2009/08/20 07:11:34.038686 <a href="http://216.81.56.198:5080">216.81.56.198:5080</a> -> <a href="http://38.98.58.148:5060">38.98.58.148:5060</a></div>
<div>INVITE <a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.</div><div>Max-Forwards: 70.</div><div>
From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div><div>To: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>.</div>
<div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257811 INVITE.</div><div>Contact: <sip:gw+<a href="http://epik.com">epik.com</a>@216.81.56.198:5080;transport=udp>.</div><div>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.</div>
<div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.</div><div>Supported: timer, precondition, path, replaces.</div><div>Allow-Events: talk, refer.</div><div>Content-Type: application/sdp.</div>
<div>Content-Disposition: session.</div><div>Content-Length: 293.</div><div>Remote-Party-ID: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;party=calling;screen=yes;privacy=off.</div>
<div>.</div><div>v=0.</div><div>o=FreeSWITCH 1250727594 1250727595 IN IP4 216.81.56.198.</div><div>s=FreeSWITCH.</div><div>c=IN IP4 216.81.56.198.</div><div>t=0 0.</div><div>m=audio 24700 RTP/AVP 0 8 3 101 13.</div><div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:3 GSM/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-16.</div><div>a=rtpmap:13 CN/8000.</div><div>a=ptime:20.</div><div><br></div><div><br></div><div>
U 2009/08/20 07:11:34.128331 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div><div>SIP/2.0 100 Trying.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div>
<div>To: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>;tag=F725.2C49.</div><div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257811 INVITE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.</div>
<div>Contact: <<a href="http://sip:914159927717@38.98.58.148:5060">sip:914159927717@38.98.58.148:5060</a>>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:34.338105 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div>
<div>SIP/2.0 183 Session Progress.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div><div>To: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>;tag=F725.2C49.</div>
<div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257811 INVITE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.</div><div>Contact: <<a href="http://sip:914159927717@38.98.58.148:5060">sip:914159927717@38.98.58.148:5060</a>>.</div>
<div>Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 227.</div><div>.</div><div>v=0.</div><div>o=BroadSoft 23178 23178 IN IP4 10.10.10.11.</div>
<div>s=M6 Call.</div><div>c=IN IP4 38.98.58.148.</div><div>t=0 0.</div><div>m=audio 42554 RTP/AVP 0 101.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-15.</div><div>a=ptime:20.</div><div>a=sendrecv.</div>
<div>a=rtcp:6461 IN IP4 10.10.24.50.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:42.239312 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div>
<div>SIP/2.0 200 OK.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div><div>To: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>;tag=F725.2C49.</div>
<div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257811 INVITE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.</div><div>Contact: <<a href="http://sip:914159927717@38.98.58.148:5060">sip:914159927717@38.98.58.148:5060</a>>.</div>
<div>Session-Expires: 1800;refresher=uas.</div><div>Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.</div><div>Supported: timer.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 227.</div>
<div>.</div><div>v=0.</div><div>o=BroadSoft 23178 23178 IN IP4 10.10.10.11.</div><div>s=M6 Call.</div><div>c=IN IP4 38.98.58.148.</div><div>t=0 0.</div><div>m=audio 42554 RTP/AVP 0 101.</div><div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-15.</div><div>a=ptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:6461 IN IP4 10.10.24.50.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:42.240828 <a href="http://216.81.56.198:5080">216.81.56.198:5080</a> -> <a href="http://38.98.58.148:5060">38.98.58.148:5060</a></div>
<div>ACK <a href="http://sip:914159927717@38.98.58.148:5060">sip:914159927717@38.98.58.148:5060</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK3SNaXppetUKjc.</div><div>Max-Forwards: 70.</div>
<div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div><div>To: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>;tag=F725.2C49.</div>
<div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257811 ACK.</div><div>Contact: <sip:gw+<a href="http://epik.com">epik.com</a>@216.81.56.198:5080;transport=udp>.</div><div>Content-Length: 0.</div>
<div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:42.245678 <a href="http://216.81.56.198:5080">216.81.56.198:5080</a> -> <a href="http://38.98.58.148:5060">38.98.58.148:5060</a></div><div>INVITE <a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a> SIP/2.0.</div>
<div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.</div><div>Max-Forwards: 70.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div>
<div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>.</div><div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257815 INVITE.</div><div>Contact: <sip:gw+<a href="http://epik.com">epik.com</a>@216.81.56.198:5080;transport=udp>.</div>
<div>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.</div><div>Supported: timer, precondition, path, replaces.</div>
<div>Allow-Events: talk, refer.</div><div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 293.</div><div>Remote-Party-ID: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;party=calling;screen=yes;privacy=off.</div>
<div>.</div><div>v=0.</div><div>o=FreeSWITCH 1250727504 1250727505 IN IP4 216.81.56.198.</div><div>s=FreeSWITCH.</div><div>c=IN IP4 216.81.56.198.</div><div>t=0 0.</div><div>m=audio 24798 RTP/AVP 0 8 3 101 13.</div><div>a=rtpmap:0 PCMU/8000.</div>
<div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:3 GSM/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-16.</div><div>a=rtpmap:13 CN/8000.</div><div>a=ptime:20.</div><div><br></div><div><br></div><div>
U 2009/08/20 07:11:42.333184 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div><div>SIP/2.0 100 Trying.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div>
<div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>;tag=F72E.2D4E.</div><div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257815 INVITE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.</div>
<div>Contact: <<a href="http://sip:914154650027@38.98.58.148:5060">sip:914154650027@38.98.58.148:5060</a>>.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:42.514501 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div>
<div>SIP/2.0 183 Session Progress.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div><div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>;tag=F72E.2D4E.</div>
<div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257815 INVITE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.</div><div>Contact: <<a href="http://sip:914154650027@38.98.58.148:5060">sip:914154650027@38.98.58.148:5060</a>>.</div>
<div>Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 225.</div><div>.</div><div>v=0.</div><div>o=BroadSoft 2035 2035 IN IP4 10.10.10.11.</div>
<div>s=M6 Call.</div><div>c=IN IP4 38.98.58.148.</div><div>t=0 0.</div><div>m=audio 46520 RTP/AVP 0 101.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-15.</div><div>a=ptime:20.</div><div>a=sendrecv.</div>
<div>a=rtcp:6451 IN IP4 10.10.24.50.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:46.190607 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div>
<div>SIP/2.0 200 OK.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div><div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>;tag=F72E.2D4E.</div>
<div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257815 INVITE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.</div><div>Contact: <<a href="http://sip:914154650027@38.98.58.148:5060">sip:914154650027@38.98.58.148:5060</a>>.</div>
<div>Session-Expires: 1800;refresher=uas.</div><div>Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.</div><div>Supported: timer.</div><div>Content-Type: application/sdp.</div><div>Content-Length: 225.</div>
<div>.</div><div>v=0.</div><div>o=BroadSoft 2035 2035 IN IP4 10.10.10.11.</div><div>s=M6 Call.</div><div>c=IN IP4 38.98.58.148.</div><div>t=0 0.</div><div>m=audio 46520 RTP/AVP 0 101.</div><div>a=rtpmap:101 telephone-event/8000.</div>
<div>a=fmtp:101 0-15.</div><div>a=ptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:6451 IN IP4 10.10.24.50.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:46.191161 <a href="http://216.81.56.198:5080">216.81.56.198:5080</a> -> <a href="http://38.98.58.148:5060">38.98.58.148:5060</a></div>
<div>ACK <a href="http://sip:914154650027@38.98.58.148:5060">sip:914154650027@38.98.58.148:5060</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK5B8U0crNmD0QK.</div><div>Max-Forwards: 70.</div>
<div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div><div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>;tag=F72E.2D4E.</div>
<div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257815 ACK.</div><div>Contact: <sip:gw+<a href="http://epik.com">epik.com</a>@216.81.56.198:5080;transport=udp>.</div><div>Content-Length: 0.</div>
<div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:55.139274 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div><div>BYE sip:gw+<a href="http://epik.com">epik.com</a>@<a href="http://216.81.56.198:5080">216.81.56.198:5080</a> SIP/2.0.</div>
<div>From: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>;tag=F725.2C49.</div><div>To: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div>
<div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 4817 BYE.</div><div>Max-Forwards: 70.</div><div>Via: SIP/2.0/UDP 38.98.58.148:5060;branch=z9hG4bK4A8C.F725.2C494819.943A6226.00000BC3.</div><div>Via: SIP/2.0/UDP 10.10.10.11:5060;branch=z9hG4bK4A8C.F725.2C494819.</div>
<div>Contact: <<a href="http://sip:914159927717@38.98.58.148:5060">sip:914159927717@38.98.58.148:5060</a>>.</div><div>Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.</div><div>
Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:55.140390 <a href="http://216.81.56.198:5080">216.81.56.198:5080</a> -> <a href="http://38.98.58.148:5060">38.98.58.148:5060</a></div>
<div>SIP/2.0 200 OK.</div><div>Via: SIP/2.0/UDP 38.98.58.148:5060;branch=z9hG4bK4A8C.F725.2C494819.943A6226.00000BC3.</div><div>Via: SIP/2.0/UDP 10.10.10.11:5060;branch=z9hG4bK4A8C.F725.2C494819.</div><div>From: <<a href="mailto:sip%3A914159927717@38.98.58.148">sip:914159927717@38.98.58.148</a>>;tag=F725.2C49.</div>
<div>To: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=ZtFvjeFQmXvpp.</div><div>Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 4817 BYE.</div>
<div>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.</div><div>Supported: timer, precondition, path, replaces.</div>
<div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:55.145438 <a href="http://216.81.56.198:5080">216.81.56.198:5080</a> -> <a href="http://38.98.58.148:5060">38.98.58.148:5060</a></div>
<div>BYE <a href="http://sip:914154650027@38.98.58.148:5060">sip:914154650027@38.98.58.148:5060</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK6m1m278rHppaF.</div><div>Max-Forwards: 70.</div>
<div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div><div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>;tag=F72E.2D4E.</div>
<div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257816 BYE.</div><div>Contact: <sip:gw+<a href="http://epik.com">epik.com</a>@216.81.56.198:5080;transport=udp>.</div><div>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-14417.</div>
<div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO.</div><div>Supported: timer, precondition, path, replaces.</div><div>Reason: Q.850;cause=16;text="NORMAL_CLEARING".</div>
<div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2009/08/20 07:11:55.232064 <a href="http://38.98.58.148:5060">38.98.58.148:5060</a> -> <a href="http://216.81.56.198:5080">216.81.56.198:5080</a></div>
<div>SIP/2.0 200 OK.</div><div>From: "FreeSWITCH" <<a href="mailto:sip%3A0000000000@216.81.56.198">sip:0000000000@216.81.56.198</a>>;tag=038mm9ZtH6j9H.</div><div>To: <<a href="mailto:sip%3A914154650027@38.98.58.148">sip:914154650027@38.98.58.148</a>>;tag=F72E.2D4E.</div>
<div>Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.</div><div>CSeq: 119257816 BYE.</div><div>Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK6m1m278rHppaF.</div><div>Contact: <<a href="http://sip:914154650027@38.98.58.148:5060">sip:914154650027@38.98.58.148:5060</a>>.</div>
<div>Allow: INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.</div><div>Content-Length: 0.</div><div>.</div></div></div>