Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Compatibilty between agi for asterisk 13.8.0 and php5.6


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
myoung at acsacc.com
Guest





PostPosted: Wed May 04, 2016 8:20 am    Post subject: [asterisk-users] Compatibilty between agi for asterisk 13.8. Reply with quote

----- On May 4, 2016, at 8:49 AM, Mamadou NGOM ngom@numericap.com wrote:

Quote:
Hello everybody,

Quote:
When I call my extension the agi script don't work well. when I look at the cli,
that is what I have:

Quote:
<SIP/myprovider-00000007>AGI Tx >> agi_request: ******.php
<SIP/myprovider-00000007>AGI Tx >> agi_channel: SIP/myprovider-00000007
<SIP/myprovider-00000007>AGI Tx >> agi_language: fr
<SIP/myprovider-00000007>AGI Tx >> agi_type: SIP
<SIP/myprovider-00000007>AGI Tx >> agi_uniqueid: ***************
<SIP/myprovider-00000007>AGI Tx >> agi_version: 13.8.0
<SIP/myprovider-00000007>AGI Tx >> agi_callerid:*********
<SIP/myprovider-00000007>AGI Tx >> agi_calleridname: unknown
<SIP/myprovider-00000007>AGI Tx >> agi_callingpres: 0
<SIP/myprovider-00000007>AGI Tx >> agi_callingani2: 0
<SIP/myprovider-00000007>AGI Tx >> agi_callington: 0
<SIP/myprovider-00000007>AGI Tx >> agi_callingtns: 0
<SIP/myprovider-00000007>AGI Tx >> agi_dnid: ********
<SIP/myprovider-00000007>AGI Tx >> agi_rdnis: unknown
<SIP/myprovider-00000007>AGI Tx >> agi_context: default
<SIP/myprovider-00000007>AGI Tx >> agi_extension: ********
<SIP/myprovider-00000007>AGI Tx >> agi_priority: 13
<SIP/myprovider-00000007>AGI Tx >> agi_enhanced: 0.0
<SIP/myprovider-00000007>AGI Tx >> agi_accountcode:
<SIP/myprovider-00000007>AGI Tx >> agi_threadid: *********************
<SIP/myprovider-00000007>AGI Tx >> agi_arg_1: 56
<SIP/myprovider-00000007>AGI Tx >>
<SIP/myprovider-00000007>AGI Rx << SET VARIABLE ****** 2
<SIP/myprovider-00000007>AGI Tx >> 510 Invalid or unknown command
-- <SIP/myprovider-00000007>AGI Script *******.php completed, returning 0

Quote:
I looked on the Internet but I saw a clear answer

Quote:
it is sure that it is for the compatibility between php5.6 and agi. if somebody
can help me.

Make sure there are no windows or dos line endings in that php script. Try running it through dos2unix and see if that solves your issue.

Regards,
Michael

(elguero)

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services