[Asterisk-Users] dialing 2 channels at thesametimewithdifferentcaller ID number?

Damon Estep damon at suburbanbroadband.net
Tue Jan 31 19:44:48 MST 2006


Damon Said;
> 
> > Channel variable will not pass from original macro to local
channel...
> >
> > Did I miss something?
> >
> >
> 

Alex Lopez said;

> Yes you must prefix a variabel with __ that's (2) _ underscores so
that
> it cross channels.
> 

Man, this is killing me...

I SET THE VARIABLE WITH THE 2 UNDERSCORES

    -- Executing Set("Zap/18-1", "__CALLEDNUM=3035551212") in new stack

VARIABLE CONFIRMED SET


    -- Executing Dial("Zap/18-1",
"sip/3035551212&local/7205551313 at alternate/n|30|tr") in new stack
   
Noop(${__CALLEDNUM}) ON LOCAL CHANNEL OUTPUTS;

    -- Executing NoOp("Local/7205551313 at alternate-da22,2", "") in new
stack

SHOULD HAVE BEEN

-- Executing NoOp("Local/7205551313 at alternate-da22,2", "3035551212") in
new stack

IF VARIABLE PASSED TO LOCAL/ CHANNEL

ANY OTHER IDEAS?

THANKS FOR STICKING WITH THIS!
   




More information about the asterisk-users mailing list