[asterisk-users] Asterisk Registering to other SIP servers.

Bala Neelakantan neel at quintum.com
Wed Mar 7 12:48:07 MST 2007


Hello,

 

I am trying to REGISTER asterisk to a SIP server, which is listening on Port
6060 (not 5060).  

 

The sip.conf file contains

 

register=18474201111:quintum at 192.168.2.94:6060/18474201111

maxexpirey=3600

defaultexpirey=120

 

But the REGISTER message is sent to Port 6060, but the Request-URI still
contains, 5060.  This is being rejected by SIP server.

 

REGISTER sip:192.168.2.94 SIP/2.0

 

The request line instead should be like this:

 

REGISTER sip:192.168.2.94:6060 SIP/2.0

 

See the attached debug logs.

 

 

SIP Debugging enabled

*CLI> reload

Mar  7 13:23:12 NOTICE[17748]: cdr.c:1193 do_reload: CDR simple logging
enabled.

Mar  7 13:23:12 NOTICE[17748]: indications.c:505
ast_unregister_indication_country: Removed default indication country 'us'

Mar  7 13:23:12 WARNING[17748]: chan_zap.c:11029 setup_zap: Ignoring
signalling

Mar  7 13:23:12 WARNING[17748]: chan_zap.c:11029 setup_zap: Ignoring
signalling

*CLI> Mar  7 13:23:12 NOTICE[17759]: chan_sip.c:5465 sip_reregister:    --
Re-registration for  18474201111 at 192.168.2.94

REGISTER 12 headers, 0 lines

Reliably Transmitting (no NAT) to 192.168.2.94:6060:

REGISTER sip:192.168.2.94 SIP/2.0

Via: SIP/2.0/UDP 192.168.2.96:5060;branch=z9hG4bK1d8de05f;rport

From: <sip:18474201111 at 192.168.2.94>;tag=as40ac92ca

To: <sip:18474201111 at 192.168.2.94>

Call-ID: 32e103eb389d6fa76c232e5e7dcb6728 at 127.0.0.1

CSeq: 102 REGISTER

User-Agent: Asterisk PBX

Max-Forwards: 70

Expires: 120

Contact: <sip:18474201111 at 192.168.2.96>

Event: registration

Content-Length: 0

 

Thanks,

Neel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070307/0b694476/attachment.htm


More information about the asterisk-users mailing list