NO JOY Simplest configuration with POTS only IVR

Saptarshi

New Member
Joined
Jun 19, 2013
Messages
5
Reaction score
1
I've installed PIAF with a Sangoma A200 with four FXO ports. I'd like to create a simple IVR, that will receive calls on a PSTN phone, play a menu, when someone presses a number, redirect from one of the other PSTN line to a number from the address book.
I'm running the DAHDI config and have created a group for the analog numbers. Any suggestions or tutorials to point to for a POTS only IVR? All tutorials are pointing to use of SIP or VoIP
 

Saptarshi

New Member
Joined
Jun 19, 2013
Messages
5
Reaction score
1
Thanks, I've got the inbound calls working with the CID and it plays the IVR menu now. I've got this setup through a DAHDI trunk (4 FXO ports), with two channels (group 0) setup for inbound routes and two channels (1 group) for outbound. In the IVR extension I've tried setting ring groups with the external number (with the # at the end), I've tried Misc Destination as well. But nothing results in forwarding the incoming call to the outgoing numbers. I've setup a number 4 destination. It plays the sound "Call cannot be completed as dialed". Following is the most relevant part I think from the asterisk log.:

[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [4@ivr-1:1] Goto("DAHDI/4-1", "ext-miscdests,3,1") in new stack
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Goto (ext-miscdests,3,1)
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [3@ext-miscdests:1] NoOp("DAHDI/4-1", "MiscDest: mynum") in new stack
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [3@ext-miscdests:2] Goto("DAHDI/4-1", "from-internal,9867258758,1") in new stack
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Goto (from-internal,9867258758,1)
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:1] ResetCDR("DAHDI/4-1", "") in new stack
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:2] NoCDR("DAHDI/4-1", "") in new stack
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:3] Progress("DAHDI/4-1", "") in new stack
[2015-07-29 07:03:35] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:4] Wait("DAHDI/4-1", "1") in new stack
[2015-07-29 07:03:36] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:5] Progress("DAHDI/4-1", "") in new stack
[2015-07-29 07:03:36] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:6] Playback("DAHDI/4-1", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
[2015-07-29 07:03:36] VERBOSE[15116][C-0000037c] file.c: -- <DAHDI/4-1> Playing 'silence/1.ulaw' (language 'en')
[2015-07-29 07:03:37] VERBOSE[15116][C-0000037c] file.c: -- <DAHDI/4-1> Playing 'cannot-complete-as-dialed.ulaw' (language 'en')
[2015-07-29 07:03:40] VERBOSE[15116][C-0000037c] file.c: -- <DAHDI/4-1> Playing 'check-number-dial-again.ulaw' (language 'en')
[2015-07-29 07:03:42] VERBOSE[15116][C-0000037c] pbx.c: -- Executing [9867258758@from-internal:7] Wait("DAHDI/4-1", "1") in new stack
Full log is here: http://pastebin.com/sH3YqF59
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Sounds like something's up with your outbound routes. If you dial the desired number manually from an extension, does the call connect?
 

Saptarshi

New Member
Joined
Jun 19, 2013
Messages
5
Reaction score
1
Thanks... after a lot of different configurations, I followed rossiv's advice and checked the outbound routes. I realized that the problem was with the pattern matching and fixed it with the correct number of X. Now I've got it to work.
What is the best way to restrict the inbound and outbound calls only to people in the asterisk phonebook? Currently, its able to receive and make calls to even people who are not on the address book
 

Members online

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top