I setup the IVR with options 1,2,3,4.., which directs to conference rooms, extension numbers and etc. but when I dial 7777 as indicated in the documentation, I get unavailable message. What Do I need to mak this work please?
Feature Code 7777 is "enabled".
You need a default Incoming Routing config to point to the IVR that you created. You create a default Incoming Route by leaving DID Number and Caller ID Number blank.
You can set up your FXO's to support DID routing with one DID per Zap channel.
First, modify your zapata-auto.conf to have a custom context for each channel like this:
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 3
context=from-zaptel-custom-3
group=0
channel => 3
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 4
context=from-zaptel-custom-4
group=0
channel => 4
Notice that each channel has a separate, inbound context.
Then add a little code to extensions_custom.conf that looks like this:
[from-zaptel-custom-3]
exten => s,1,Set(DID=7066323343)
exten => s,2,Set(FROM_DID=7066323343)
exten => s,3,Goto(from-zaptel,7066323343,1)
; end [from-zaptel-custom-3
Make one for [from-zaptel-custom-4] also, with either the same or a different phone number.
Now you can set up DID/CID routes for your Zaptel channels.