[Home]

Summary:ASTERISK-10066: Asterisk ignores port in register directive
Reporter:amatory (amatory)Labels:
Date Opened:2007-08-11 19:14:04Date Closed:2011-06-07 14:03:19
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I have seen this error in both Asterisk 1.2.18 and 1.4.6.

I have the following register string in sip.conf

register=username:password@192.168.14.250:6060/username

Asterisk should thus send the register request to: 192.168.14.250 at port 6060. However, it sends the request to standard 5060 port. Here is the output from CLI

Retransmitting ASTERISK-1 (NAT) to 192.168.14.250:5060:
REGISTER sip:192.168.14.250:6060 SIP/2.0
Via: SIP/2.0/UDP 192.168.14.104:5070;branch=z9hG4bK3a63040b;rport
From: <sip:username@192.168.14.250>;tag=as7857a350
To: <sip:username@192.168.14.250>
Call-ID: 7dba5db402361ef80ba686c94f60bc51@127.0.0.1
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:username@192.168.14.104:5070>
Event: registration
Content-Length: 0
Comments:By: Joshua C. Colp (jcolp) 2007-08-13 10:38:51

Can you please provide your sip.conf minus passwords? I was unable to reproduce this using mine.

By: Joshua C. Colp (jcolp) 2007-09-04 09:52:50

Suspended due to lack of feedback. If you can provide the needed information feel free to reopen with it.