For my gateway, I had to set ignore_early_media=true.

From: Mathieu Rene 
Sent: Thursday, August 20, 2009 7:00 AM
To: [email protected] 
Subject: Re: [Freeswitch-users] Media Not Heard When Bridging 2 Calls withsame 
Gateway


Hi


How are you bridging the calls in FS (which api call or C function are you 
using)? 


Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
[email protected]








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.


  --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:[email protected] SIP/2.0.
  Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK2gvHUU5aXjXZg.
  Max-Forwards: 70.
  From: "FreeSWITCH" <sip:[email protected]>;tag=ZtFvjeFQmXvpp.
  To: <sip:[email protected]>.
  Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.
  CSeq: 119257811 INVITE.
  Contact: <sip:[email protected]: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:[email protected]>;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:[email protected]>;tag=ZtFvjeFQmXvpp.
  To: <sip:[email protected]>;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:[email protected]: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:[email protected]>;tag=ZtFvjeFQmXvpp.
  To: <sip:[email protected]>;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:[email protected]: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:[email protected]>;tag=ZtFvjeFQmXvpp.
  To: <sip:[email protected]>;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:[email protected]: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:[email protected]:5060 SIP/2.0.
  Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK3SNaXppetUKjc.
  Max-Forwards: 70.
  From: "FreeSWITCH" <sip:[email protected]>;tag=ZtFvjeFQmXvpp.
  To: <sip:[email protected]>;tag=F725.2C49.
  Call-ID: 88c12fa5-07fb-122d-cc93-00e0813368fe.
  CSeq: 119257811 ACK.
  Contact: <sip:[email protected]: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:[email protected] SIP/2.0.
  Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK42e3yH7HQ494Q.
  Max-Forwards: 70.
  From: "FreeSWITCH" <sip:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>.
  Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.
  CSeq: 119257815 INVITE.
  Contact: <sip:[email protected]: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:[email protected]>;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:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>;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:[email protected]: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:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>;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:[email protected]: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:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>;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:[email protected]: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:[email protected]:5060 SIP/2.0.
  Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK5B8U0crNmD0QK.
  Max-Forwards: 70.
  From: "FreeSWITCH" <sip:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>;tag=F72E.2D4E.
  Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.
  CSeq: 119257815 ACK.
  Contact: <sip:[email protected]: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:[email protected]:5080 SIP/2.0.
  From: <sip:[email protected]>;tag=F725.2C49.
  To: "FreeSWITCH" <sip:[email protected]>;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:[email protected]: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:[email protected]>;tag=F725.2C49.
  To: "FreeSWITCH" <sip:[email protected]>;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:[email protected]:5060 SIP/2.0.
  Via: SIP/2.0/UDP 216.81.56.198:5080;rport;branch=z9hG4bK6m1m278rHppaF.
  Max-Forwards: 70.
  From: "FreeSWITCH" <sip:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>;tag=F72E.2D4E.
  Call-ID: 8da57c9a-07fb-122d-cc93-00e0813368fe.
  CSeq: 119257816 BYE.
  Contact: <sip:[email protected]: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:[email protected]>;tag=038mm9ZtH6j9H.
  To: <sip:[email protected]>;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:[email protected]:5060>.
  Allow: 
INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATE.
  Content-Length: 0.
  .
  _______________________________________________
  FreeSWITCH-users mailing list
  [email protected]
  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
[email protected]
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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to