[Asterisk-Users] Can't get simple config working!

Andrew Joakimsen andrew at envisionstudio.net
Mon Sep 22 20:49:15 MST 2003


Try 

Nat = yes

Or 

Nat = no




> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of Mike Diehl (Encrypted email
prefer
> red)
> Sent: Monday, September 22, 2003 11:38 PM
> To: asterisk-users at lists.digium.com
> 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 '746374551 at 10.0.1.5' 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 '746374551 at 10.0.1.5' of Response 4964: Not Found
> 
> 
> This is my extensions.conf file:
> 
> [general]
> 
> [from-sip]
> exten   => 1001,1,Dial(sip/1001 at 10.0.1.5,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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list