Page 1 of 1

Inbound Break after any edit using admin interface

PostPosted: Mon Sep 17, 2012 5:05 am
by webgurru
Hi,

VERSION: 2.4-309a
BUILD: 110430-1642


Default Install. No Special software or customization

I have configured DID to take inbound calls. I follow all steps from Manager manual.

Carrier Settings
Code: Select all
[trunk_1]

host=xxx.xxx.xxx.xxx
type=peer
nat=no
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very



Global String
Code: Select all
SIPtrunk=SIP/trunk_1


Dial Plan Entries
Code: Select all
exten => _90XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90XXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _90XXXXXXXXXX,3,Hangup

exten => _900XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900XXXXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _900XXXXXXXXXXXX,3,Hangup

exten => _900XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900XXXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _900XXXXXXXXXXX,3,Hangup

exten => _900XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _900XXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _900XXXXXXXXXX,3,Hangup



When I make any inbound call I receive Invalid extension on CLI

To resolve this I gone thorough forums and found one solution to add this line in

extensions-vicidial.conf under local server

Code: Select all
exten => _X.,1,AGI(agi-DID_route.agi)


After this it start working. But when I add/change any thing in carrier or campaign or DID this line is lost and I am again on INVALID Extension. I have to edit extensions-vicidial.conf file again to add above line and it start working.

Any help is this regard is highly appreciated. I have manager manuals.

Best regards,
Webgurru

Inbound Break after any edit using admin interface SORTED

PostPosted: Mon Sep 17, 2012 7:07 am
by webgurru
Hi All,

I figured out by adding this line

exten => _X.,1,AGI(agi-DID_route.agi)

at the top of dial plan.

Best regards,
Abdul Razaq

Re: Inbound Break after any edit using admin interface

PostPosted: Sun Mar 17, 2013 6:30 pm
by williamconley
inbound calls should be sent to "trunkinbound" in the carrier's "account entry" section by putting this line in:

context=trunkinbound

I'm pretty sure this is covered in the manual ... but the concept is simple: all inbound traffic is expected to arrive at "trunkinbound" in extensions.conf. this is accomplished by putting the above line in the entry for all carriers.