[Asterisk-Users] PHPAGI problems

Jay Milk jay at skimmilk.net
Tue May 24 14:37:03 MST 2005


Try to run the script from the command line -- it should be hash-banged,
so you should be able to run it from the shell.  When you run it like
that, you should see error messages.

> -----Original Message-----
> From: Hariharan Gopalan [mailto:hariom100 at gmail.com] 
> Sent: Tuesday, May 24, 2005 3:54 PM
> To: Asterisk-Users at lists.digium.com
> Subject: [Asterisk-Users] PHPAGI problems
> 
> 
> Hi
> Here is part of my extensions.conf
> 
> exten => 8661231234,1,agi,dtmf.php
> 
> When I dial this number, this is what I see in my asterisk console:
> 
>  -- Accepting AUTHENTICATED call from 198.22.67.70:
>        > requested format = gsm,
>        > requested prefs = (),
>        > actual format = gsm,
>        > host prefs = (gsm|ilbc|speex),
>        > priority = mine
>     -- Executing AGI("IAX2/NuFone at 198.22.67.70:4569-2", 
> "dtmf.php") in new stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/dtmf.php
>     -- AGI Script dtmf.php completed, returning 0
>     -- Hungup 'IAX2/NuFone at 198.22.67.70:4569-2'
> 
> When I dial, this does not do anything, and just disconnects.
> 
> But if I dont use the phpagi.php, I am able to run a simple 
> php agi script well.
> 
> Wonder what I am doing wrong.
> 
> Any help is highly appreciated
> 
> Thanks
> Hariom
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list