Try 

Nat = yes

Or 

Nat = no




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Mike Diehl (Encrypted email
prefer
> red)
> Sent: Monday, September 22, 2003 11:38 PM
> To: [EMAIL PROTECTED]
> Subject: [Asterisk-Users] Can't get simple config working!
> 
> Hi all.
> 
> I'm trying to get a simple configuration working so I can later expand
it
> to
> something more interesting.
> 
> I'm using kphone to call an extension on the * server.  When I try to
> connect,
> I get this error:
> 
> DEBUG[81926]: File chan_sip.c, Line 3562 (check_user): Setting NAT on
RTP
> to 0
> DEBUG[81926]: File chan_sip.c, Line 527 (__sip_ack): Stopping
> retransmission
> on '[EMAIL PROTECTED]' of Response 4963: Found
> DEBUG[81926]: File chan_sip.c, Line 3562 (check_user): Setting NAT on
RTP
> to 0
> NOTICE[81926]: File pbx.c, Line 1171 (pbx_extension_helper): Cannot
find
> extension context 'from-sip'
> DEBUG[81926]: File chan_sip.c, Line 527 (__sip_ack): Stopping
> retransmission
> on '[EMAIL PROTECTED]' of Response 4964: Not Found
> 
> 
> This is my extensions.conf file:
> 
> [general]
> 
> [from-sip]
> exten   => 1001,1,Dial(sip/[EMAIL PROTECTED],20)
> exten   => 1001,2,Voicemail(u1001)
> exten   => 1001,102,Voicemail(b1001)
> exten   => 1001,103,Hangup
> 
> exten   => 1002,1,Dial(1002,20)
> exten   => 1002,2,Voicemail(u1002)
> exten   => 1002,102,Voicemail(b1002)
> exten   => 1002,103,Hangup
> 
> 
> And this is my sip.conf file.
> [general]
> 
> port = 5060
> bindaddr = 0.0.0.0
> allow = all
> dtmfmode = inband
> context = from-sip
> 
> [1001]
> username = 1001
> type = friend
> context = from-sip
> mailbox = 1001
> host = dynamic
> secret = liebchen
> nat = 0
> 
> [1002]
> username = 1002
> type = friend
> context = from-sip
> mailbox = 1002
> host = dynamic
> secret = liebchen
> nat = 0
> 
> 
> 
> Any ideas?
> 
> Thanx,
> Mike.
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to