[Freeswitch-users] Mismatched video port number in bridge after answer

Cindy Leung cinthia721 at gmail.com
Tue Oct 18 04:37:39 MSD 2011


Hello all,

I'm have 1.0.head (git-e463321 2011-10-05 19-13-21 -0300) installed and running.

I am able to get video both ways if I send the call straight to bridge, like this.
  <extension name="name1">
    <condition field="destination_number" expression="^2015">
        <action application="set" data="bypass_media=true"/>
        <action application="bridge" data="sofia/${use_profile}/2001:2001 at dst.proxy.com"/>
    </condition>
  </extension>

But I'm not getting video in either direction (audio is fine) if I want to get digits from the caller (i.e, a number that is going to be the final destination number.)
  <extension name="name2">
    <condition field="destination_number" expression="^(2014)$">
        <action application="answer"/>
        <action application="sleep" data="1500"/>
        <action application="spandsp_start_dtmf" />
        <action application="read" data="4 5 ivr/Welcome.wav conf_id 10000 #"/>
        <action application="spandsp_stop_dtmf"/>
        <action application="set" data="bypass_media=true"/>
        <action application="bridge" data="sofia/${use_profile}/${conf_id}@dst.proxy.com"/>
    </condition>
  </extension>


Here's the tshark capture.  I'm sorry if this is a repeat.  I tried to search the mailing list but I couldn't find anything.
Any suggestion is welcome.  TIA!!

1  <caller's IP> -> <freeswitch IP> SIP/SDP Request: INVITE sip:2014 at my.freeswitch.com, with session description
	c= contains caller's IP
	m=audio 26646 RTP/AVP 0 8 18 101
	m=video 30114 RTP/AVP 123 124

2  <freeswitch IP> -> <caller's IP> SIP Status: 100 Trying

3  <freeswitch IP> -> <caller's IP> SIP/SDP Status: 200 OK, with session description
4  <freeswitch IP> -> <caller's IP> SIP/SDP Status: 200 OK, with session description
	c= contains FS's IP
	m=audio 21098 RTP/AVP 0 101
	m=video 28620 RTP/AVP 123

5  <caller's IP> -> <freeswitch IP> SIP Request: ACK sip:2014@<freeswitch IP>:5060;transport=tcp
6  <caller's IP> -> <freeswitch IP> SIP Request: ACK sip:2014@<freeswitch IP>:5060;transport=tcp



7  <freeswitch IP> -> <dst proxy ip> SIP/SDP Request: INVITE sip:2001 at dst.proxy.com, with session description
	c= contains FS's IP
	m=audio 21402 RTP/AVP 0 8 101 13
	m=video 22854 RTP/AVP 98

8  <dst proxy ip> -> <freeswitch IP> SIP Status: 100 Giving a try
9  <dst proxy ip> -> <freeswitch IP> SIP Status: 180 Ringing
10 <dst proxy ip> -> <freeswitch IP> SIP/SDP Status: 200 OK, with session description
	c= contains dst proxy's IP
	m=audio 29462 RTP/AVP 0 8 101
	m=video 26506 RTP/AVP 98

11 <freeswitch IP> -> <dst proxy ip> SIP Request: ACK sip:10.10.0.12:5060



12 <freeswitch IP> -> <dst proxy ip> SIP/SDP Request: INVITE sip:10.10.0.12:5060, in-dialog, with session description
	c= contains the caller's IP
	m=audio 26646 RTP/AVP 0 8 101
	m=video 22854 RTP/AVP 98

13 <dst proxy ip> -> <freeswitch IP> SIP Status: 100 Giving a try
14 <dst proxy ip> -> <freeswitch IP> SIP/SDP Status: 200 OK, with session description
	c= contains dst proxy's IP
	m=audio 29462 RTP/AVP 0 8 101
	m=video 26506 RTP/AVP 98

15 <freeswitch IP> -> <dst proxy ip> SIP Request: ACK sip:<some ip>:5060



16 <freeswitch IP> -> <caller's IP> SIP/SDP Request: INVITE sip:2060@<some ip>:40731;transport=TCP, in-dialog, with session description
	c= contains dst proxy's IP
	m=audio 29462 RTP/AVP 0 8 101
	m=video 28620 RTP/AVP 123

17 <caller's IP> -> <freeswitch IP> SIP Status: 100 Giving a try
18 <caller's IP> -> <freeswitch IP> SIP/SDP Status: 200 OK, with session description
	c= contains the caller's IP
	m=audio 26646 RTP/AVP 0 8 101
	m=video 30114 RTP/AVP 123

19 <freeswitch IP> -> <caller's IP> SIP Request: ACK sip:2060@<some ip>:40731;transport=TCP



20 <caller's IP> -> <freeswitch IP> SIP Request: BYE sip:2014@<freeswitch IP>:5060;transport=tcp
21 <freeswitch IP> -> <caller's IP> SIP Status: 200 OK
22 <freeswitch IP> -> <dst proxy ip> SIP Request: BYE sip:<some ip>:5060
23 <dst proxy ip> -> <freeswitch IP> SIP Status: 200 OK




Cindy


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list