[asterisk-users] Re: [1.2.18] Wrong steps in extensions.conf?

Luis Morales lmorales at sigmadental.net
Wed May 30 17:09:25 MST 2007


Hi Vincent,

To rewrite caller id with the result of your query
$AGI->exec('SetCallerId', $response->content);

This is only example. You can remove this line from the script.

Remember call the script with this parameters: 
exten => group,n,AGI(web.agi|${CALLERID(num)}|${CALLERID(name)}|
${EXT204})

Regards,

Luis Morales 


On Thu, 2007-05-31 at 01:48 +0200, Vincent wrote:
> On Tue, 29 May 2007 07:39:40 -0400, in
> gmane.comp.telephony.pbx.asterisk.user  Luis Morales wrote:
> ># send the result over callerid ;-)
> >$AGI->exec('SetCallerId', $response->content); 
> >$AGI->exec('Dial', "$ext");
> >$AGI->hangup();
> 
> I'm sorry, but I don't understand why you added this in the script
> that updates the web page.
> Isn't LookupCIDName blocking, ie. the next step won't be run until
> LookupCIDName is done?
> 
> exten => group,1,LookupCIDName
> exten => group,n,AGI(web.agi|${CALLERID(num)}|${CALLERID(name)})
> exten => group,n,Dial(${EXT204})
> 
> BTW, is LookupCIDName a binary program, or a script somewhere?
> 
> Thank you.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
.-.-.-.-.-.-.-.-.-.-.-.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
  Sigma Dental Plan
  Jefe de Soporte y Sistemas
  Telf. Oficina   : +58(212)2646811
  Cel.            : +58(416)4242091
  Caracas, Venezuela
.-.-.-.-.-.-.-.-.-.-.-.-.--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.



More information about the asterisk-users mailing list