hello community
i have install asterisk 1.8.16 + freepbx 2.9 + a2billing 1.9.4 to ubuntu 10.04
everything is working perfectly except the prompt sound for a2billing. what i mean is this
<SIP/12312312312312-00000000>AGI Rx << GET VARIABLE IDCONF <SIP/12312312312312-00000000>AGI Tx >> 200 result=0 <SIP/12312312312312-00000000>AGI Rx << SET VARIABLE CHANNEL(language) "en" <SIP/12312312312312-00000000>AGI Tx >> 200 result=1 <SIP/12312312312312-00000000>AGI Rx << GET DATA prepaid-enter-pin-number 6000 15 -- <SIP/12312312312312-00000000> Playing 'prepaid-enter-pin-number.gsm' (language 'en') <SIP/12312312312312-00000000>AGI Tx >> 200 result= (timeout) <SIP/12312312312312-00000000>AGI Rx << GET DATA prepaid-enter-pin-number 6000 15 -- <SIP/12312312312312-00000000> Playing 'prepaid-enter-pin-number.gsm' (language 'en') <SIP/12312312312312-00000000>AGI Tx >> 200 result= (timeout) <SIP/12312312312312-00000000>AGI Rx << GET DATA prepaid-enter-pin-number 6000 15 -- <SIP/12312312312312-00000000> Playing 'prepaid-enter-pin-number.gsm' (language 'en') <SIP/12312312312312-00000000>AGI Tx >> 200 result= (timeout) <SIP/12312312312312-00000000>AGI Rx << HANGUP <SIP/12312312312312-00000000>AGI Tx >> 200 result=1 -- <SIP/12312312312312-00000000>AGI Script a2billing.php completed, returning 4
as you see in the log Playing 'prepaid-enter-pin-number.gsm' (language 'en') it find the sound file but i dont hear any sound in the speakers or in the telephone as a result i dont add the pin number and the system hangup. i try extentions directly and the sounds are playing ok so is not codec problem. also the sound are in correct folder /var/lib/asterisk/sounds/en. i also try to add them all in /var/lib.asterisk/sounds the same result. i also change them to wav and slin nothing happend also.
the variables in agi1 conf to play sounds and notify user for balance are enable i dont know where is the mistake.
also my extentions for a2billing is as below
[a2billing] ; CallingCard application exten => _X.,1,Set(CALLERID(num)=${CALLERID(NUM)}) exten => _X.,n,Set(DYNAMIC_FEATURES=) exten => _X.,n,AGI(a2billing.php,1) exten => _X.,n,NoOp(=================== HANGUPCAUSE-A2BILLING: ${EXTEN} = ${HANGUPCAUSE} ===================)
i run out of ideas. any ideas from someone?
|