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:[EMAIL PROTECTED]: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 [EMAIL PROTECTED]

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:[EMAIL PROTECTED]>;tag=as40ac92ca

To: <sip:[EMAIL PROTECTED]>

Call-ID: [EMAIL PROTECTED]

CSeq: 102 REGISTER

User-Agent: Asterisk PBX

Max-Forwards: 70

Expires: 120

Contact: <sip:[EMAIL PROTECTED]>

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 - [EMAIL PROTECTED]
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden



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

Reply via email to