[Asterisk-Users] *67 or *57

Peter Svensson psvasterisk at psv.nu
Sat Nov 27 04:59:59 MST 2004


On Sat, 27 Nov 2004, Peter Svensson wrote:

> On Sat, 27 Nov 2004, Roy Sigurd Karlsbakk wrote:
> 
> > > How to implement some of the function into asterisk like *67 "call
> > > number blocking"
> > 
> > exten => _*67*X.,1,CallerPres(32)
> > exten => _*67*X.,1,Dial(Zap/g1/${EXTEN:4},${TIMEOUT},${DIALOPTS}))
> 
> Do you mean CallingPres? There is more information on
>   http://www.voip-info.org/wiki-Asterisk+cmd+CallingPres
> I think you may need to put "usecallingpres=yes" in the zapata.conf file 
> for this to work.

I know it is bad form replying to my own email. I should have read a bit 
more of the source first. 

There is a newer version of the function called SetCallerPres() that it is 
probably better to use. It is less tied to the internals of chan_zap. The 
calling presentation is also used (or at least passed) by chan_iax.

Peter





More information about the asterisk-users mailing list