[Freeswitch-users] registration problem 403
Steven Ayre
steveayre at gmail.com
Tue Mar 12 14:17:48 MSK 2013
That isn't a very readable SIP trace. Use 'sofia global siptrace on'
instead.
The most obvious would be an incorrect password/domain on the client.
-Steve
On 12 March 2013 09:56, Miha <miha at softnet.si> wrote:
> Hi,
>
> all of our user agents are registereing properly. Can some help me figure
> out why this one is beeing rejeted?
>
> my sip trace.
> http://pastebin.freeswitch.org/20682
>
> Thanks!
>
>
> Frame 7: 645 bytes on wire (5160 bits), 645 bytes captured (5160 bits)
> Ethernet II, Src: Cisco_76:c9:31 (00:16:c8:76:c9:31), Dst:
> Supermic_64:38:ff (00:30:48:64:38:ff)
> Internet Protocol Version 4, Src: user_agent_ip (user_agent_ip), Dst:
> freeswtich_ip (freeswtich_ip)
> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
> Session Initiation Protocol
> Request-Line: REGISTER sip:enterprise.freeswitch.org:5060 SIP/2.0
> Method: REGISTER
> Request-URI: sip:enterprise.freeswitch.org:5060
> [Resent Packet: False]
> Message Header
> Via: SIP/2.0/UDP user_agent_ip;branch=z9hG4bK007ed7b3fda035653
> Transport: UDP
> Sent-by Address: user_agent_ip
> Branch: z9hG4bK007ed7b3fda035653
> Max-Forwards: 70
> From: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>;tag=a0ac7ed0e0
> SIP Display info: 081603006.enterprise
> SIP from address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP from address User Part: 081603006
> SIP from address Host Part: enterprise.freeswitch.org
> SIP from address Host Port: 5060
> SIP tag: a0ac7ed0e0
> To: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>
> SIP Display info: 081603006.enterprise
> SIP to address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP to address User Part: 081603006
> SIP to address Host Part: enterprise.freeswitch.org
> SIP to address Host Port: 5060
> Call-ID: 9b78f5c9e810d200
> CSeq: 1385547784 REGISTER
> Sequence Number: 1385547784
> Method: REGISTER
> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, INFO
> Contact: 081603006.enterprise
> <sip:081603006 at user_agent_ip:5060;transport=udp>;expires=3600
> SIP Display info: 081603006.enterprise
> Contact-URI: sip:081603006 at user_agent_ip:5060;transport=udp
> Contactt-URI User Part: 081603006
> Contact-URI Host Part: user_agent_ip
> Contact-URI Host Port: 5060
> Contact parameter: transport=udp>
> Contact parameter: expires=3600
> Supported: path
> User-Agent: ARRIS-TM902S release v.7.10.145.SIP SN/001DCE73F07F
> Content-Length: 0
>
> No. Time Source Destination Protocol
> Length Info
> 8 153.860672 freeswtich_ip user_agent_ip SIP
> 751 Status: 401 Unauthorized (0 bindings)
>
> Frame 8: 751 bytes on wire (6008 bits), 751 bytes captured (6008 bits)
> Ethernet II, Src: Supermic_64:38:ff (00:30:48:64:38:ff), Dst:
> Cisco_76:c9:31 (00:16:c8:76:c9:31)
> Internet Protocol Version 4, Src: freeswtich_ip (freeswtich_ip), Dst:
> user_agent_ip (user_agent_ip)
> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 401 Unauthorized
> Status-Code: 401
> [Resent Packet: False]
> [Request Frame: 7]
> [Response Time (ms): 1]
> Message Header
> Via: SIP/2.0/UDP user_agent_ip;branch=z9hG4bK007ed7b3fda035653
> Transport: UDP
> Sent-by Address: user_agent_ip
> Branch: z9hG4bK007ed7b3fda035653
> From: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>;tag=a0ac7ed0e0
> SIP Display info: 081603006.enterprise
> SIP from address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP from address User Part: 081603006
> SIP from address Host Part: enterprise.freeswitch.org
> SIP from address Host Port: 5060
> SIP tag: a0ac7ed0e0
> To: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>;tag=2cr6m0BZBUUKg
> SIP Display info: 081603006.enterprise
> SIP to address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP to address User Part: 081603006
> SIP to address Host Part: enterprise.freeswitch.org
> SIP to address Host Port: 5060
> SIP tag: 2cr6m0BZBUUKg
> Call-ID: 9b78f5c9e810d200
> CSeq: 1385547784 REGISTER
> Sequence Number: 1385547784
> Method: REGISTER
> User-Agent:
> FreeSWITCH-mod_sofia/1.2.3+git~20121004T033301Z~94664868a8
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, precondition, path, replaces
> WWW-Authenticate: Digest realm="enterprise.freeswitch.org",
> nonce="140088b8-c23a-461e-abb0-2ceef4bb16f4", algorithm=MD5, qop="auth"
> Authentication Scheme: Digest
> realm="enterprise.freeswitch.org"
> nonce="140088b8-c23a-461e-abb0-2ceef4bb16f4"
> algorithm=MD5
> qop="auth"
> Content-Length: 0
>
> No. Time Source Destination Protocol
> Length Info
> 9 153.875842 user_agent_ip freeswtich_ip SIP
> 917 Request: REGISTER sip:enterprise.freeswitch.org:5060
>
> Frame 9: 917 bytes on wire (7336 bits), 917 bytes captured (7336 bits)
> Ethernet II, Src: Cisco_76:c9:31 (00:16:c8:76:c9:31), Dst:
> Supermic_64:38:ff (00:30:48:64:38:ff)
> Internet Protocol Version 4, Src: user_agent_ip (user_agent_ip), Dst:
> freeswtich_ip (freeswtich_ip)
> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
> Session Initiation Protocol
> Request-Line: REGISTER sip:enterprise.freeswitch.org:5060 SIP/2.0
> Method: REGISTER
> Request-URI: sip:enterprise.freeswitch.org:5060
> [Resent Packet: False]
> Message Header
> Via: SIP/2.0/UDP user_agent_ip;branch=z9hG4bK1cc3b9f75e01d9b85
> Transport: UDP
> Sent-by Address: user_agent_ip
> Branch: z9hG4bK1cc3b9f75e01d9b85
> Max-Forwards: 70
> From: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>;tag=a0ac7ed0e0
> SIP Display info: 081603006.enterprise
> SIP from address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP from address User Part: 081603006
> SIP from address Host Part: enterprise.freeswitch.org
> SIP from address Host Port: 5060
> SIP tag: a0ac7ed0e0
> To: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>
> SIP Display info: 081603006.enterprise
> SIP to address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP to address User Part: 081603006
> SIP to address Host Part: enterprise.freeswitch.org
> SIP to address Host Port: 5060
> Call-ID: 9b78f5c9e810d200
> CSeq: 1385547785 REGISTER
> Sequence Number: 1385547785
> Method: REGISTER
> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, INFO
> [truncated] Authorization: Digest
> username="081603006.enterprise",realm="enterprise.freeswitch.org
> ",nonce="140088b8-c23a-461e-abb0-2ceef4bb16f4",uri=
> "sip:enterprise.freeswitch.org:5060"
> ,response="c9fbce339bb5aa1137ea34bf190619ac",algorithm
> Authentication Scheme: Digest
> username="081603006.enterprise"
> realm="enterprise.freeswitch.org"
> nonce="140088b8-c23a-461e-abb0-2ceef4bb16f4"
> uri="sip:enterprise.freeswitch.org:5060"
> response="c9fbce339bb5aa1137ea34bf190619ac"
> algorithm=MD5
> qop=auth
> cnonce="41fb0f25"
> nc=00000001
> Contact: 081603006.enterprise
> <sip:081603006 at user_agent_ip:5060;transport=udp>;expires=3600
> SIP Display info: 081603006.enterprise
> Contact-URI: sip:081603006 at user_agent_ip:5060;transport=udp
> Contactt-URI User Part: 081603006
> Contact-URI Host Part: user_agent_ip
> Contact-URI Host Port: 5060
> Contact parameter: transport=udp>
> Contact parameter: expires=3600
> Supported: path
> User-Agent: ARRIS-TM902S release v.7.10.145.SIP SN/001DCE73F07F
> Content-Length: 0
>
> No. Time Source Destination Protocol
> Length Info
> 10 153.876474 freeswtich_ip user_agent_ip SIP
> 615 Status: 403 Forbidden (0 bindings)
>
> Frame 10: 615 bytes on wire (4920 bits), 615 bytes captured (4920 bits)
> Ethernet II, Src: Supermic_64:38:ff (00:30:48:64:38:ff), Dst:
> Cisco_76:c9:31 (00:16:c8:76:c9:31)
> Internet Protocol Version 4, Src: freeswtich_ip (freeswtich_ip), Dst:
> user_agent_ip (user_agent_ip)
> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 403 Forbidden
> Status-Code: 403
> [Resent Packet: False]
> [Request Frame: 9]
> [Response Time (ms): 0]
> Message Header
> Via: SIP/2.0/UDP user_agent_ip;branch=z9hG4bK1cc3b9f75e01d9b85
> Transport: UDP
> Sent-by Address: user_agent_ip
> Branch: z9hG4bK1cc3b9f75e01d9b85
> From: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>;tag=a0ac7ed0e0
> SIP Display info: 081603006.enterprise
> SIP from address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP from address User Part: 081603006
> SIP from address Host Part: enterprise.freeswitch.org
> SIP from address Host Port: 5060
> SIP tag: a0ac7ed0e0
> To: 081603006.enterprise
> <sip:081603006 at enterprise.freeswitch.org:5060>;tag=3NHZpUv283H6B
> SIP Display info: 081603006.enterprise
> SIP to address: sip:081603006 at enterprise.freeswitch.org:5060
> SIP to address User Part: 081603006
> SIP to address Host Part: enterprise.freeswitch.org
> SIP to address Host Port: 5060
> SIP tag: 3NHZpUv283H6B
> Call-ID: 9b78f5c9e810d200
> CSeq: 1385547785 REGISTER
> Sequence Number: 1385547785
> Method: REGISTER
> User-Agent:
> FreeSWITCH-mod_sofia/1.2.3+git~20121004T033301Z~94664868a8
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, precondition, path, replaces
> Content-Length: 0
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20130312/19ef2671/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list