Hi all,
I’m tring to make a custom extension in the /etc/asterisk/extensions_custom.conf
My setup is:
Nortel Meridian 11c => 1XXX
Freepbx current version => 8XXX
The 2 pbx are connected via E1 cards
What I’m trying to do is for example is to call from the asterisk to the nortel and if nobody answer in a limit of time or rings then fwd the call to the IVR o to the operator
this is what i got
[from-internal]
exten => s,1,Wait(1)
exten => s,n,playback(one-moment-please)
exten => s,n,Macro(dialout-trunk,1,1112,)
exten => s,n,Wait(1)
exten => s,n,Macro(dialout-trunk,1,1000,)
I need to set a timeout between line 2 and 3, but I don’t have that variable or function
please advise
Thanks
Jorge
You’re not giving nearly enough information to give a definitive answer, so I’ll take a stab in the dark and say that you probably want to use a Ring Group to accomplish this.
I dig a little more in google and find some examples
This is calling from the asterisk to the nortel
The problem was if somebody enters the IVR (asterisk) and make a direct call to a nortel ext it will work but the nortel never gives a ‘NOANSWER’ it will ring for ever thats why I need to do this. Is it rings for 20 sec it will playback and transfer to the operator.
[from-internal]
include => from-pstn
exten => _1XXX,1,Wait(1)
exten => _1XXX,n,playback(one-moment-please)
exten => _1XXX,n,dial(Zap/g0/${EXTEN},20)
exten => _1XXX,n,Goto(transfer,1)
exten => transfer,1,playback(the-party-you-are-calling)
exten => transfer,2,playback(is-curntly-unavail)
exten => transfer,3,dial(Zap/g0/1000,20)
thanks
Jorge