HI All,

I have installed Asterisk 1.4.26.2 on a centOS box on a public IP and trying to 
connect from softphone behind ADSL router.

The softphone is not able to register, we get some SIP messages on the server, 
which look like below.

Please advise where could be the issue.

Thnx
Rakesh

---
Retransmitting #3 (NAT) to x.x.x.x:38155:
OPTIONS sip:[email protected]:5060;rinstance=5b19b87f10954011;transport=UDP 
SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:5060;branch=z9hG4bK39432aec;rport
From: "asterisk" <sip:[email protected]>;tag=as7d8aae9d
To: <sip:[email protected]:5060;rinstance=5b19b87f10954011;transport=UDP>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 16 Oct 2009 10:47:56 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0


---
Retransmitting #4 (NAT) to x.x.x.x:38155:
OPTIONS sip:[email protected]:5060;rinstance=5b19b87f10954011;transport=UDP 
SIP/2.0
Via: SIP/2.0/UDP x.x.x.x:5060;branch=z9hG4bK39432aec;rport
From: "asterisk" <sip:[email protected]>;tag=as7d8aae9d
To: <sip:[email protected]:5060;rinstance=5b19b87f10954011;transport=UDP>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 16 Oct 2009 10:47:56 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0

--------------------

sip.conf ----

[general]
context = tutorial
bindport = 5060
bindaddr =0.0.0.0
domain = x.x.x.x
nat=yes
disallow = all
allow = alaw
keeprtpalive = yes
notifyringing = yes
canreinvite = no
type = peer
realm = asterisk
qualify = yes

[test2]
type = peer
host = dynamic
username = test2
context = tutorial
port = 5060
notifyringing = yes
nat = yes
type = friend
canreinvite = no
realm = asterisk
qualify = yes
mailbox=...@mb_tutorial

---------------


      

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to