[Freeswitch-users] Help debugging INVITE with provider

François Legal devel at thom.fr.eu.org
Thu Jun 3 10:36:49 PDT 2010



Hello, 

I'm having trouble to send/receive calls with one of my
providers. 

Freeswitch says the reply sent by provider has the session
information incorrect, then the provider replies the calle is busy (which
of course is not). 

The sip trace follows. 

Anybody can help ? 

François


send 1413 bytes to udp/[MyProviderIp]:5060 at 15:27:29.696419:

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

INVITE sip:SomeAccount at provider.com SIP/2.0
 Via: SIP/2.0/UDP
MyFSIpHere;rport;branch=z9hG4bK2Ktev9DUUB7tK
 Max-Forwards: 70
 From: ""
;tag=2SU9FHayaSXcr
 To: 
 Call-ID: 5d107eb4-e9c7-122d-58a3-001517c07e1e

CSeq: 131671088 INVITE
 Contact: 
 User-Agent:
FreeSWITCH-mod_sofia/1.0.head-git-
 Allow: INVITE, ACK, BYE, CANCEL,
OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY
 Supported: timer,
precondition, path, replaces
 Allow-Events: talk, hold, refer

Content-Type: application/sdp
 Content-Disposition: session

Content-Length: 642
 X-FS-Support: update_display
 Remote-Party-ID:
;party=calling;screen=yes;privacy=off

 v=0
 o=FreeSWITCH 1275553793
1275553794 IN IP4 MyFSIpHere
 s=FreeSWITCH
 c=IN IP4 MyFSIpHere
 t=0 0

m=audio 25056 RTP/AVP 124 123 122 121 3 99 9 8 0 101 13
 a=rtpmap:124
G726-16/8000
 a=rtpmap:123 G726-24/8000
 a=rtpmap:122 G726-32/8000

a=rtpmap:121 G726-40/8000
 a=rtpmap:3 GSM/8000
 a=rtpmap:99 SPEEX/8000

a=rtpmap:9 G722/8000
 a=rtpmap:8 PCMA/8000
 a=rtpmap:0 PCMU/8000

a=rtpmap:101 telephone-event/8000
 a=fmtp:101 0-16
 a=rtpmap:13 CN/8000

a=ptime:20
 m=video 19186 RTP/AVP 31 34 115 121 99
 a=rtpmap:31 H261/90000

a=rtpmap:34 H263/90000
 a=rtpmap:115 H263-1998/90000
 a=rtpmap:121
H263-2000/90000
 a=rtpmap:99 H264/90000

recv 420 bytes from
udp/[MyProviderIp]:5060 at 15:27:29.770669:

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

SIP/2.0 100 Trying
 Via: SIP/2.0/UDP
MyFSIpHere;rport;branch=z9hG4bK2Ktev9DUUB7tK
 From: "" ;tag=2SU9FHayaSXcr

To: 
 Contact: sip:MyProviderIp:5060
 Call-ID:
5d107eb4-e9c7-122d-58a3-001517c07e1e
 CSeq: 131671088 INVITE
 Server: (Very
nice Sip Registrar/Proxy Server)
 Allow:
ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
 Content-Length: 0


------------------------------------------------------------------------
recv
1030 bytes from udp/[MyProviderIp]:5060 at 15:27:29.774935:

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

INVITE sip:gw+12voip.com at MyFSIpHere:5060;transport=udp;gw=12voip.com
SIP/2.0
 Via: SIP/2.0/UDP
MyProviderIp:5060;branch=z9hG4bK6d186dd63c024b6190e5e139d10c5c48
 From:
"0000000000" ;tag=4e0113ac4c050c86c51a2
 To: 
 Contact:
sip:0000000000 at MyProviderIp:5060
 Call-ID:
491618f252ba4d08b48c48ce92b0324c at MyProviderIp
 CSeq: 1 INVITE
 User-Agent:
(Very nice Sip Registrar/Proxy Server)
 Allow:
ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
 Content-Type:
application/sdp
 Content-Length: 453

 v=0
 o=FrancoisLegal 1275578849
1275578849 IN IP4 80.239.235.106
 s=SIP Call
 c=IN IP4 80.239.235.106
 t=0
0
 m=audio 11180 RTP/AVP 2 3 9 8 0 101
 a=rtpmap:2 G726-32/8000
 a=rtpmap:3
GSM/8000
 a=rtpmap:9 G722/8000
 a=rtpmap:8 PCMA/8000
 a=rtpmap:0 PCMU/8000

a=rtpmap:101 telephone-event/8000
 m=video 11598 RTP/AVP 31 34 115 121 99

a=rtpmap:31 H261/90000
 a=rtpmap:34 H263/90000
 a=rtpmap:115
