[Freeswitch-users] freeswitch changes c= to FS's IP with bypass_media=true

Juan Backson juanbackson at gmail.com
Tue Dec 1 19:11:37 PST 2009


Hi,

I also did try to set only bypass_media, but it still does not work。
freeswitch still modifies the c= line, causing the call to fail.

Could someone please help?


send 1155 bytes to udp/[192.168.1.13]:5060 at 10:56:57.516650:
   ------------------------------------------------------------------------
   INVITE sip:90964111 at 192.168.1.13:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKmvSrSZB8jFt6a
   Max-Forwards: 69
   From: "PhonerLite"
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;tag=jaZ7N37atF3tr
   To: <sip:90964111 at 192.168.1.13:5060>
   Call-ID: 40563247-59d4-122d-ff84-0022190e9476
   CSeq: 123757372 INVITE
   Contact: <sip:PhonerLite at 192.168.1.102:5060>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, refer
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 402
   Remote-Party-ID: "PhonerLite"
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;party=calling;screen=yes;privacy=off

   v=0
   o=- 794697697 5289748556544955553 IN IP4 192.168.1.104
   s=SIPPER for PhonerLite
   c=IN IP4 192.168.1.104
   t=0 0
   m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101
   a=rtpmap:8 PCMA/8000
   a=rtpmap:0 PCMU/8000
   a=rtpmap:2 G726-32/8000
   a=rtpmap:3 GSM/8000
   a=rtpmap:97 iLBC/8000
   a=rtpmap:110 speex/8000
   a=rtpmap:111 speex/16000
   a=rtpmap:9 G722/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   ------------------------------------------------------------------------
2009-12-02 18:56:57.516831 [DEBUG] mod_sofia.c:111 (sofia/external_1/
90964111 at 192.168.1.13:5060) State Change CS_INIT -> CS_ROUTING
2009-12-02 18:56:57.516831 [DEBUG] switch_core_session.c:932 Send signal
sofia/external_1/90964111 at 192.168.1.13:5060 [BREAK]
2009-12-02 18:56:57.516831 [DEBUG] sofia.c:3359 Channel sofia/external_1/
90964111 at 192.168.1.13:5060 entering state [calling][0]
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:330
(sofia/external_1/90964111 at 192.168.1.13:5060) State INIT going to sleep
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:306
(sofia/external_1/90964111 at 192.168.1.13:5060) Running State Change
CS_ROUTING
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:333
(sofia/external_1/90964111 at 192.168.1.13:5060) State ROUTING
2009-12-02 18:56:57.516831 [DEBUG] mod_sofia.c:130 sofia/external_1/
90964111 at 192.168.1.13:5060 SOFIA ROUTING
2009-12-02 18:56:57.516831 [DEBUG] switch_ivr_originate.c:66
(sofia/external_1/90964111 at 192.168.1.13:5060) State Change CS_ROUTING ->
CS_CONSUME_MEDIA
2009-12-02 18:56:57.516831 [DEBUG] switch_core_session.c:932 Send signal
sofia/external_1/90964111 at 192.168.1.13:5060 [BREAK]
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:333
(sofia/external_1/90964111 at 192.168.1.13:5060) State ROUTING going to sleep
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:306
(sofia/external_1/90964111 at 192.168.1.13:5060) Running State Change
CS_CONSUME_MEDIA
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:352
(sofia/external_1/90964111 at 192.168.1.13:5060) State CONSUME_MEDIA
2009-12-02 18:56:57.516831 [DEBUG] switch_core_state_machine.c:352
(sofia/external_1/90964111 at 192.168.1.13:5060) State CONSUME_MEDIA going to
sleep
recv 283 bytes from udp/[192.168.1.13]:5060 at 10:56:57.721536:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKmvSrSZB8jFt6a
   From: PhonerLite
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;tag=jaZ7N37atF3tr
   To: <sip:90964111 at 192.168.1.13:5060>
   Call-ID: 40563247-59d4-122d-ff84-0022190e9476
   CSeq: 123757372 INVITE
   Content-Length: 0

   ------------------------------------------------------------------------
recv 330 bytes from udp/[192.168.1.13]:5060 at 10:56:57.736450:
   ------------------------------------------------------------------------
   SIP/2.0 180 Ringing
   Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKmvSrSZB8jFt6a
   From: PhonerLite
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;tag=jaZ7N37atF3tr
   To: <sip:90964111 at 192.168.1.13:5060>;tag=8849584
   Call-ID: 40563247-59d4-122d-ff84-0022190e9476
   CSeq: 123757372 INVITE
   Contact: <sip:192.168.1.13:5060>
   Content-Length: 0

   ------------------------------------------------------------------------
