Bala Neelakantan
2007-Mar-07 12:47 UTC
[asterisk-users] Asterisk Registering to other SIP servers.
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@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@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@192.168.2.94>;tag=as40ac92ca To: <sip:18474201111@192.168.2.94> Call-ID: 32e103eb389d6fa76c232e5e7dcb6728@127.0.0.1 CSeq: 102 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Expires: 120 Contact: <sip:18474201111@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
Olle E Johansson
2007-Mar-07 13:45 UTC
[asterisk-users] Asterisk Registering to other SIP servers.
7 mar 2007 kl. 20.48 skrev Bala Neelakantan:> 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@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 I don't see "5060" in the request URI ? I don't see 6060 either, which should be there... Please file a bug report at bugs.digium.com Thanks /O> > 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@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@192.168.2.94>;tag=as40ac92ca > > To: <sip:18474201111@192.168.2.94> > > Call-ID: 32e103eb389d6fa76c232e5e7dcb6728@127.0.0.1 > > CSeq: 102 REGISTER > > User-Agent: Asterisk PBX > > Max-Forwards: 70 > > Expires: 120 > > Contact: <sip:18474201111@192.168.2.96> > > Event: registration > > Content-Length: 0 > > > Thanks, > > Neel > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users--- * Olle E Johansson - oej@edvina.net * Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden
Apparently Analagous Threads
- Jan 16 17:49:33 murowall kernel: Shorewall:loc2net:CONTINUE:IN=eth0 OUT=eth2 SRC Shorewall:FORWARD:REJECT:IN=eth0 OUT=eth2
- (no subject)
- OPTIONS Request without username <-> Forbidden
- Curious problem with NAT
- asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'