[Asterisk-Users] PHPAGI problems

Hariharan Gopalan hariom100 at gmail.com
Tue May 24 13:53:47 MST 2005


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



More information about the asterisk-users mailing list