Hello freeswitch-users, 

 

I've encountered the following problem.

Outgoing INVITE message from FS has no SDP in proxy_media mode.

(in default mode(hard proxy?), everything is working fine.)

 

test enviorment is the following:

SIP client (CSipSample)  ---> FS ---> other SIP server

 

I've configured the following configuration at FS for proxy_media mode.

 

[sip_profile]
<param name="inbound-late-negotiation" value="true"/>

 

[dialplan]

<extension name="public_extensions">
   <condition field="destination_number" expression="(.+)$">
      <action application="set" data="proxy_media=true"/>
      <action application="export" data="codec_string=${ep_codec_string}"/>
      <action application="bridge" data="sofia/trunk/$1@yyy.yyy.yyy.yyy"/>

   </condition>

</extension>

 

[freeswitch version]

 ./freeswitch  -version
FreeSWITCH version: 1.5.1b+git~20130624T105435Z~275f2cf092

 

this is INVITE message from SIP client.

 

   INVITE sip:2002@test.com SIP/2.0
   Via: SIP/2.0/UDP 192.168.2.19:41089;rport;branch=z9hG4bKPjs.6qQMadZveqMBGhgPt4VOA20eJmYm4-
   Max-Forwards: 70
   From: "2004" <sip:2004@test.com>;tag=TfVNZT3HS7yRsl8UhZfcv4zYjaHHgFfq
   To: <sip:2002@test.com>
   Contact: "2004" <sip:2004@192.168.2.19:41089>
   Call-ID: DJBhgeByGZJ7WJLzwLNtPliL1mc5vM8A
   CSeq: 32048 INVITE
   Route: <sip:xxx.xxx.xxx.xxx:5080;transport=udp;lr>
   Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
   Supported: replaces, 100rel, timer, norefersub
   Session-Expires: 1800
   Min-SE: 90
   User-Agent: CSipSimple_SC-02C-10/r2272
   Content-Type: application/sdp
   Content-Length:   340

   v=0
   o=- 3582370009 3582370009 IN IP4 192.168.2.19
   s=pjmedia
   c=IN IP4 192.168.2.19
   t=0 0
   m=audio 4000 RTP/AVP 99 0 8 101
   c=IN IP4 192.168.2.19
   a=rtcp:4001 IN IP4 192.168.2.19
   a=sendrecv
   a=rtpmap:99 SILK/24000
   a=fmtp:99 useinbandfec=0
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15

 

this is the outgoing INVITE message from FS. the message has no SDP.

 

   INVITE sip:2002@yyy.yyy.yyy.yyy SIP/2.0
   Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5090;rport;branch=z9hG4bK1Djm23v8c17vF
   Route: <sip:cmf.nhn.jp>
   Max-Forwards: 69
   From: "2004" <sip:2004@xxx.xxx.xxx.xxx>;tag=1K848K75U26Ne
   To: <sip:2002@yyy.yyy.yyy.yyy>
   Call-ID: 3b9cae19-6349-1231-80a1-3640b59986cf
   CSeq: 46354541 INVITE
   Contact: <sip:mod_sofia@xxx.xxx.xxx.xxx:5090>
   User-Agent: FreeSWITCH-mod_sofia/1.5.1b+git~20130624T105435Z~275f2cf092
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, hold, conference, refer
   Privacy: none
   Content-Length: 0
   X-FS-Support: update_display,send_info
   P-Asserted-Identity: "2004" <sip:2004@xxx.xxx.xxx.xxx>

 

Am is missing some configuration for proxy_media?

 

Thank you in advance.

 

Regards,

hkchoi