[asterisk-users] Basic Conf

daniel ddonato at email.it
Tue Oct 24 16:47:10 MST 2006


Hi there, I'm tring a basic asterisk settings.
I have a asterisk 1.2.7.1 running on a

I have a net with two computers and a router.
The router IP in the local net is 192.168.1.1, 
The first pc has IP: 192.168.1.3  name datile3 . SO GNU Linux.
the second pc has IP: 192.168.1.4 name fissun . SO GNU Linux.

On datile3, it runs a softphone kphone. From this I want to call the external 
world.
on fissun, it runs asterisk.

On kphone I set as 192.168.1.4 as host and <username> as autentication 
username.

when I run asterisk on fissun, I see only thos warning messages:

Oct 25 01:31:55 WARNING[5549]: pbx.c:6438 ast_context_verify_includes: 
Context ' eutelia' tries includes nonexistent context 'out_eutelia'
[...]
Oct 25 01:31:55 WARNING[5549]: pbx.c:6438 ast_context_verify_includes: 
Context ' eutelia' tries includes nonexistent context 'out_eutelia'
[...]
Oct 25 01:31:55 WARNING[5549]: chan_iax2.c:9582 load_module: Unable to open 
IAX timing interface: No such file or directory


If I run:
sip show registry 
on asterisk (fissun) I see:

Host                            Username       Refresh State
voip.eutelia.it:5060     <username>        8585 Registered

It seems that all is all right. 
But, when I try to call a number from kphone (on datile3), I listen a message 
which say: the number you are dialing it does not exists.


The .conf files:

1) extension.conf:

[general]
static=yes
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[eutelia]
include => out_eutelia
exten=>_XXXXXXXXXX,1,Dial(SIP/100 at out_eutelia,20)
exten => _XXXXXXXXXX,2,Hangup


2) sip.conf:

[general]
context=eutelia                  
realm=voip.eutelia.it          
port=5060               
bindaddr=0.0.0.0     
srvlookup=yes         
defaultexpirey=8600 
useragent=Asterisk_Eut
localnet=192.168.1.1/255.255.255.0

[out_eutelia]
type=peer                       
context=eutelia
secret=xxxxxx
username=<username>             
fromuser=<username>             
fromdomain=voip.eutelia.it
host=voip.eutelia.it
nat=yes
dtmfmode=inband
usereqphone=yes 

[datile3]
type=friend
host=dynamic
username=datile3
context=eutelia
permit=192.168.1.3
default=192.168.1.3
context=eutelia


Is there anybody around who understand where is the problem?
daniel


More information about the asterisk-users mailing list