2009-12-02 18:56:57.736234 [DEBUG] sofia.c:3359 Channel sofia/external_1/
90964111 at 192.168.1.13:5060 entering state [proceeding][180]
2009-12-02 18:56:57.736234 [NOTICE] sofia.c:3423 Ring-Ready
sofia/external_1/90964111 at 192.168.1.13:5060!
2009-12-02 18:56:57.736234 [DEBUG] sofia.c:3432 sofia/external_1/
PhonerLite at 192.168.1.102 receive message [RINGING]
2009-12-02 18:56:57.736234 [NOTICE] mod_sofia.c:1461 Ring-Ready
sofia/external_1/PhonerLite at 192.168.1.102!
2009-12-02 18:56:57.736234 [DEBUG] switch_core_session.c:630 Send signal
sofia/external_1/PhonerLite at 192.168.1.102 [BREAK]
send 618 bytes to udp/[192.168.1.104]:5060 at 10:56:57.737121:
   ------------------------------------------------------------------------
   SIP/2.0 180 Ringing
   Via: SIP/2.0/UDP 192.168.1.104:5060
;branch=z9hG4bK000be0bd5cddde1180d2001a805656a5;rport=5060
   From: <sip:PhonerLite at 192.168.1.102 <sip%3APhonerLite at 192.168.1.102>
>;tag=2454193703
   To: <sip:90964111 at 192.168.1.102 <sip%3A90964111 at 192.168.1.102>
>;tag=FFKXgjN02m02N
   Call-ID: 000BE0BD-5CDD-DE11-80D1-001A805656A5 at 192.168.1.104
   CSeq: 15 INVITE
   Contact: <sip:90964111 at 192.168.1.102:5060;transport=udp>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, refer
   Content-Length: 0

   ------------------------------------------------------------------------
2009-12-02 18:56:57.737317 [DEBUG] switch_ivr_originate.c:1931
sofia/external_1/PhonerLite at 192.168.1.102 receive message [RINGING]
2009-12-02 18:56:57.737317 [DEBUG] sofia.c:3359 Channel sofia/external_1/
PhonerLite at 192.168.1.102 entering state [early][180]
2009-12-02 18:56:57.737317 [DEBUG] switch_core_session.c:630 Send signal
sofia/external_1/PhonerLite at 192.168.1.102 [BREAK]
2009-12-02 18:56:57.737317 [NOTICE] switch_ivr_originate.c:1931 Ring Ready
sofia/external_1/PhonerLite at 192.168.1.102!
recv 722 bytes from udp/[192.168.1.13]:5060 at 10:56:59.381338:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKmvSrSZB8jFt6a
   From: PhonerLite
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;tag=jaZ7N37atF3tr
   To: <sip:90964111 at 192.168.1.13:5060>;tag=8849584
   Call-ID: 40563247-59d4-122d-ff84-0022190e9476
   CSeq: 123757372 INVITE
   Contact: <sip:192.168.1.13:5060>
   Supported: replaces
   Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK,
UPDATE, MESSAGE
   Content-Type: application/sdp
   Content-Length: 256

   v=0
   o=sdp_admin 11293200 10985190 IN IP4 192.168.1.13
   s=A conversation
   c=IN IP4 192.168.1.13
   t=0 0
   m=audio 10096 RTP/AVP 8 0 9 101
   a=rtpmap:8 PCMA/8000
   a=rtpmap:0 PCMU/8000
   a=rtpmap:9 G722/16000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   ------------------------------------------------------------------------
send 373 bytes to udp/[192.168.1.13]:5060 at 10:56:59.381739:
   ------------------------------------------------------------------------
   ACK sip:192.168.1.13:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKN5jHUtvBgrgSp
   Max-Forwards: 70
   From: "PhonerLite"
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;tag=jaZ7N37atF3tr
   To: <sip:90964111 at 192.168.1.13:5060>;tag=8849584
   Call-ID: 40563247-59d4-122d-ff84-0022190e9476
   CSeq: 123757372 ACK
   Contact: <sip:PhonerLite at 192.168.1.102:5060>
   Content-Length: 0

   ------------------------------------------------------------------------
2009-12-02 18:56:59.381828 [DEBUG] sofia.c:3359 Channel sofia/external_1/
90964111 at 192.168.1.13:5060 entering state [ready][200]
2009-12-02 18:56:59.381828 [DEBUG] sofia.c:3366 Remote SDP:
v=0
o=sdp_admin 11293200 10985190 IN IP4 192.168.1.13
s=A conversation
c=IN IP4 192.168.1.13
t=0 0
m=audio 10096 RTP/AVP 8 0 9 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

