Index: [Article Count Order] [Thread]

Date: Thu, 23 Aug 2007 14:41:41 +0900
From: Yoshihiro Inoue <yoshihiro.inoue@ntt-at.co.jp>
Subject: [users:00358] Re: ct-sip-ipv6-px: sip message is not sent to           default port 5060
To: hmson@tma.com.vn
Cc: users@tahi.org
Message-Id: <46CD1E15.3070903@ntt-at.co.jp>
In-Reply-To: <1334.220.110.16.19.1187843587.squirrel@webmail.tma.com.vn>
References: <3473.220.110.16.19.1187769320.squirrel@webmail.tma.com.vn>    <200708221655.FMLAAB85076.users@tahi.org>    <3504.220.110.16.19.1187770659.squirrel@webmail.tma.com.vn>    <46CCE3DE.9000804@ntt-at.co.jp>    <1219.220.110.16.19.1187834185.squirrel@webmail.tma.com.vn>    <46CCEF12.4000009@ntt-at.co.jp> <1334.220.110.16.19.1187843587.squirrel@webmail.tma.com.vn>
X-Mail-Count: 00358

Hi Son,


 > Do I have to change Asterisk source code to make it send response
 > message to port 5060?

If you want to get Logo(IPv6 Ready Logo phase-2 SIP),
you must change Asterisk source code.
Even if you don't want Logo, you should change Asterisk source code for
interoperability, I think.


Best Regards,
Yoshihiro

hmson@tma.com.vn wrote:
> Hi Yoshihiro
> 
> I am using UDP transport.
> 
> Test tool version:
>    + ct-sip-ipv6-px-1.2.2
>    + v6eval-3.0.12
>    + koi-sip-1.1.0
> 
>> Even if tester sends REGISTER by port(54539),
>> Asterisk must send Response to port(5060).
> Do I have to change Asterisk source code to make it send response message
> to port 5060?
> 
> 
> Attachment is the test log.
> 
> Thanks a lot
> 
> Son
> 
> 
>> Hi Son,
>>
>> Did you use UDP transport?
>>
>> If you use UDP transport, please check RFC3261 18.2.2.
>>        o  Otherwise (for unreliable unicast transports), if the top Via
>>           has a "received" parameter, the response MUST be sent to the
>>           address in the "received" parameter, using the port indicated
>>           in the "sent-by" value, or using port 5060 if none is specified
>>           explicitly.  If this fails, for example, elicits an ICMP "port
>>           unreachable" response, the procedures of Section 5 of [4]
>>           SHOULD be used to determine where to send the response
>>
>> Even if tester sends REGISTER by port(54539),
>> Asterisk must send Response to port(5060).
>>
>> If you used TCP/TLS transport,
>> please send log file(*.html) to me and tell me test tool version.
>>
>> Best Regards
>> Yoshihiro
>>
>> hmson@tma.com.vn wrote:
>>> Hi Yoshihiro
>>>
>>> I am not sure about this. Below is from my data caputure, please have a
>>> look:
>>>
>>> TN                                 NUT
>>>                       REGISTER
>>> UA11                 --------->    Asterisk
>>> (source port: 54539)               (destination port: 5060)
>>>
>>>                        Trying
>>> UA11                 <---------    Asterisk
>>> (dest port: 54539)                 (source port: 5060)
>>>
>>> Thanks
>>>
>>> Son
>>>
>>>> Hi Son,
>>>>
>>>> I think this problem is caused by NUT.
>>>>
>>>> This error message says Asterisk-v6 sent SIP message to wrong
>>>> port(54539).
>>>>
>>>> Reference: RFC3261 18.2.2
>>>>
>>>> Please check the port Asterisk-v6 sent SIP message.
>>>>
>>>> Best Regards,
>>>> Yoshihiro
>>>>
>>>>
>>>> hmson@tma.com.vn wrote:
>>>>> Hi
>>>>>
>>>>> I am running ct-sip-ipv6-px to test Asterisk-v6. I've got error like
>>>>> below:
>>>>> SIP: the SIP message(54539) MUST be sent to the default port(5060).
>>>>>
>>>>> I guess there must be some setting in TN wrong but I don't know.
>>>>>
>>>>> Thanks for any help.
>>>>>
>>>>> Son
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>