[asterisk-dev] [PATCH] CLID spoof option added to Dial application

Johansson Olle E olle at voop.com
Fri Jul 7 06:00:24 MST 2006


7 jul 2006 kl. 14.33 skrev Tony Howat:

> Hi Asteriskers,
>
> Can I draw your attention to http://bugs.digium.com/view.php?id=7498 ?
>
> This patch adds an s(callerid:calleridname) option to dial which  
> overrides "normal" clid alterations within dial. It is necessary as  
> in some applications you wish to Dial a number and "spoof" the  
> CLID. eg. I have an application where I need to outdial to a secure  
> line where the PBX will only accept calls with a certain CLID -  
> this doesn't match my "normal" CLID which I don't actually want to  
> alter.
>
> I proposed this idea earlier in the week on asterisk-dev and had no  
> objections so got on and did it :)

Read my next book: "The complete guide to Asterisk DIAL()" :-) Let's  
be a bit careful about
options we add to dial...

If you change callerid for the channel using the dialplan functions,  
it is only changed for that channel, not for the next call from the  
user/peer. What does this add?

/Olle


---
Olle E. Johansson * Asterisk Evangelist, developer * VOOP A/S
olle at voop.com






More information about the asterisk-dev mailing list