Steven,
Do you think the below dialplan would be typical for almost any
[EMAIL PROTECTED] setup? If so, I'll add it as supplimental documentation
for HooDaHek for those wanting to use it on [EMAIL PROTECTED]
Thanks,
Nathan
Steven wrote:
I played around with finding the right place to call the agi.
Since my config started as [EMAIL PROTECTED], there are a lot of macros that
complicate things.
I put the agi in the macro-dial and it is working as expected. (just the
CLID record and change)
Thanks for the new tool.
ref:
[macro-dial]
exten => s,1,GotoIf($[ "${MACRO_CONTEXT}" = "macro-rg-group" ]?4:2) ; if
this is from rg-group, don't strip prefix
exten =>
s,2,agi,hoodahek_dbhandle|${CALLERIDNAME}|${CALLERIDNUM}|${UNIQUEID}
exten => s,3,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} !=
${RGPREFIX}]?4:4) ; check for ring-group prefix
exten => s,4,SetCIDName(${CALLERIDNAME:${LEN(${RGPREFIX})}}) ; strip off
prefix
exten => s,5,AGI,dialparties.agi
exten => s,6,NoOp(Returned from dialparties with no extensions to call)
exten => s,7,SetVar(DIALSTATUS=BUSY)
exten => s,10,Dial(${ds})
--
-------------------------------------
Nathan E. Pralle
Give the Director a Serpent Deflector
www.nathanpralle.com
-------------------------------------
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users