Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17444

Manage chanunavail and hangupcause = 1 calls for try to another extension

$
0
0

@brando16 wrote:

Hi all,

i need to check if a call goes up or is in chanunavail then call the exten with prefix 80.
Follow dialplan rule i wrote for manage this:

exten => 3XX,1,Dial(SIP/AvayaSIP/${EXTEN},20)
exten => _3XX,n,Goto(3xx-${DIALSTATUS})
exten => _3XX,n,NoOp(${DIALSTATUS})
exten => _3XX-CHANUNAVAIL,1,Dial(Local/80${EXTEN},20,Tt)

First rule: call the exten 3XX on SIP trunk with Avaya PBX this call fail with dialstatus described on top
then go to 3XX-CHANUNAVAIL and call local extension. The problem is when the call first extension fail freepbx go to macro-dialout-trunk macro and the following rule of my context doens't execute.

Someone have any idea how to manage this type of call?

Thanks for all reply.

PS: sorry for my bad english :wink:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>