[asterisk-dev] [feature requests]: 'zap answer confirmation info' and 'different clis on forking'

Jared Smith jaredsmith at jaredsmith.net
Tue May 16 07:54:26 MST 2006


On Tue, 2006-05-16 at 10:35 -0400, Peter Beckman wrote:
>   Not with a single Dial command with multiple channels is that possible.
>   Instead, if CLID is more important than attempting both calls
>   simultaneously, do separate calls:
> 
>   exten => s,1,SetCallerID(0023123456 <0023123456>)
>   exten => s,n,Dial(SIP/88888 at sipproxy.domain.com|20)
>   exten => s,n,SetCallerID(23123456 <23123456>)
>   exten => s,n,Dial(Zap/G1c/0023777777)

There's no reason you can't do it simultaneously, using chan_local.
(This is untested code -- but should give you what you need to make it
run.)

exten => s,1,SetCallerID(0023123456 <0023123456>)
exten => s,n,Dial(SIP/88888 at sipproxy.domain.com&Local/ss at context|20)

exten => ss,1,SetCallerID(23123456 <23123456>)
exten => ss,n,Dial(Zap/G1c/0023777777)

As for your other question about call confirmations, you may want to
check out either the 'a' option (to announce to the called party that
they need to confirm the receipt of the call), or the 'p' option.  While
the 'p' option probably isn't a perfect fit, I often find it's easier
for people to grasp than Dial macros like Peter explained.

In short, both of your problems can be solved in the dialplan.

-Jared




More information about the asterisk-dev mailing list