[Freeswitch-users] Media Not Heard When Bridging 2 Calls with same Gateway

Matthew Fong mattdfong at gmail.com
Thu Aug 20 00:29:08 PDT 2009


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.

--matt

interface: 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:5060
INVITE sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 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 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=ZtFvjeFQmXvpp.
To: <sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 38.98.58.148>>.
Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.
CSeq: 119257811 INVITE.
Contact: <sip:gw+epik.com at 216.81.56.198:5080;transport=udp>.
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 at 216.81.56.198<sip%3A0000000000 at 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:5080
SIP/2.0 100 Trying.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=ZtFvjeFQmXvpp.
To: <sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 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 at 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:5080
SIP/2.0 183 Session Progress.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=ZtFvjeFQmXvpp.
To: <sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 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 at 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:5080
SIP/2.0 200 OK.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=ZtFvjeFQmXvpp.
To: <sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 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 at 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:5060
ACK sip:914159927717 at 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 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=ZtFvjeFQmXvpp.
To: <sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 38.98.58.148>
>;tag=F725.2C49.
Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.
CSeq: 119257811 ACK.
Contact: <sip:gw+epik.com at 216.81.56.198:5080;transport=udp>.
Content-Length: 0.
.


U 2009/08/20 07:11:42.245678 216.81.56.198:5080 -> 38.98.58.148:5060
INVITE sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 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 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 38.98.58.148>>.
Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.
CSeq: 119257815 INVITE.
Contact: <sip:gw+epik.com at 216.81.56.198:5080;transport=udp>.
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 at 216.81.56.198<sip%3A0000000000 at 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:5080
SIP/2.0 100 Trying.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 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 at 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:5080
SIP/2.0 183 Session Progress.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 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 at 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:5080
SIP/2.0 200 OK.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 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 at 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:5060
ACK sip:914154650027 at 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 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 38.98.58.148>
>;tag=F72E.2D4E.
Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.
CSeq: 119257815 ACK.
Contact: <sip:gw+epik.com at 216.81.56.198:5080;transport=udp>.
Content-Length: 0.
.


U 2009/08/20 07:11:55.139274 38.98.58.148:5060 -> 216.81.56.198:5080
BYE sip:gw+epik.com at 216.81.56.198:5080 SIP/2.0.
From: <sip:914159927717 at 38.98.58.148 <sip%3A914159927717 at 38.98.58.148>
>;tag=F725.2C49.
To: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 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 at 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:5060
SIP/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 at 38.98.58.148 <sip%3A914159927717 at 38.98.58.148>
>;tag=F725.2C49.
To: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 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:5060
BYE sip:914154650027 at 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 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 38.98.58.148>
>;tag=F72E.2D4E.
Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.
CSeq: 119257816 BYE.
Contact: <sip:gw+epik.com at 216.81.56.198:5080;transport=udp>.
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:5080
SIP/2.0 200 OK.
From: "FreeSWITCH" <sip:0000000000 at 216.81.56.198<sip%3A0000000000 at 216.81.56.198>
>;tag=038mm9ZtH6j9H.
To: <sip:914154650027 at 38.98.58.148 <sip%3A914154650027 at 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 at 38.98.58.148:5060>.
Allow:
INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.
Content-Length: 0.
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090820/7b36c82f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list