[OpenSIPS-Users] SIPv6 UA Can't receive a 500 (Server Error) response from openser-1.3.4-12.fc13.i686 server after sending REGISTER request with two Contact header field values

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jun 24 15:21:56 CEST 2010


And what is suppose to mean ?? you have no failure here at all...for 
none of the contacts....

Regards,
Bogdan

Xiaoqiang Hu wrote:
> [RFC3261-10-47, 48, 49]
> 10.3 Processing REGISTER Requests
> 7. The binding updates MUST be commited (that is, made visible to
> the proxy or redirect server) if and only if all binding
> updates and additions succeed. If any one of them fails (for
> example, because the back-end database commit failed), the
> request MUST fail with a 500 (Server Error) response and all
> tentative binding updates MUST be removed.
>
>
> --------------------------------------
> Regards!
> Hu xiaoqiang
> Quality Assurance Engineer
> IRC Account:xhu Channel:#apac #apac-qa
>
> ----- Original Message -----
> From: "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>
> To: "OpenSIPS users mailling list" <users at lists.opensips.org>
> Sent: Wednesday, June 23, 2010 5:54:09 PM GMT -05:00 US/Canada Eastern
> Subject: Re: [OpenSIPS-Users] SIPv6 UA Can't receive a 500 (Server Error) response from openser-1.3.4-12.fc13.i686 server after sending REGISTER request with two Contact header field values
>
> why do you want to get a 500 ? your configuration (max_contact=10) 
> allows multiple contacts per AOR (up to 10). If you want to accept only 
> one, set
>        modparam("registrar", "max_contacts", 1)
>
> Regards,
> bogdan
>
> Xiaoqiang Hu wrote:
>   
>> Hi all,
>>
>> SIPv6 UA Can't receive a 500 (Server Error) response from openser register server after sending REGISTER request with two Contact header field values. The details can be as follows:
>> 1 Test topology:
>>
>>                    NUT(REG && PX)           UA11                         UA12                           DNS
>>                         |                      |                          |                              |
>> IP          : 3ffe:501:ffff:50::50   3ffe:501:ffff:1::1          3ffe:501:ffff:2::2                3ffe:501:ffff:4::1
>> aor-uri     : ss.under.test.com      UA11 at under.test.com         UA12 at under.test.com
>> contact-uri :                        UA11 at node.under.test.com    UA12 at node11.under.test.com
>> 2  the test result can be seen as follows:
>>                         NUT  UA11 UA12 UA13 UA14 PX2  PX3  PX4  DNS
>>  No     time             |    |    |    |    |    |    |    |    |
>>  No     time             |    |    |    |    |    |    |    |    |
>> [0001:  0.00|    ]       |--->|    |    |    |    |    |    |    |  NS 
>> [0002:  0.00|    ]       |<---|    |    |    |    |    |    |    |  NA 
>> [0003:  2.87|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
>> [0004:  2.87|U   ] 401   |--->|    |    |    |    |    |    |    | 401 Unauthorized (REGISTER)
>> [0005:  2.94|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
>> [0006:  2.94|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)
>> [0007:  3.00|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
>> [0008:  3.00|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)
>> [0009:  3.04|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
>> [0010:  3.04|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)
>>
>> 0003: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595274
>> Max-Forwards: 70
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>
>> Call-ID: 11174 at lan.example.com
>> CSeq: 1 REGISTER
>> Contact: <sip:UA11 at node.under.test.com;transport=udp>
>> Expires: 3600
>>
>> 0004: >UA11	 SIP/2.0 401 Unauthorized
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595274;received=3FFE:501:FFFF:1:0:0:0:1
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.d84b
>> Call-ID: 11174 at lan.example.com
>> CSeq: 1 REGISTER
>> WWW-Authenticate: Digest realm="under.test.com", nonce="4c147d11e24598379c733aa74854fa99f9880361", qop="auth"
>> Server: OpenSER (1.3.4-tls (i386/linux))
>> Content-Length: 0
>>
>> 0005: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595275
>> Max-Forwards: 70
>> Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c147d11e24598379c733aa74854fa99f9880361", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="d07dd11c48b2385d8f0f147682ead94f"
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>
>> Call-ID: 11174 at lan.example.com
>> CSeq: 2 REGISTER
>> Contact: <sip:UA11 at node.under.test.com;transport=udp>
>> Expires: 3600
>> Content-Length: 0
>>
>> 0006: >UA11	 SIP/2.0 200 OK
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595275;received=3FFE:501:FFFF:1:0:0:0:1
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.405a
>> Call-ID: 11174 at lan.example.com
>> CSeq: 2 REGISTER
>> Date: Sun, 13 Jun 2010 06:34:13 GMT
>> Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=3600
>> Server: OpenSER (1.3.4-tls (i386/linux))
>> Content-Length: 0
>>
>> 0007: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595276
>> Max-Forwards: 70
>> Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c147d11e24598379c733aa74854fa99f9880361", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="d07dd11c48b2385d8f0f147682ead94f"
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>
>> Call-ID: 11174 at lan.example.com
>> CSeq: 3 REGISTER
>> Contact: <sip:11UA11 at node.under.test.com;transport=udp>
>> Expires: 3600
>> Content-Length: 0
>>
>> 0008: >UA11	 SIP/2.0 200 OK
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595276;received=3FFE:501:FFFF:1:0:0:0:1
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.f979
>> Call-ID: 11174 at lan.example.com
>> CSeq: 3 REGISTER
>> Date: Sun, 13 Jun 2010 06:34:13 GMT
>> Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=3600, <sip:11UA11 at node.under.test.com;transport=udp>;expires=3600
>> Server: OpenSER (1.3.4-tls (i386/linux))
>> Content-Length: 0
>>
>> 0009: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595277
>> Max-Forwards: 70
>> Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c147d11e24598379c733aa74854fa99f9880361", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="d07dd11c48b2385d8f0f147682ead94f"
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>
>> Call-ID: 11174 at lan.example.com
>> CSeq: 3 REGISTER
>> Contact: <sip:UA11 at node.under.test.com;transport=udp>
>> Contact: <sip:11UA11 at node.under.test.com;transport=udp>
>> Expires: 3600
>> Content-Length: 0
>>
>> 0010: >UA11	 SIP/2.0 200 OK
>> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9595277;received=3FFE:501:FFFF:1:0:0:0:1
>> From: UA11 <sip:UA11 at under.test.com>;tag=11174
>> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.6168
>> Call-ID: 11174 at lan.example.com
>> CSeq: 3 REGISTER
>> Date: Sun, 13 Jun 2010 06:34:13 GMT
>> Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=3600, <sip:11UA11 at node.under.test.com;transport=udp>;expires=3600
>> Server: OpenSER (1.3.4-tls (i386/linux))
>> Content-Length: 0
>>
>> 3  openser configuration file can be seen in "openser.cfg" attachment
>> How can I modify the configuration file if I want to receive 404 (Not Found)?
>>
>> --------------------------------------
>> Regards!
>> Hu xiaoqiang
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>   
>>     
>
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list