Hi,
We have a couple copies of A2billing, one that has suffered a lot of mangling by his previous administrator and one that we have managed to make run in a similar fashion, only using A2B's native features.
On the old one we have a feature that we need to reproduce, this is:
agi-conf2 Customer on the street calls an international number by dialing access code + international number, ie: 1908 1 718 878 3065, now, 1908 is our public access number, so people with an associated card on a2billing can call in and make outbound calls via this service, no pin requested or balance read, simply dials, this works on the old system.
We are trying to make it work as such on the new one, the system receives the call, BUT keeps reading the "prepaid-enter-dest.gsm" prompt, even though you can hear the local RBT and does not dial out.
Little note: we have two ratecards, one where the caller id number starts with 2 (fixed) and the other one where the callerid starts with 8 (mobile), which are bound to the DNID in the form of 19082 and 19088.
use_dnid and cid_enable are set to yes.
Paste of the agi-debug info:
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_request: a2billing.php <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_channel: SIP/Interphone-ss7-0000303e <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_language: en <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_type: SIP <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_uniqueid: 1369131060.12350 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_version: 1.8.13.0 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_callerid: 25498200 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_calleridname: 25498200 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_callingpres: 1 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_callingani2: 0 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_callington: 0 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_callingtns: 0 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_dnid: 19082 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_rdnis: unknown <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_context: 1908_inbound <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_extension: 0017188783065 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_priority: 1 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_enhanced: 0.0 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_accountcode: <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_threadid: 1078704448 <SIP/Interphone-ss7-0000303e>AGI Tx >> agi_arg_1: 2 <SIP/Interphone-ss7-0000303e>AGI Tx >> <SIP/Interphone-ss7-0000303e>AGI Rx << GET VARIABLE IDCONF <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=0 <SIP/Interphone-ss7-0000303e>AGI Rx << ANSWER <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=0 <SIP/Interphone-ss7-0000303e>AGI Rx << SET VARIABLE CHANNEL(language) "en" <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=1 <SIP/Interphone-ss7-0000303e>AGI Rx << CHANNEL STATUS SIP/Interphone-ss7-0000303e <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=6 <SIP/Interphone-ss7-0000303e>AGI Rx << CHANNEL STATUS SIP/Interphone-ss7-0000303e <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=6 <SIP/Interphone-ss7-0000303e>AGI Rx << GET DATA prepaid-enter-dest 6000 20 -- <SIP/Interphone-ss7-0000303e> Playing 'prepaid-enter-dest.gsm' (language 'en') <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=001718878330065 <SIP/Interphone-ss7-0000303e>AGI Rx << CHANNEL STATUS SIP/Interphone-ss7-0000303e <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=6 <SIP/Interphone-ss7-0000303e>AGI Rx << GET DATA prepaid-enter-dest 6000 20 -- <SIP/Interphone-ss7-0000303e> Playing 'prepaid-enter-dest.gsm' (language 'en') <SIP/Interphone-ss7-0000303e>AGI Tx >> 200 result=-1 <SIP/Interphone-ss7-0000303e>AGI Rx << HANGUP <SIP/Interphone-ss7-0000303e>AGI Tx >> 511 Command Not Permitted on a dead channel -- <SIP/Interphone-ss7-0000303e>AGI Script a2billing.php completed, returning 4 == Spawn extension (1908_inbound, 0017188783065, 1) exited non-zero on 'SIP/Interphone-ss7-0000303e'
What we need it to do is to attempt to dial the preselected number.
Clues?
|