Incoming call does not work Analog Trunk

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Incoming call does not work Analog Trunk

Postby tella » Mon Jan 18, 2016 3:53 pm

Hello All,

This is my work...
i am running Aterisk 11.20. on Ubuntu server,

i 've installed a card for outside connectivity such as PSTN line, all users can make outgoing call by prefixed the number with 9..

;General options
usecallerid = yes
hidecallerid = no
callwaiting = yes
threewaycaing = yes
transfer = yes
echocancel = yes
echocancelwhenbridged = yes
rxgain = 0.0
txgain = 0.0
FXO Modules
group = 1
echocancel = yes
signalling = fxs_ks
context = voip
channel = 1

and extensions.conf : users are able to make outgoing call with this following line>>

[voip]
exten => _9.,1,Dial(DAHDI/g1/www${EXTEN : 1})
exten => _9.,2,Congestion


This one is for internal call between users >>

[voip]
exten => _1XX,1,Dial(SIP/${EXTEN},20)
exten => _1XX,2,Hangup()


So now i passed this following command line to route incoming call to extension 100

[voip]
exten => s,1,Answer
exten => s,2,Dial(DAHDI/g1/20,rt)
exten => s,3,Dial(SIP/100)


i got this following erro :
Channel 'DAHDI/1-1' sent to invalid extension but no invalid handler :

please help me to fix this,

Thanks !
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Incoming call does not work Analog Trunk

Postby david55 » Mon Jan 18, 2016 4:24 pm

If you want to continue a section, you must append (+) after the closing square bracket. I'm assuming this works at all in extensions.conf.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Incoming call does not work Analog Trunk

Postby tella » Mon Jan 18, 2016 8:15 pm

Will do .
Thanks ! But I really hope that the + sign resolve this issue.
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Incoming call does not work Analog Trunk

Postby david55 » Tue Jan 19, 2016 2:00 am

It is "(+)" not just "+". If you don't have it, only one of the sections will actually be used.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Incoming call does not work Analog Trunk

Postby tella » Tue Jan 19, 2016 7:31 am

Okay i inderstand ut both internal and outbound calls woks, they use the same section [voip] withouy a "(+)".

Please let me know your thought.

Thanks !
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Incoming call does not work Analog Trunk

Postby tella » Tue Jan 19, 2016 9:23 am

Thanks !
It works ! both outbond and inbound call work as well internal call between extension, i found a new issue, if i make a reboot on the server,when reload asterisk i need to start the server by typing this comand
# asterisk
# asterisk -crv

to make everithing works again,,,
Please help me to resolve this .

Thanks !
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Incoming call does not work Analog Trunk

Postby navaismo » Tue Jan 19, 2016 3:05 pm

Enable the startup script(if you ran the make samples) with:

Code: Select all
chkconfig asterisk --add
chkconfig asterisk on


and check that run levels 3,4,5 has on with the command

Code: Select all
chkconfig --list | grep asterisk
navaismo
Salt of the Asterisk
 
Posts: 1610
Joined: Mon Dec 07, 2009 1:30 pm
Location: Mexico City, Mexico

Re: Incoming call does not work Analog Trunk

Postby tella » Wed Jan 20, 2016 11:52 am

Thank you :

But i ve proceeded like that :
Under asterisk directory , #make config
then i rebooted the system,everything is fine. But i wonder why i found this issue if #make config fixed this, i did it while installing asterisk.
Thanks !
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am


Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 4 guests