>>>>> "DG" == Douglas Garstang <[EMAIL PROTECTED]> writes:
DG> So, in the event that the logic flows beyond
DG> coo1_OnNet, we want to reset the caller id of say, 3254001 <Doug>,
DG> to 3254000 <Widgets Inc>.
DG> exten => 3254101,1,Dial(SIP/3254101,20,tr)
DG> exten => 3254102,1,Dial(SIP/3254102,20,tr)
DG> exten => 3254103,1,Dial(SIP/3254103,20,tr)
[coo1_CallStart]
include => coo1_OnNet
You want something which executes here, if coo1_OnNet didn't match?
exten => _.,1,Set(CALLERID(all)=Widgets Inc <3254001>)
will do that.
If you then want to continue in priority 1 instead of 2, you just do
exten => _.,n,Goto(coo1_CallStart2,${EXTEN},1)
[coo1_CallStart2]
include => syst_OnNet
include => syst_OffNet
/Benny
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users