[Asterisk-Users] PHPAGI problems

Brian C. Fertig brian at planet-telecom.com
Tue May 24 14:11:59 MST 2005


First off..  Just do a:  exten => 12345,1,AGI(dtmf)

And try running your php from the console and see if you get debug
issues.

 
 
.o-------------------------------------------------------o.
Brian Fertig

 
 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Hariharan
Gopalan
Sent: Tuesday, 24 May, 2005 16:54
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/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




This email was scanned by:  Mcafee GroupShield



More information about the asterisk-users mailing list