[Freeswitch-users] Asterisk registration with FS
Noah Silverman
noah at allresearch.com
Mon Sep 22 21:04:32 PDT 2008
NOTE: IP and DID changed.
Freeswitch server = 111.111.111.111
Asterisk server = 222.222.222.222
DID = 3235551212
---------------
recv 862 bytes from udp/[222.222.222.222]:1024 at 03:51:22.604274:
------------------------------------------------------------------------
INVITE sip:13237773456 at 111.111.111.111 SIP/2.0
Via: SIP/2.0/UDP 10.0.1.100:5060;branch=z9hG4bK38495771;rport
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>
Contact: <sip:3235551212 at 10.0.1.100>
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "3235551212" <sip:
3235551212 at 111.111.111.111>;privacy=off;screen=no
Date: Tue, 23 Sep 2008 03:57:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 234
v=0
o=root 3463 3463 IN IP4 10.0.1.100
s=session
c=IN IP4 10.0.1.100
t=0 0
m=audio 13808 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
a=sendrecv
------------------------------------------------------------------------
send 356 bytes to udp/[222.222.222.222]:1024 at 03:51:22.606561:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
10.0.1.100
:5060;branch=z9hG4bK38495771;rport=1024;received=222.222.222.222
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 102 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.1-exported
Content-Length: 0
------------------------------------------------------------------------
send 833 bytes to udp/[222.222.222.222]:1024 at 03:51:22.636580:
------------------------------------------------------------------------
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP
10.0.1.100
:5060;branch=z9hG4bK38495771;rport=1024;received=222.222.222.222
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>;tag=yHjpHt1BmS7yS
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 102 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.1-exported
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: 100rel, timer, precondition, path, replaces
Allow-Events: talk, presence, dialog, call-info, sla, include-
session-description, presence.winfo, message-summary
Proxy-Authenticate: Digest realm="111.111.111.111",
nonce="bacd48e3-2289-dd11-80f4-00188b37805b", algorithm=MD5, qop="auth"
Content-Length: 0
------------------------------------------------------------------------
recv 481 bytes from udp/[222.222.222.222]:1024 at 03:51:22.669730:
------------------------------------------------------------------------
ACK sip:13237773456 at 111.111.111.111 SIP/2.0
Via: SIP/2.0/UDP 10.0.1.100:5060;branch=z9hG4bK38495771;rport
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>;tag=yHjpHt1BmS7yS
Contact: <sip:3235551212 at 10.0.1.100>
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "3235551212" <sip:
3235551212 at 111.111.111.111>;privacy=off;screen=no
Content-Length: 0
------------------------------------------------------------------------
recv 1119 bytes from udp/[222.222.222.222]:1024 at 03:51:22.670427:
------------------------------------------------------------------------
INVITE sip:13237773456 at 111.111.111.111 SIP/2.0
Via: SIP/2.0/UDP 10.0.1.100:5060;branch=z9hG4bK59b179c5;rport
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>
Contact: <sip:3235551212 at 10.0.1.100>
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "3235551212" <sip:
3235551212 at 111.111.111.111>;privacy=off;screen=no
Proxy-Authorization: Digest username="3235551212",
realm="111.111.111.111", algorithm=MD5, uri="sip:13237773456 at 111.111.111.111
", nonce="bacd48e3-2289-dd11-80f4-00188b37805b",
response="ff3cdb8073becadfe55acfdaf5216441", qop=auth,
cnonce="0fe2ecd1", nc=00000001
Date: Tue, 23 Sep 2008 03:57:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 234
v=0
o=root 3463 3464 IN IP4 10.0.1.100
s=session
c=IN IP4 10.0.1.100
t=0 0
m=audio 13808 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
a=sendrecv
------------------------------------------------------------------------
send 356 bytes to udp/[222.222.222.222]:1024 at 03:51:22.673443:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
10.0.1.100
:5060;branch=z9hG4bK59b179c5;rport=1024;received=222.222.222.222
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 103 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.1-exported
Content-Length: 0
------------------------------------------------------------------------
send 691 bytes to udp/[222.222.222.222]:1024 at 03:51:22.784872:
------------------------------------------------------------------------
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP
10.0.1.100
:5060;branch=z9hG4bK59b179c5;rport=1024;received=222.222.222.222
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>;tag=ZtBFKNjFH2XHN
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 103 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.1-exported
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,
SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: 100rel, timer, precondition, path, replaces
Allow-Events: talk, presence, dialog, call-info, sla, include-
session-description, presence.winfo, message-summary
Content-Length: 0
------------------------------------------------------------------------
recv 481 bytes from udp/[222.222.222.222]:1024 at 03:51:22.811109:
------------------------------------------------------------------------
ACK sip:13237773456 at 111.111.111.111 SIP/2.0
Via: SIP/2.0/UDP 10.0.1.100:5060;branch=z9hG4bK59b179c5;rport
From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as68ae65f8
To: <sip:13237773456 at 111.111.111.111>;tag=ZtBFKNjFH2XHN
Contact: <sip:3235551212 at 10.0.1.100>
Call-ID: 1e4dd5ee5a2fd5d347b551d3714f71e3 at 111.111.111.111
CSeq: 103 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Remote-Party-ID: "3235551212" <sip:
3235551212 at 111.111.111.111>;privacy=off;screen=no
Content-Length: 0
------------------------------------------------------------------------
On Sep 22, 2008, at 7:00 PM, Brian West wrote:
> What was the response and where did it go? I need to see the full
> sip trace along with console output.
>
> TPORT_LOG=1 ./freeswitch
>
> /b
>
> On Sep 22, 2008, at 4:01 PM, Noah Silverman wrote:
>
>> U 222.222.222.222:1024 -> 111.111.111.111:5060
>> INVITE sip:13237773456 at 111.111.111.111 SIP/2.0.
>> Via: SIP/2.0/UDP 10.0.1.100:5060;branch=z9hG4bK03cd6fd2;rport.
>> From: "3235551212" <sip:3235551212 at 111.111.111.111>;tag=as146a87d7.
>> To: <sip:13237773456 at 111.111.111.111>.
>> Contact: <sip:3235551212 at 222.222.222.222>.
>> Call-ID: 4382446d3a46269d7f469e93147b46eb at 111.111.111.111
>> CSeq: 103 INVITE.
>> User-Agent: Asterisk PBX.
>> Max-Forwards: 70.
>> Remote-Party-ID: "3235551212" <sip:
>> 3235551212 at 111.111.111.111>;privacy=off;screen=no.
>> Proxy-Authorization: Digest username="3235551212",
>> realm="111.111.111.111", algorithm=MD5, uri="sip:13237773456 at 111.111.111.111
>> ", nonce="c52ba984-f888-dd11-80f4-00188b37805b",
>> response="01635afacb7eeebc6fc0888991c0411d", qop=auth,
>> cnonce="4e065f27", nc=00000001.
>> Date: Mon, 22 Sep 2008 22:54:14 GMT.
>> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
>> Supported: replaces.
>> Content-Type: application/sdp.
>> Content-Length: 234.
>
> _______________________________________________
> 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/20080922/fcb2444e/attachment-0002.html
More information about the FreeSWITCH-users
mailing list