2009-12-02 18:56:59.381828 [DEBUG] switch_channel.c:1935 Send signal
sofia/external_1/PhonerLite at 192.168.1.102 [BREAK]
2009-12-02 18:56:59.381828 [NOTICE] sofia.c:3834 Channel [sofia/external_1/
90964111 at 192.168.1.13:5060] has been answered
2009-12-02 18:56:59.381828 [DEBUG] switch_channel.c:1971 sofia/external_1/
90964111 at 192.168.1.13:5060 execute on answer: incre_call_stat(203 621 201
256 25 2591585 1)
EXECUTE sofia/external_1/90964111 at 192.168.1.13:5060 incre_call_stat(203 621
201 256 25 2591585 1)

2009-12-02 18:56:59.382721 [NOTICE] switch_ivr_originate.c:2152 Channel
[sofia/external_1/PhonerLite at 192.168.1.102] has been answered
2009-12-02 18:56:59.382721 [DEBUG] switch_ivr_originate.c:2196 Originate
Resulted in Success: [sofia/external_1/90964111 at 192.168.1.13:5060]
send 858 bytes to udp/[192.168.1.104]:5060 at 10:56:59.382955:
   ------------------------------------------------------------------------
   SIP/2.0 200 OK
   Via: SIP/2.0/UDP 192.168.1.104:5060
;branch=z9hG4bK000be0bd5cddde1180d2001a805656a5;rport=5060
   From: <sip:PhonerLite at 192.168.1.102 <sip%3APhonerLite at 192.168.1.102>
>;tag=2454193703
   To: <sip:90964111 at 192.168.1.102
<sip%3A90964111 at 192.168.1.102>>;tag=FFKXgjN02m02N2009-12-02
18:56:59.382721 [DEBUG] switch_ivr_bridge.c:806 (sofia/external_1/
PhonerLite at 192.168.1.102) State Change CS_EXECUTE -> CS_HIBERNATE

   Call-ID: 000BE0BD-5CDD-DE11-80D1-001A805656A5 at 192.168.1.104
   CSeq: 15 INVITE
   Contact: <sip:90964111 at 192.168.1.102:5060;transport=udp>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095
2009-12-02 18:56:59.382721 [DEBUG] mod_limit.c:474 bypass_media=[true]
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY
   Supported: timer, precondition, path, replaces
   Allow-Events: talk, refer
2009-12-02 18:56:59.382721 [DEBUG] mod_limit.c:486
originate_disposition=[SUCCESS]
   Content-Type: application/sdp
   Content-Disposition: session
2009-12-02 18:56:59.382721 [DEBUG] switch_core_session.c:932 Send signal
sofia/external_1/PhonerLite at 192.168.1.102 [BREAK]
   Content-Length: 207

   v=0
2009-12-02 18:56:59.382721 [DEBUG] switch_ivr_bridge.c:807
(sofia/external_1/90964111 at 192.168.1.13:5060) State Change CS_CONSUME_MEDIA
-> CS_HIBERNATE
   o=sdp_admin 11293200 10985190 IN IP4 192.168.1.13
   s=A conversation
   c=IN IP4 192.168.1.13
   t=0 0
2009-12-02 18:56:59.382721 [DEBUG] switch_core_session.c:932 Send signal
sofia/external_1/90964111 at 192.168.1.13:5060 [BREAK]
   m=audio 10096 RTP/AVP 8 101
   a=rtpmap:8 PCMA/8000
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-15
   ------------------------------------------------------------------------