H263-1998/90000
 a=rtpmap:121 
 a=rtpmap:99 
 a=ptime:20

------------------------------------------------------------------------
send
605 bytes to udp/[MyProviderIp]:5060 at 15:27:29.775380:

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

SIP/2.0 400 Bad Session Description
 Via: SIP/2.0/UDP
MyProviderIp:5060;branch=z9hG4bK6d186dd63c024b6190e5e139d10c5c48
 From:
"0000000000" ;tag=4e0113ac4c050c86c51a2
 To: ;tag=32m2HcU171KZK
 Call-ID:
491618f252ba4d08b48c48ce92b0324c at MyProviderIp
 CSeq: 1 INVITE
 User-Agent:
FreeSWITCH-mod_sofia/1.0.head-git-
 Accept: application/sdp
 Allow: INVITE,
ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY

Supported: timer, precondition, path, replaces
 Allow-Events: talk, hold,
refer
 Content-Length: 0


------------------------------------------------------------------------
recv
552 bytes from udp/[MyProviderIp]:5060 at 15:27:29.866610:

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

ACK sip:gw+12voip.com at MyFSIpHere:5060;transport=udp;gw=12voip.com SIP/2.0

Via: SIP/2.0/UDP
MyProviderIp:5060;branch=z9hG4bK3fecf431e27c437190b2844df71b49b0
 From:
"0000000000" ;tag=4e0113ac4c050c86c51a2
 To: ;tag=32m2HcU171KZK
 Contact:
sip:0000000000 at MyProviderIp:5060
 Call-ID:
491618f252ba4d08b48c48ce92b0324c at MyProviderIp
 CSeq: 1 ACK
 Server: (Very
nice Sip Registrar/Proxy Server)
 Allow:
ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
 Content-Length: 0


------------------------------------------------------------------------
recv
423 bytes from udp/[MyProviderIp]:5060 at 15:27:29.866859:

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

SIP/2.0 486 Busy here
 Via: SIP/2.0/UDP
MyFSIpHere;rport;branch=z9hG4bK2Ktev9DUUB7tK
freeswitch at tls-srv-01> From:
"" ;tag=2SU9FHayaSXcr
 To: 
 Contact: sip:MyProviderIp:5060
 Call-ID:
5d107eb4-e9c7-122d-58a3-001517c07e1e
 CSeq: 131671088 INVITE
 Server: (Very
nice Sip Registrar/Proxy Server)
 Allow:
ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
 Content-Length: 0


------------------------------------------------------------------------
send
320 bytes to udp/[MyProviderIp]:5060 at 15:27:29.867043:

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

ACK sip:SomeAccount at provider.com SIP/2.0
 Via: SIP/2.0/UDP
MyFSIpHere;rport;branch=z9hG4bK2Ktev9DUUB7tK
 Max-Forwards: 70
 From: ""
;tag=2SU9FHayaSXcr
 To: 
 Call-ID: 5d107eb4-e9c7-122d-58a3-001517c07e1e

CSeq: 131671088 ACK
 Content-Length: 0


------------------------------------------------------------------------
send
605 bytes to udp/[MyProviderIp]:5060 at 15:27:30.276655:

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

SIP/2.0 400 Bad Session Description
 Via: SIP/2.0/UDP
MyProviderIp:5060;branch=z9hG4bK6d186dd63c024b6190e5e139d10c5c48
 From:
"0000000000" ;tag=4e0113ac4c050c86c51a2
 To: ;tag=32m2HcU171KZK
 Call-ID:
491618f252ba4d08b48c48ce92b0324c at MyProviderIp
 CSeq: 1 INVITE
 User-Agent:
FreeSWITCH-mod_sofia/1.0.head-git-
 Accept: application/sdp
 Allow: INVITE,
ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY

Supported: timer, precondition, path, replaces
 Allow-Events: talk, hold,
refer
 Content-Length: 0


------------------------------------------------------------------------
recv
498 bytes from udp/[MyProviderIp]:5060 at 15:27:30.341335:

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

ACK sip:77.72.169.134:5060 SIP/2.0
 Via: SIP/2.0/UDP
MyProviderIp:5060;branch=z9hG4bK6d186dd63c024b6190e5e139d10c5c48
 From:
"0000000000" ;tag=4e0113ac4c050c86c51a2
 To: ;tag=32m2HcU171KZK
 Contact:
sip:77.72.169.134:5060
 Call-ID:
491618f252ba4d08b48c48ce92b0324c at MyProviderIp
 CSeq: 1 ACK
 Server: (Very
nice Sip Registrar/Proxy Server)
 Allow:
ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
 Content-Length: 0


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100603/cf82aaf4/attachment-0001.html 


More information about the FreeSWITCH-users mailing list