Mike Diehl (Encrypted email prefer red)
2003-Sep-22 20:38 UTC
[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@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@10.0.1.5' of Response 4964: Not Found This is my extensions.conf file: [general] [from-sip] exten => 1001,1,Dial(sip/1001@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.
Try Nat = yes Or Nat = no> -----Original Message----- > From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users- > admin@lists.digium.com] On Behalf Of Mike Diehl (Encrypted emailprefer> red) > Sent: Monday, September 22, 2003 11:38 PM > To: asterisk-users@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 expandit> 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 onRTP> to 0 > DEBUG[81926]: File chan_sip.c, Line 527 (__sip_ack): Stopping > retransmission > on '746374551@10.0.1.5' of Response 4963: Found > DEBUG[81926]: File chan_sip.c, Line 3562 (check_user): Setting NAT onRTP> to 0 > NOTICE[81926]: File pbx.c, Line 1171 (pbx_extension_helper): Cannotfind> extension context 'from-sip' > DEBUG[81926]: File chan_sip.c, Line 527 (__sip_ack): Stopping > retransmission > on '746374551@10.0.1.5' of Response 4964: Not Found > > > This is my extensions.conf file: > > [general] > > [from-sip] > exten => 1001,1,Dial(sip/1001@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@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users