Hello,
I have in production Asterisk 1.8.7 running with A2Billing 1.9.4, where I’m handling incoming and outgoing traffic properly.
My Actual working inbound dialplan is the following:
[quote][inbound-did]
exten => _X.,1,AGI(a2billing.php,1,did)
exten => _X.,2,Hangup()[/quote]
I wanted to do the following:
- If user is unavailable, unreachable, play back unavailable IVR- Without Answering the call.
- If the user is busy, playback busy IVR- Without answering the call.
- If the destination user dosn’t exist (the DID not in use, neither assigned to any user), without answering, playback an IVR as unused/ unvalid preloaded IVR.
- If the destination user is congestioned, or if there’s any congestion in my system, playback a preloaded IVR, without answering the call.
So, as not expert, I was readin the dialplan documentation, and I wrote the following (Sorry, it’s simple and so confused):
[quote][inbound-did]
exten => _X.,1,AGI(a2billing.php,1,did)
exten => i,3,Answer
exten => s,n,Goto(s-${DIALSTATUS},1)= “BUSY”]?busy:unavail)
exten => s,n(unavail)Playback(pbx-invalid)
exten => s,n(busy)Playback(busy)
exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => _X.,2,Hangup()[/quote]
But this one, apparently it’s not working, the playback it’s running, but no voice, as there’s no answer, I guess, or I don’t know, what’s wrong, but not playing any back IVR…
Can any one, please, just advice me, about if this possible, to playback the IVR without answering the call?? The purpose from this, is to play the message from my server, avoid the caller to be billed from his originating carrier, and avoid also, that the originating carrier play him his own message…
Thanks for advice!