Unable to register with my outbound provider, here is debug for my provider ip. Getting error 405 “Method Not Allowed”.
XXX.XXX.XXX.XXX => provider IP
YYY.YYY.YYY>YYY =>my server IP.
Best regards,
AL
[Jan 31 23:30:23] NOTICE[2423]: chan_sip.c:7588 sip_reregister: – Re-registration for my_user_name@sip.my_provider.com
REGISTER 12 headers, 0 lines
Reliably Transmitting (NAT) to xxx.xxx.xxx.xxx:5060:
REGISTER sip:sip.my_provider.com SIP/2.0
Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK3b34ecc7;rport
From: sip:my_user_name@sip.my_provider.com;tag=as61a1ec5c
To: sip:my_user_name@sip.my_provider.com
Call-ID: 68266b317da0600c2dcde741755ede74@127.0.0.2
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 240
Contact: sip:s@YYY.YYY.YYY.YYY
Event: registration
Content-Length: 0
<— SIP read from xxx.xxx.xxx.xxx:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK3b34ecc7;received=YYY.YYY.YYY.YYY;rport=5060
From: sip:my_user_name@sip.my_provider.com;tag=as61a1ec5c
To: sip:my_user_name@sip.my_provider.com;tag=gss6a9c9883a5f434114cb028fc3aebc4cf
Call-ID: 68266b317da0600c2dcde741755ede74@127.0.0.2
CSeq: 102 REGISTER
Server: My_provider UAS v110.08
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Contact: sip:s@YYY.YYY.YYY.YYY
Date: Sun, 01 Feb 2009 05:30:23 GMT
Content-Length: 0
<------------->
— (11 headers 0 lines) —
Scheduling destruction of SIP dialog ‘68266b317da0600c2dcde741755ede74@127.0.0.2’ in 32000 ms (Method: REGISTER)
[Jan 31 23:30:24] NOTICE[2423]: chan_sip.c:12776 handle_response_register: Outbound Registration: Expiry for sip.my_provider.com is 240 sec (Scheduling reregistration in 225 s)
Scheduling destruction of SIP dialog '2510cde35a754348209ebfbf31b9080d@YYY.YYY.YYY.YYY’ in 32000 ms (Method: NOTIFY)
Reliably Transmitting (NAT) to xxx.xxx.xxx.xxx:5060:
NOTIFY sip:my_user_name@sip.my_provider.com SIP/2.0
Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK178dc667;rport
From: “asterisk” sip:my_user_name@YYY.YYY.YYY.YYY;tag=as75943980
To: sip:my_user_name@sip.my_provider.com
Contact: sip:my_user_name@YYY.YYY.YYY.YYY
Call-ID: 2510cde35a754348209ebfbf31b9080d@YYY.YYY.YYY.YYY
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 89
Messages-Waiting: no
Message-Account: sip:9850@YYY.YYY.YYY.YYY
Voice-Message: 0/0 (0/0)
sip*CLI>
<— SIP read from xxx.xxx.xxx.xxx:5060 —>
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK178dc667
From: “asterisk” sip:my_user_name@YYY.YYY.YYY.YYY;tag=as75943980
To: sip:my_user_name@sip.my_provider.com;tag=fegss
Call-ID: 2510cde35a754348209ebfbf31b9080d@YYY.YYY.YYY.YYY
CSeq: 102 NOTIFY
Server: My_provider UAS v110.08
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Contact: sip:xxx.xxx.xxx.xxx
Accept: application/sdp
Content-Length: 0
<------------->
— (11 headers 0 lines) —
– Got SIP response 405 “Method Not Allowed” back from xxx.xxx.xxx.xxx
Really destroying SIP dialog '2510cde35a754348209ebfbf31b9080d@YYY.YYY.YYY.YYY’ Method: NOTIFY
Really destroying SIP dialog ‘68266b317da0600c2dcde741755ede74@127.0.0.2’ Method: REGISTER
sip*CLI>