>>>>> "DG" == Douglas Garstang <[EMAIL PROTECTED]> writes:
DG> Ok, but how does that help me? All I want to do is set a variable
DG> to be used later on in the dialplan. Eg, if someone dialls
DG> 2944000, which is in a different company...:
DG> [co1_phone-start]
DG> include => co1_did
DG> include => sys_glue
DG> [co1_did]
DG> exten => 3254101,1,Dial(SIP/3254101,18,tr)
DG> exten => 3254102,1,Dial(SIP/3254102,18,tr)
DG> exten => 3254103,1,Dial(SIP/3254103,18,tr)
DG> ; No match, so now we want to use the external caller id variable for use
later on, when
DG> ; we finally dial the dest number after performing all restriction and
feature checks.
DG> ; Actually I just realised we want to SET the caller id.
DG> [sys-glue]
DG> include co1_did
DG> include co2_did
Change co1_phone-start to:
include => co1_did
exten => _.,1,Set(CALLERID(num)=12345)
exten => _.,n,Goto(sys-glue,${EXTEN},1)
/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