[Freeswitch-users] Freeswitch hangs up after 30 s when using Record-Route
Woody Dickson
woodydickson at gmail.com
Mon Nov 24 01:43:00 PST 2008
Hi
I am using Openser as the sip proxy in front of freeswitch. When using
Record-Route, Freeswitch hangs of every call after 30 s.
277.32.22.33:5060 is the public ip of openser and 192.168.1.101:5800 is
freeswitch's external profile port. Both openser and freeswitch are within
the same box.
In the console, I am getting:
2008-11-25 01:31:24 [DEBUG] sofia.c:2318 sofia_handle_sip_i_state() Channel
sofia/external/1000 at 61.141.158.178 entering state [terminating]
freeswitch at localhost.localdomain>
freeswitch at localhost.localdomain> 2008-11-25 01:31:24 [DEBUG] sofia.c:2318
sofia_handle_sip_i_state() Channel
sofia/external/1000 at 61.141.158.178entering state [terminated]
Here is the sip trace:
U 192.168.1.101:5800 -> 277.32.22.33:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.101
;branch=z9hG4bK022f.a4e32a57.0;received=277.32.22.33.
Via: SIP/2.0/UDP 192.168.1.102:12334;received=121.15.98.134
;branch=z9hG4bK-d87543-a5439229f1204a4e-1--d87543-;rport=14392.
Record-Route: <sip:192.168.1.101;lr=on;ftag=c947d86b>.
From: "1000" <sip:1000 at 277.32.22.33>;tag=c947d86b.
To: "0" <sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 2 INVITE.
Contact: <sip:mod_sofia at 277.32.22.33:5800;transport=udp>.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO.
Supported: timer, precondition, path, replaces.
Allow-Events: talk.
Session-Expires: 120;refresher=uas.
Min-SE: 120.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 268.
.
v=0.
o=FreeSWITCH 6527595211019529703 806853432324137362 IN IP4 277.32.22.33.
s=FreeSWITCH.
c=IN IP4 277.32.22.33.
t=0 0.
m=audio 11046 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
U 277.32.22.33:5800 -> 192.168.1.101:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.101
;branch=z9hG4bK022f.a4e32a57.0;received=277.32.22.33.
Via: SIP/2.0/UDP 192.168.1.102:12334;received=121.15.98.134
;branch=z9hG4bK-d87543-a5439229f1204a4e-1--d87543-;rport=14392.
Record-Route: <sip:192.168.1.101;lr=on;ftag=c947d86b>.
From: "1000" <sip:1000 at 277.32.22.33>;tag=c947d86b.
To: "0" <sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 2 INVITE.
Contact: <sip:mod_sofia at 277.32.22.33:5800;transport=udp>.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO.
Supported: timer, precondition, path, replaces.
Allow-Events: talk.
Session-Expires: 120;refresher=uas.
Min-SE: 120.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 268.
.
v=0.
o=FreeSWITCH 6527595211019529703 806853432324137362 IN IP4 277.32.22.33.
s=FreeSWITCH.
c=IN IP4 277.32.22.33.
t=0 0.
m=audio 11046 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
U 192.168.1.101:5800 -> 277.32.22.33:5060
BYE sip:1000 at 121.15.98.134:14392 SIP/2.0.
Via: SIP/2.0/UDP 277.32.22.33:5800;rport;branch=z9hG4bK10ttgjpr9KeQg.
Route: <sip:192.168.1.101;lr=on;ftag=c947d86b>.
Max-Forwards: 70.
From: "0" <sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
To: "1000" <sip:1000 at 277.32.22.33>;tag=c947d86b.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 107655293 BYE.
Contact: <sip:mod_sofia at 277.32.22.33:5800;transport=udp>.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO.
Supported: timer, precondition, path, replaces.
Reason: SIP;cause=408;text="ACK Timeout".
Content-Length: 0.
.
U 277.32.22.33:5800 -> 192.168.1.101:5060
BYE sip:1000 at 121.15.98.134:14392 SIP/2.0.
Via: SIP/2.0/UDP 277.32.22.33:5800;rport;branch=z9hG4bK10ttgjpr9KeQg.
Route: <sip:192.168.1.101;lr=on;ftag=c947d86b>.
Max-Forwards: 70.
From: "0" <sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
To: "1000" <sip:1000 at 277.32.22.33>;tag=c947d86b.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 107655293 BYE.
Contact: <sip:mod_sofia at 277.32.22.33:5800;transport=udp>.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO.
Supported: timer, precondition, path, replaces.
Reason: SIP;cause=408;text="ACK Timeout".
Content-Length: 0.
.
U 192.168.1.101:5800 -> 277.32.22.33:5060
BYE sip:1000 at 121.15.98.134:14392 SIP/2.0.
Via: SIP/2.0/UDP 277.32.22.33:5800;rport;branch=z9hG4bK10ttgjpr9KeQg.
Route: <sip:192.168.1.101;lr=on;ftag=c947d86b>.
Max-Forwards: 70.
From: "0" <sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
To: "1000" <sip:1000 at 277.32.22.33>;tag=c947d86b.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 107655293 BYE.
Contact: <sip:mod_sofia at 277.32.22.33:5800;transport=udp>.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO.
Supported: timer, precondition, path, replaces.
Reason: SIP;cause=408;text="ACK Timeout".
Content-Length: 0.
.
U 277.32.22.33:5800 -> 192.168.1.101:5060
BYE sip:1000 at 121.15.98.134:14392 SIP/2.0.
Via: SIP/2.0/UDP 277.32.22.33:5800;rport;branch=z9hG4bK10ttgjpr9KeQg.
Route: <sip:192.168.1.101;lr=on;ftag=c947d86b>.
Max-Forwards: 70.
From: "0" <sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
To: "1000" <sip:1000 at 277.32.22.33>;tag=c947d86b.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 107655293 BYE.
Contact: <sip:mod_sofia at 277.32.22.33:5800;transport=udp>.
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-10454M.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY,
REFER, UPDATE, REGISTER, INFO.
Supported: timer, precondition, path, replaces.
Reason: SIP;cause=408;text="ACK Timeout".
Content-Length: 0.
.
U 192.168.1.101:5060 -> 277.32.22.33:5800
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
277.32.22.33:5800;received=277.32.22.33;rport=5800;branch=z9hG4bK10ttgjpr9KeQg.
Record-Route: <sip:192.168.1.101;lr;ftag=4Uve20t8p31Ba>.
Contact: <sip:1000 at 121.15.98.134:14392>.
To: "1000"<sip:1000 at 277.32.22.33>;tag=c947d86b.
From: "0"<sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 107655293 BYE.
User-Agent: X-Lite release 1011s stamp 41150.
Content-Length: 0.
P-hint: (3)passed thru onreply_route[1].
.
U 277.32.22.33:5060 -> 192.168.1.101:5800
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
277.32.22.33:5800;received=277.32.22.33;rport=5800;branch=z9hG4bK10ttgjpr9KeQg.
Record-Route: <sip:192.168.1.101;lr;ftag=4Uve20t8p31Ba>.
Contact: <sip:1000 at 121.15.98.134:14392>.
To: "1000"<sip:1000 at 277.32.22.33>;tag=c947d86b.
From: "0"<sip:0 at 277.32.22.33>;tag=4Uve20t8p31Ba.
Call-ID: NmZkYzU5MGYzZjBhZGM5YjQ0MjhiNzlmMDc5NzNjNjI..
CSeq: 107655293 BYE.
User-Agent: X-Lite release 1011s stamp 41150.
Content-Length: 0.
P-hint: (3)passed thru onreply_route[1].
.
Thanks in advance for any help or suggestion on resolving the problem.
Woody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081124/cc3ef8aa/attachment-0002.html
More information about the FreeSWITCH-users
mailing list