2009-12-02 18:56:59.382721 [DEBUG] switch_core_state_machine.c:306
(sofia/external_1/90964111 at 192.168.1.13:5060) Running State Change
CS_HIBERNATE
2009-12-02 18:56:59.382721 [DEBUG] switch_core_state_machine.c:355
(sofia/external_1/90964111 at 192.168.1.13:5060) State HIBERNATE
2009-12-02 18:56:59.382721 [DEBUG] mod_sofia.c:160 sofia/external_1/
90964111 at 192.168.1.13:5060 SOFIA HIBERNATE
2009-12-02 18:56:59.382721 [DEBUG] switch_core_state_machine.c:212
sofia/external_1/90964111 at 192.168.1.13:5060 Standard HIBERNATE
2009-12-02 18:56:59.382721 [DEBUG] switch_core_state_machine.c:355
(sofia/external_1/90964111 at 192.168.1.13:5060) State HIBERNATE going to sleep
EXECUTE sofia/external_1/PhonerLite at 192.168.1.102 get_next_route()
2009-12-02 18:56:59.382721 [DEBUG] mod_class4.c:2458 Starting to get next
route...
EXECUTE sofia/external_1/PhonerLite at 192.168.1.102 info()
2009-12-02 18:56:59.383439 [INFO] mod_dptools.c:955 CHANNEL_DATA:
Channel-State: [CS_HIBERNATE]
Channel-State-Number: [8]
Channel-Name: [sofia/external_1/PhonerLite at 192.168.1.102]
Unique-ID: [01149fda-c473-4c17-859f-66c016b1e376]
Call-Direction: [inbound]
Presence-Call-Direction: [inbound]
Answer-State: [answered]
Caller-Username: [PhonerLite]
Caller-Dialplan: [class4]
Caller-Caller-ID-Name: [PhonerLite]
Caller-Caller-ID-Number: [PhonerLite]
Caller-Network-Addr: [192.168.1.104]
Caller-Destination-Number: [90964111]
Caller-Unique-ID: [01149fda-c473-4c17-859f-66c016b1e376]
Caller-Source: [mod_sofia]
Caller-Context: [default]
Caller-Channel-Name: [sofia/external_1/PhonerLite at 192.168.1.102]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1259751417450336]
Caller-Channel-Created-Time: [1259751417450336]
Caller-Channel-Answered-Time: [1259751419381828]
Caller-Channel-Progress-Time: [1259751417736234]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [0]
Caller-Channel-Transfer-Time: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
Other-Leg-Username: [PhonerLite]
Other-Leg-Caller-ID-Name: [PhonerLite]
Other-Leg-Caller-ID-Number: [PhonerLite]
Other-Leg-Network-Addr: [192.168.1.104]
Other-Leg-Destination-Number: [90964111 at 192.168.1.13:5060]
Other-Leg-Unique-ID: [4db93c42-909f-4299-96a6-416335744dbe]
Other-Leg-Source: [mod_sofia]
Other-Leg-Channel-Name: [sofia/external_1/90964111 at 192.168.1.13:5060]
Other-Leg-Screen-Bit: [true]
Other-Leg-Privacy-Hide-Name: [false]
Other-Leg-Privacy-Hide-Number: [false]
variable_sip_received_ip: [192.168.1.104]
variable_sip_received_port: [5060]
variable_sip_via_protocol: [udp]
variable_sip_from_user: [PhonerLite]
variable_sip_from_uri: [PhonerLite at 192.168.1.102]
variable_sip_from_host: [192.168.1.102]
variable_sip_from_user_stripped: [PhonerLite]
variable_sip_from_tag: [2454193703]
variable_sofia_profile_name: [external_1]
variable_sip_req_user: [90964111]
variable_sip_req_uri: [90964111 at 192.168.1.102]
variable_sip_req_host: [192.168.1.102]
variable_sip_to_user: [90964111]
variable_sip_to_uri: [90964111 at 192.168.1.102]
variable_sip_to_host: [192.168.1.102]
variable_sip_contact_port: [5060]
variable_sip_contact_uri: [PhonerLite at 192.168.1.104:5060]
variable_sip_contact_host: [192.168.1.104]
variable_channel_name: [sofia/external_1/PhonerLite at 192.168.1.102]
variable_sip_call_id: [000BE0BD-5CDD-DE11-80D1-001A805656A5 at 192.168.1.104]
variable_sip_user_agent: [SIPPER for PhonerLite]
variable_sip_via_host: [192.168.1.104]
variable_sip_via_port: [5060]
variable_sip_via_rport: [5060]
variable_max_forwards: [70]
variable_switch_r_sdp: [v=0
o=- 794697697 0 IN IP4 192.168.1.104
s=SIPPER for PhonerLite
c=IN IP4 192.168.1.104
t=0 0
m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:110 speex/8000
a=rtpmap:111 speex/16000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
]
variable_ep_codec_string: [PCMA at 8000h,PCMU at 8000h]
variable_effective_caller_id_number: [PhonerLite]
variable_effective_caller_id_name: [PhonerLite]
variable_<![CDATA[sip_h_Remote-Party-ID: [PhonerLite><sip:]
variable_routing_digit: [90964111]
variable_continue_on_fail: [true]
variable_hangup_after_bridge: [true]
variable_sip_contact_user: [PhonerLite]
variable_proto_specific_hangup_cause: [sip:403]
variable_sip_hangup_phrase: [Because]
variable_bypass_media: [true]
variable_success_bridge: [true]
variable_signal_bond: [4db93c42-909f-4299-96a6-416335744dbe]
variable_switch_m_sdp: [v=0
o=sdp_admin 11293200 10985190 IN IP4 192.168.1.13
s=A conversation
c=IN IP4 192.168.1.13
t=0 0
m=audio 10096 RTP/AVP 8 0 9 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
]
variable_endpoint_disposition: [ANSWER]
variable_originate_disposition: [SUCCESS]
variable_signal_bridge_to: [4db93c42-909f-4299-96a6-416335744dbe]
variable_current_application: [info]

 recv 414 bytes from udp/[192.168.1.104]:5060 at 10:56:59.384444:
   ------------------------------------------------------------------------
   ACK sip:90964111 at 192.168.1.102:5060;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.104:5060
;branch=z9hG4bK003811bf5cddde1180d2001a805656a5;rport
   From: <sip:PhonerLite at 192.168.1.102 <sip%3APhonerLite at 192.168.1.102>
>;tag=2454193703
   To: <sip:90964111 at 192.168.1.102 <sip%3A90964111 at 192.168.1.102>
>;tag=FFKXgjN02m02N
   Call-ID: 000BE0BD-5CDD-DE11-80D1-001A805656A5 at 192.168.1.104
   CSeq: 15 ACK2009-12-02 18:56:59.383439 [DEBUG] mod_dptools.c:752
sofia/external_1/PhonerLite at 192.168.1.102 SET [final_digits]=[90964111]

   Contact: <sip:PhonerLite at 192.168.1.104:5060>
   Max-Forwards: 70
   Content-Length: 0

   ------------------------------------------------------------------------

EXECUTE sofia/external_1/PhonerLite at 192.168.1.102 bridge(sofia/external_1/
90964111 at 192.168.1.116:9392)
2009-12-02 18:56:59.390427 [DEBUG] switch_ivr.c:1159 sofia/external_1/
PhonerLite at 192.168.1.102 receive message [MEDIA]
2009-12-02 18:56:59.390427 [DEBUG] switch_core_session.c:630 Send signal
sofia/external_1/PhonerLite at 192.168.1.102 [BREAK]
2009-12-02 18:56:59.390427 [CRIT] switch_core_io.c:115 sofia/external_1/
PhonerLite at 192.168.1.102 reading on a session with no media!
2009-12-02 18:56:59.390427 [DEBUG] sofia.c:3359 Channel sofia/external_1/
PhonerLite at 192.168.1.102 entering state [completed][200]
2009-12-02 18:56:59.390427 [DEBUG] sofia.c:3359 Channel sofia/external_1/
PhonerLite at 192.168.1.102 entering state [ready][200]
2009-12-02 18:56:59.393411 [DEBUG] switch_ivr.c:1174 sofia/external_1/
90964111 at 192.168.1.13:5060 receive message [MEDIA]
2009-12-02 18:56:59.393411 [DEBUG] switch_core_session.c:630 Send signal
sofia/external_1/90964111 at 192.168.1.13:5060 [BREAK]
send 952 bytes to udp/[192.168.1.13]:5060 at 10:56:59.393770:
   ------------------------------------------------------------------------
   INVITE sip:192.168.1.13:5060 SIP/2.0
   Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKpecaXNDFD16Bj
   Max-Forwards: 69
   From: "PhonerLite"
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;tag=jaZ7N37atF3tr
   To: <sip:90964111 at 192.168.1.13:5060>;tag=8849584
   Call-ID: 40563247-59d4-122d-ff84-0022190e9476
   CSeq: 123757373 INVITE
   Contact: <sip:PhonerLite at 192.168.1.102:5060>
   User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY
   Supported: timer, precondition, path, replaces
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 223
   Remote-Party-ID: "PhonerLite"
<sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>;party=calling;screen=yes;privacy=off

   v=0
   o=- 794697697 5289748556544955554 IN IP4 192.168.1.104
   s=SIPPER for PhonerLite
   c=IN IP4 192.168.1.102
   t=0 0
   m=audio 30632 RTP/AVP 101
   a=rtpmap:101 telephone-event/8000
   a=fmtp:101 0-16
   a=silenceSupp:off - - - -
   ------------------------------------------------------------------------
2009-12-02 18:56:59.393411 [DEBUG] sofia.c:3359 Channel sofia/external_1/
90964111 at 192.168.1.13:5060 entering state [calling][0]
send 952 bytes to udp/[192.168.1.13]:5060 at 10:56:59.894252:
   ------------------------------------------------------------------------

On Wed, Dec 2, 2009 at 3:59 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> yes he did you can see it in his trace.
> you can not use both of them together......
>
>
>
> On Tue, Dec 1, 2009 at 10:46 AM, Michael Jerris <mike at jerris.com> wrote:
>
>> The only way this would happen would be if this is set to proxy media not
>> bypass.  Are you setting both?
>>
>> Mike
>>
>> On Dec 1, 2009, at 10:08 AM, Juan Backson <juanbackson at gmail.com> wrote:
>>
>> In the following trace,    102 is FS IP, 104 is calling party and 13 is
>> called party.
>>
>> with bypass_media, FS still changes    c=IN IP4 192.168.1.102
>>
>> Any idea why?
>>
>>
>> freeswitch at localhost.localdomain> recv 951 bytes from
>> udp/[192.168.1.104]:5060 at 22:56:33.782715:
>>
>> ------------------------------------------------------------------------
>>    INVITE sip:90964111 at 192.168.1.102 <sip%3A90964111 at 192.168.1.102>SIP/2.0
>>    Via: SIP/2.0/UDP 192.168.1.104:5060
>> ;branch=z9hG4bK003c8e1bf8dcde11a854001a805656a5;rport
>>    From: <sip:PhonerLite at 192.168.1.102 <sip%3APhonerLite at 192.168.1.102>
>> >;tag=786224322
>>    To: <sip:90964111 at 192.168.1.102 <sip%3A90964111 at 192.168.1.102>>
>>    Call-ID: 003C8E1B-F8DC-DE11-A853-001A805656A5 at 192.168.1.104
>>    CSeq: 37 INVITE
>>    Contact: <sip:PhonerLite at 192.168.1.104:5060>
>>    Content-Type: application/sdp
>>    Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE
>>    Max-Forwards: 70
>>    Supported: 100rel, replaces
>>    User-Agent: SIPPER for PhonerLite
>>    Content-Length:   397
>>
>>    v=0
>>    o=- 3393406017 0 IN IP4 192.168.1.104
>>    s=SIPPER for PhonerLite
>>    c=IN IP4 192.168.1.104
>>    t=0 0
>>    m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101
>>    a=rtpmap:8 PCMA/8000
>>    a=rtpmap:0 PCMU/8000
>>    a=rtpmap:2 G726-32/8000
>>    a=rtpmap:3 GSM/8000
>>    a=rtpmap:97 iLBC/8000
>>    a=rtpmap:110 speex/8000
>>    a=rtpmap:111 speex/16000
>>    a=rtpmap:9 G722/8000
>>    a=rtpmap:101 telephone-event/8000
>>    a=fmtp:101 0-16
>>    a=sendrecv
>>
>> ------------------------------------------------------------------------
>> send 350 bytes to udp/[192.168.1.104]:5060 at 22:56:33.783145:
>>
>> ------------------------------------------------------------------------
>>    SIP/2.0 100 Trying
>>    Via: SIP/2.0/UDP 192.168.1.104:5060
>> ;branch=z9hG4bK003c8e1bf8dcde11a854001a805656a5;rport=5060
>>    From: <sip:PhonerLite at 192.168.1.102 <sip%3APhonerLite at 192.168.1.102>
>> >;tag=786224322
>>    To: <sip:90964111 at 192.168.1.102 <sip%3A90964111 at 192.168.1.102>>
>>    Call-ID: 003C8E1B-F8DC-DE11-A853-001A805656A5 at 192.168.1.104
>>    CSeq: 37 INVITE
>>    User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095
>>    Content-Length: 0
>>
>>
>> ------------------------------------------------------------------------
>> 2009-12-02 06:56:33.783162 [NOTICE] switch_channel.c:613 New Channel
>> sofia/internal/PhonerLite at 192.168.1.102[d4233c9a-ee3b-40d4-910d-3b1579f9a273]
>> 2009-12-02 06:56:33.783162 [DEBUG] sofia.c:3359 Channel sofia/internal/
>> PhonerLite at 192.168.1.102 entering state [received][100]
>> 2009-12-02 06:56:33.783162 [DEBUG] sofia.c:3366 Remote SDP:
>> v=0
>> o=- 3393406017 0 IN IP4 192.168.1.104
>> s=SIPPER for PhonerLite
>> c=IN IP4 192.168.1.104
>> t=0 0
>> m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101
>> a=rtpmap:8 PCMA/8000
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:2 G726-32/8000
>> a=rtpmap:3 GSM/8000
>> a=rtpmap:97 iLBC/8000
>> a=rtpmap:110 speex/8000
>> a=rtpmap:111 speex/16000
>> a=rtpmap:9 G722/8000
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>>
>>
>> EXECUTE sofia/internal/PhonerLite at 192.168.1.102 info()
>> 2009-12-02 06:56:33.825198 [INFO] mod_dptools.c:955 CHANNEL_DATA:
>> Channel-State: [CS_EXECUTE]
>> Channel-State-Number: [4]
>> Channel-Name: [sofia/internal/PhonerLite at 192.168.1.102]
>> Unique-ID: [d4233c9a-ee3b-40d4-910d-3b1579f9a273]
>> Call-Direction: [inbound]
>> Presence-Call-Direction: [inbound]
>> Answer-State: [ringing]
>> Caller-Username: [PhonerLite]
>> Caller-Dialplan: [class4]
>> Caller-Caller-ID-Name: [PhonerLite]
>> Caller-Caller-ID-Number: [PhonerLite]
>> Caller-Network-Addr: [192.168.1.104]
>> Caller-Destination-Number: [90964111]
>> Caller-Unique-ID: [d4233c9a-ee3b-40d4-910d-3b1579f9a273]
>> Caller-Source: [mod_sofia]
>> Caller-Context: [default]
>> Caller-Channel-Name: [sofia/internal/PhonerLite at 192.168.1.102]
>> Caller-Profile-Index: [1]
>> Caller-Profile-Created-Time: [1259708193783162]
>> Caller-Channel-Created-Time: [1259708193783162]
>> Caller-Channel-Answered-Time: [0]
>> Caller-Channel-Progress-Time: [0]
>> Caller-Channel-Progress-Media-Time: [0]
>> Caller-Channel-Hangup-Time: [0]
>> Caller-Channel-Transfer-Time: [0]
>> Caller-Screen-Bit: [true]
>> Caller-Privacy-Hide-Name: [false]
>> Caller-Privacy-Hide-Number: [false]
>> variable_sip_received_ip: [192.168.1.104]
>> variable_sip_received_port: [5060]
>> variable_sip_via_protocol: [udp]
>> variable_sip_from_user: [PhonerLite]
>> variable_sip_from_uri: [PhonerLite at 192.168.1.102]
>> variable_sip_from_host: [192.168.1.102]
>> variable_sip_from_user_stripped: [PhonerLite]
>> variable_sip_from_tag: [786224322]
>> variable_sofia_profile_name: [internal]
>> variable_sip_req_user: [90964111]
>> variable_sip_req_uri: [90964111 at 192.168.1.102]
>> variable_sip_req_host: [192.168.1.102]
>> variable_sip_to_user: [90964111]
>> variable_sip_to_uri: [90964111 at 192.168.1.102]
>> variable_sip_to_host: [192.168.1.102]
>> variable_sip_contact_port: [5060]
>> variable_sip_contact_uri: [PhonerLite at 192.168.1.104:5060]
>> variable_sip_contact_host: [192.168.1.104]
>> variable_channel_name: [sofia/internal/PhonerLite at 192.168.1.102]
>> variable_sip_call_id: [003C8E1B-F8DC-DE11-A853-001A805656A5 at 192.168.1.104
>> ]
>> variable_sip_user_agent: [SIPPER for PhonerLite]
>> variable_sip_via_host: [192.168.1.104]
>> variable_sip_via_port: [5060]
>> variable_bypass_media: [true]
>> variable_proxy_media: [true]
>> variable_sip_via_rport: [5060]
>> variable_max_forwards: [70]
>> variable_switch_r_sdp: [v=0
>> o=- 3393406017 0 IN IP4 192.168.1.104
>> s=SIPPER for PhonerLite
>> c=IN IP4 192.168.1.104
>> t=0 0
>> m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101
>> a=rtpmap:8 PCMA/8000
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:2 G726-32/8000
>> a=rtpmap:3 GSM/8000
>> a=rtpmap:97 iLBC/8000
>> a=rtpmap:110 speex/8000
>> a=rtpmap:111 speex/16000
>> a=rtpmap:9 G722/8000
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>> ]
>> variable_ep_codec_string: [PCMA at 8000h,PCMU at 8000h]
>> variable_endpoint_disposition: [RECEIVED_NOMEDIA]
>> variable_effective_caller_id_number: [PhonerLite]
>> variable_effective_caller_id_name: [PhonerLite]
>> variable_<![CDATA[sip_h_Remote-Party-ID: [PhonerLite><sip:]
>> variable_routing_digit: [90964111]
>> variable_continue_on_fail: [true]
>> variable_hangup_after_bridge: [true]
>> variable_sip_contact_user: [PhonerLite]
>>
>>
>> 2009-12-02 06:56:33.842639 [DEBUG] sofia_glue.c:1322 sofia/internal/
>> 90964111 at 192.168.1.116:9390 Patched SDP
>> ---
>> v=0
>> o=- 3393406017 0 IN IP4 192.168.1.104
>> s=SIPPER for PhonerLite
>> c=IN IP4 192.168.1.104
>> t=0 0
>> m=audio 5062 RTP/AVP 8 0 2 3 97 110 111 9 101
>> a=rtpmap:8 PCMA/8000
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:2 G726-32/8000
>> a=rtpmap:3 GSM/8000
>> a=rtpmap:97 iLBC/8000
>> a=rtpmap:110 speex/8000
>> a=rtpmap:111 speex/16000
>> a=rtpmap:9 G722/8000
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>>
>> +++
>> v=0
>> o=- 3393406017 0 IN IP4 192.168.1.104
>> s=SIPPER for PhonerLite
>> c=IN IP4 192.168.1.102
>> t=0 0
>> m=audio 34846 RTP/AVP 8 0 2 3 97 110 111 9 101
>> a=rtpmap:8 PCMA/8000
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:2 G726-32/8000
>> a=rtpmap:3 GSM/8000
>> a=rtpmap:97 iLBC/8000
>> a=rtpmap:110 speex/8000
>> a=rtpmap:111 speex/16000
>> a=rtpmap:9 G722/8000
>> a=rtpmap:101 telephone-event/8000
>> a=fmtp:101 0-16
>>
>> 2009-12-02 06:56:33.842639 [DEBUG] mod_sofia.c:111 (sofia/internal/
>> 90964111 at 192.168.1.116:9390) State Change CS_INIT -> CS_ROUTING
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_session.c:932 Send signal
>> sofia/internal/90964111 at 192.168.1.116:9390 [BREAK]
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:330
>> (sofia/internal/90964111 at 192.168.1.116:9390) State INIT going to sleep
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:306
>> (sofia/internal/90964111 at 192.168.1.116:9390) Running State Change
>> CS_ROUTING
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:333
>> (sofia/internal/90964111 at 192.168.1.116:9390) State ROUTING
>> 2009-12-02 06:56:33.842639 [DEBUG] mod_sofia.c:130 sofia/internal/
>> 90964111 at 192.168.1.116:9390 SOFIA ROUTING
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_ivr_originate.c:66
>> (sofia/internal/90964111 at 192.168.1.116:9390) State Change CS_ROUTING ->
>> CS_CONSUME_MEDIA
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_session.c:932 Send signal
>> sofia/internal/90964111 at 192.168.1.116:9390 [BREAK]
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:333
>> (sofia/internal/90964111 at 192.168.1.116:9390) State ROUTING going to sleep
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:306
>> (sofia/internal/90964111 at 192.168.1.116:9390) Running State Change
>> CS_CONSUME_MEDIA
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:352
>> (sofia/internal/90964111 at 192.168.1.116:9390) State CONSUME_MEDIA
>> 2009-12-02 06:56:33.842639 [DEBUG] switch_core_state_machine.c:352
>> (sofia/internal/90964111 at 192.168.1.116:9390) State CONSUME_MEDIA going to
>> sleep
>> send 1159 bytes to udp/[192.168.1.116]:9390 at 22:56:33.843976:
>>
>> ------------------------------------------------------------------------
>>    INVITE sip:90964111 at 192.168.1.116:9390 SIP/2.0
>>    Via: SIP/2.0/UDP 192.168.1.102;rport;branch=z9hG4bKaNKUU3DjZjB1g
>>    Max-Forwards: 69
>>    From: "PhonerLite" <sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>> >;tag=8tH6Xjt2XaU9F
>>    To: <sip:90964111 at 192.168.1.116:9390>
>>    Call-ID: 9d052856-596f-122d-1b98-0022190e9476
>>    CSeq: 123735760 INVITE
>>    Contact: <sip:PhonerLite at 192.168.1.102:5060>
>>    User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-15095
>>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY
>>    Supported: timer, precondition, path, replaces
>>    Allow-Events: talk, refer
>>    Content-Type: application/sdp
>>    Content-Disposition: session
>>    Content-Length: 404
>>    Remote-Party-ID: "PhonerLite" <sip:PhonerLite at 192.168.1.102<sip%3APhonerLite at 192.168.1.102>
>> >;party=calling;screen=yes;privacy=off
>>
>>    v=0
>>    o=- 3393406017 6776849011794265802 IN IP4 192.168.1.104
>>    s=SIPPER for PhonerLite
>>    c=IN IP4 192.168.1.102
>>    t=0 0
>>    m=audio 34846 RTP/AVP 8 0 2 3 97 110 111 9 101
>>    a=rtpmap:8 PCMA/8000
>>    a=rtpmap:0 PCMU/8000
>>    a=rtpmap:2 G726-32/8000
>>    a=rtpmap:3 GSM/8000
>>    a=rtpmap:97 iLBC/8000
>>    a=rtpmap:110 speex/8000
>>    a=rtpmap:111 speex/16000
>>    a=rtpmap:9 G722/8000
>>    a=rtpmap:101 telephone-event/8000
>>    a=fmtp:101 0-16
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> 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
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091202/963a7360/attachment-0002.html 


More information about the FreeSWITCH-users mailing list