[Asterisk-Users] *67 or *57

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


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.

As a side not, the incoming caller presentation seems to be available in 
the CALLINGPRES pseudo variable.

> > or *57 "call trace" ?
> 
> wtf is call trace?

Perhaps he wants to identify the last caller id of the last caller? A 
suggestion would be to store the caller id in either astdb or an external 
database and pull up the number on *57.

Peter





More information about the asterisk-users mailing list