<html><body bgcolor="#FFFFFF"><div>The only way this would happen would be if this is set to proxy media not bypass. &nbsp;Are you setting both?</div><div><br></div><div>Mike</div><div><br>On Dec 1, 2009, at 10:08 AM, Juan Backson &lt;<a href="mailto:juanbackson@gmail.com">juanbackson@gmail.com</a>&gt; wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div><span style="color: rgb(0, 0, 0);">In the following trace, &nbsp;&nbsp; 102 is FS IP, 104 is calling party and 13 is called party.&nbsp; <br><br>with bypass_media, FS still changes &nbsp;&nbsp; c=IN IP4 192.168.1.102</span><br><br>Any idea why?<br style="color: rgb(0, 0, 0);">
<br style="color: rgb(0, 0, 0);"><br><a href="mailto:freeswitch@localhost.localdomain">freeswitch@localhost.localdomain</a>&gt; recv 951 bytes from udp/[192.168.1.104]:5060 at 22:56:33.782715:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>
&nbsp;&nbsp; INVITE <a href="mailto:sip%3A90964111@192.168.1.102">sip:90964111@192.168.1.102</a> SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 192.168.1.104:5060;branch=z9hG4bK003c8e1bf8dcde11a854001a805656a5;rport<br>&nbsp;&nbsp; From: &lt;<a href="mailto:sip%3APhonerLite@192.168.1.102">sip:PhonerLite@192.168.1.102</a>&gt;;tag=786224322<br>
&nbsp;&nbsp; To: &lt;<a href="mailto:sip%3A90964111@192.168.1.102">sip:90964111@192.168.1.102</a>&gt;<br>&nbsp;&nbsp; Call-ID: <a href="mailto:003C8E1B-F8DC-DE11-A853-001A805656A5@192.168.1.104">003C8E1B-F8DC-DE11-A853-001A805656A5@192.168.1.104</a><br>
&nbsp;&nbsp; CSeq: 37 INVITE<br>&nbsp;&nbsp; Contact: &lt;<a href="http://sip:PhonerLite@192.168.1.104:5060">sip:PhonerLite@192.168.1.104:5060</a>&gt;<br>&nbsp;&nbsp; Content-Type: application/sdp<br>&nbsp;&nbsp; Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE<br>
&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; Supported: 100rel, replaces<br>&nbsp;&nbsp; User-Agent: SIPPER for PhonerLite<br>&nbsp;&nbsp; Content-Length:&nbsp;&nbsp; 397<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; v=0<br>&nbsp;&nbsp; o=- 3393406017 0 IN IP4 192.168.1.104<br>&nbsp;&nbsp; s=SIPPER for PhonerLite<br>&nbsp;&nbsp; c=IN IP4 192.168.1.104<br>
&nbsp;&nbsp; t=0 0<br>&nbsp;&nbsp; m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101<br>&nbsp;&nbsp; a=rtpmap:8 PCMA/8000<br>&nbsp;&nbsp; a=rtpmap:0 PCMU/8000<br>&nbsp;&nbsp; a=rtpmap:2 G726-32/8000<br>&nbsp;&nbsp; a=rtpmap:3 GSM/8000<br>&nbsp;&nbsp; a=rtpmap:97 iLBC/8000<br>&nbsp;&nbsp; a=rtpmap:110 speex/8000<br>
&nbsp;&nbsp; a=rtpmap:111 speex/16000<br>&nbsp;&nbsp; a=rtpmap:9 G722/8000<br>&nbsp;&nbsp; a=rtpmap:101 telephone-event/8000<br>&nbsp;&nbsp; a=fmtp:101 0-16<br>&nbsp;&nbsp; a=sendrecv<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>send 350 bytes to udp/[192.168.1.104]:5060 at 22:56:33.783145:<br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 100 Trying<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 192.168.1.104:5060;branch=z9hG4bK003c8e1bf8dcde11a854001a805656a5;rport=5060<br>&nbsp;&nbsp; From: &lt;<a href="mailto:sip%3APhonerLite@192.168.1.102">sip:PhonerLite@192.168.1.102</a>&gt;;tag=786224322<br>
&nbsp;&nbsp; To: &lt;<a href="mailto:sip%3A90964111@192.168.1.102">sip:90964111@192.168.1.102</a>&gt;<br>&nbsp;&nbsp; Call-ID: <a href="mailto:003C8E1B-F8DC-DE11-A853-001A805656A5@192.168.1.104">003C8E1B-F8DC-DE11-A853-001A805656A5@192.168.1.104</a><br>
&nbsp;&nbsp; CSeq: 37 INVITE<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095<br>&nbsp;&nbsp; Content-Length: 0<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>2009-12-02 06:56:33.783162 [NOTICE] switch_channel.c:613 New Channel sofia/internal/<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a> [d4233c9a-ee3b-40d4-910d-3b1579f9a273]<br>
2009-12-02 06:56:33.783162 [DEBUG] sofia.c:3359 Channel sofia/internal/<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a> entering state [received][100]<br>2009-12-02 06:56:33.783162 [DEBUG] sofia.c:3366 Remote SDP:<br>
v=0<br>o=- 3393406017 0 IN IP4 192.168.1.104<br>s=SIPPER for PhonerLite<br>c=IN IP4 192.168.1.104<br>t=0 0<br>m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:2 G726-32/8000<br>
a=rtpmap:3 GSM/8000<br>a=rtpmap:97 iLBC/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:111 speex/16000<br>a=rtpmap:9 G722/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br><br><br>EXECUTE sofia/internal/<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a> info()<br>
2009-12-02 06:56:33.825198 [INFO] mod_dptools.c:955 CHANNEL_DATA:<br>Channel-State: [CS_EXECUTE]<br>Channel-State-Number: [4]<br>Channel-Name: [sofia/internal/<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a>]<br>
Unique-ID: [d4233c9a-ee3b-40d4-910d-3b1579f9a273]<br>Call-Direction: [inbound]<br>Presence-Call-Direction: [inbound]<br>Answer-State: [ringing]<br>Caller-Username: [PhonerLite]<br>Caller-Dialplan: [class4]<br>Caller-Caller-ID-Name: [PhonerLite]<br>
Caller-Caller-ID-Number: [PhonerLite]<br>Caller-Network-Addr: [192.168.1.104]<br>Caller-Destination-Number: [90964111]<br>Caller-Unique-ID: [d4233c9a-ee3b-40d4-910d-3b1579f9a273]<br>Caller-Source: [mod_sofia]<br>Caller-Context: [default]<br>
Caller-Channel-Name: [sofia/internal/<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a>]<br>Caller-Profile-Index: [1]<br>Caller-Profile-Created-Time: [1259708193783162]<br>Caller-Channel-Created-Time: [1259708193783162]<br>
Caller-Channel-Answered-Time: [0]<br>Caller-Channel-Progress-Time: [0]<br>Caller-Channel-Progress-Media-Time: [0]<br>Caller-Channel-Hangup-Time: [0]<br>Caller-Channel-Transfer-Time: [0]<br>Caller-Screen-Bit: [true]<br>Caller-Privacy-Hide-Name: [false]<br>
Caller-Privacy-Hide-Number: [false]<br>variable_sip_received_ip: [192.168.1.104]<br>variable_sip_received_port: [5060]<br>variable_sip_via_protocol: [udp]<br>variable_sip_from_user: [PhonerLite]<br>variable_sip_from_uri: [<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a>]<br>
variable_sip_from_host: [192.168.1.102]<br>variable_sip_from_user_stripped: [PhonerLite]<br>variable_sip_from_tag: [786224322]<br>variable_sofia_profile_name: [internal]<br>variable_sip_req_user: [90964111]<br>variable_sip_req_uri: [<a href="mailto:90964111@192.168.1.102">90964111@192.168.1.102</a>]<br>
variable_sip_req_host: [192.168.1.102]<br>variable_sip_to_user: [90964111]<br>variable_sip_to_uri: [<a href="mailto:90964111@192.168.1.102">90964111@192.168.1.102</a>]<br>variable_sip_to_host: [192.168.1.102]<br>variable_sip_contact_port: [5060]<br>
variable_sip_contact_uri: [<a href="http://PhonerLite@192.168.1.104:5060">PhonerLite@192.168.1.104:5060</a>]<br>variable_sip_contact_host: [192.168.1.104]<br>variable_channel_name: [sofia/internal/<a href="mailto:PhonerLite@192.168.1.102">PhonerLite@192.168.1.102</a>]<br>
variable_sip_call_id: [<a href="mailto:003C8E1B-F8DC-DE11-A853-001A805656A5@192.168.1.104">003C8E1B-F8DC-DE11-A853-001A805656A5@192.168.1.104</a>]<br>variable_sip_user_agent: [SIPPER for PhonerLite]<br>variable_sip_via_host: [192.168.1.104]<br>
variable_sip_via_port: [5060]<br><span style="color: rgb(255, 0, 0);">variable_bypass_media: [true]</span><br>variable_proxy_media: [true]<br>variable_sip_via_rport: [5060]<br>variable_max_forwards: [70]<br>variable_switch_r_sdp: [v=0<br>
o=- 3393406017 0 IN IP4 192.168.1.104<br>s=SIPPER for PhonerLite<br>c=IN IP4 192.168.1.104<br>t=0 0<br>m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:2 G726-32/8000<br>
a=rtpmap:3 GSM/8000<br>a=rtpmap:97 iLBC/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:111 speex/16000<br>a=rtpmap:9 G722/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>]<br>variable_ep_codec_string: [PCMA@8000h,PCMU@8000h]<br>
variable_endpoint_disposition: [RECEIVED_NOMEDIA]<br>variable_effective_caller_id_number: [PhonerLite]<br>variable_effective_caller_id_name: [PhonerLite]<br>variable_&lt;![CDATA[sip_h_Remote-Party-ID: [PhonerLite&gt;&lt;sip:]<br>
variable_routing_digit: [90964111]<br>variable_continue_on_fail: [true]<br>variable_hangup_after_bridge: [true]<br>variable_sip_contact_user: [PhonerLite]<br><br>&nbsp;<br>2009-12-02 06:56:33.842639 [DEBUG] sofia_glue.c:1322 sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a> Patched SDP<br>
---<br>v=0<br>o=- 3393406017 0 IN IP4 192.168.1.104<br>s=SIPPER for PhonerLite<br>c=IN IP4 192.168.1.104<br>t=0 0<br>m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:2 G726-32/8000<br>
a=rtpmap:3 GSM/8000<br>a=rtpmap:97 iLBC/8000<br>a=rtpmap:110 speex/8000<br>a=rtpmap:111 speex/16000<br>a=rtpmap:9 G722/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br><br>+++<br>v=0<br>o=- 3393406017 0 IN IP4 192.168.1.104<br>
s=SIPPER for PhonerLite<br>c=IN IP4 192.168.1.102<br>t=0 0<br>m=audio 34846 RTP/AVP 8 0 2 3 97 110 111 9 101<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:2 G726-32/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:97 iLBC/8000<br>
a=rtpmap:110 speex/8000<br>a=rtpmap:111 speex/16000<br>a=rtpmap:9 G722/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br><br>2009-12-02 06:56:33.842639 [DEBUG] mod_sofia.c:111 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State Change CS_INIT -&gt; CS_ROUTING<br>
2009-12-02 06:56:33.842639 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a> [BREAK]<br>2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:330 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State INIT going to sleep<br>
2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) Running State Change CS_ROUTING<br>2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State ROUTING<br>
2009-12-02 06:56:33.842639 [DEBUG] mod_sofia.c:130 sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a> SOFIA ROUTING<br>2009-12-02 06:56:33.842639 [DEBUG] switch_ivr_originate.c:66 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA<br>
2009-12-02 06:56:33.842639 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a> [BREAK]<br>2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:333 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State ROUTING going to sleep<br>
2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) Running State Change CS_CONSUME_MEDIA<br>2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:352 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State CONSUME_MEDIA<br>
2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:352 (sofia/internal/<a href="http://90964111@192.168.1.116:9390">90964111@192.168.1.116:9390</a>) State CONSUME_MEDIA going to sleep<br>send 1159 bytes to udp/[192.168.1.116]:9390 at 22:56:33.843976:<br>
&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; INVITE <a href="http://sip:90964111@192.168.1.116:9390">sip:90964111@192.168.1.116:9390</a> SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKaNKUU3DjZjB1g<br>
&nbsp;&nbsp; Max-Forwards: 69<br>&nbsp;&nbsp; From: "PhonerLite" &lt;<a href="mailto:sip%3APhonerLite@192.168.1.102">sip:PhonerLite@192.168.1.102</a>&gt;;tag=8tH6Xjt2XaU9F<br>&nbsp;&nbsp; To: &lt;<a href="http://sip:90964111@192.168.1.116:9390">sip:90964111@192.168.1.116:9390</a>&gt;<br>
&nbsp;&nbsp; Call-ID: 9d052856-596f-122d-1b98-0022190e9476<br>&nbsp;&nbsp; CSeq: 123735760 INVITE<br>&nbsp;&nbsp; Contact: &lt;<a href="http://sip:PhonerLite@192.168.1.102:5060">sip:PhonerLite@192.168.1.102:5060</a>&gt;<br>&nbsp;&nbsp; User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095<br>
&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<br>&nbsp;&nbsp; Supported: timer, precondition, path, replaces<br>&nbsp;&nbsp; Allow-Events: talk, refer<br>&nbsp;&nbsp; Content-Type: application/sdp<br>&nbsp;&nbsp; Content-Disposition: session<br>
&nbsp;&nbsp; Content-Length: 404<br>&nbsp;&nbsp; Remote-Party-ID: "PhonerLite" &lt;<a href="mailto:sip%3APhonerLite@192.168.1.102">sip:PhonerLite@192.168.1.102</a>&gt;;party=calling;screen=yes;privacy=off<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; v=0<br>&nbsp;&nbsp; <span style="color: rgb(255, 0, 0);">o=- 3393406017 6776849011794265802 IN IP4 192.168.1.104</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">&nbsp;&nbsp; s=SIPPER for PhonerLite</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">&nbsp;&nbsp; c=IN IP4 192.168.1.102</span><br>&nbsp;&nbsp; t=0 0<br>&nbsp;&nbsp; m=audio 34846 RTP/AVP 8 0 2 3 97 110 111 9 101<br>
&nbsp;&nbsp; a=rtpmap:8 PCMA/8000<br>&nbsp;&nbsp; a=rtpmap:0 PCMU/8000<br>&nbsp;&nbsp; a=rtpmap:2 G726-32/8000<br>&nbsp;&nbsp; a=rtpmap:3 GSM/8000<br>&nbsp;&nbsp; a=rtpmap:97 iLBC/8000<br>&nbsp;&nbsp; a=rtpmap:110 speex/8000<br>&nbsp;&nbsp; a=rtpmap:111 speex/16000<br>&nbsp;&nbsp; a=rtpmap:9 G722/8000<br>
&nbsp;&nbsp; a=rtpmap:101 telephone-event/8000<br>&nbsp;&nbsp; a=fmtp:101 0-16<br><br>
</div><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>