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
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>