Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 3:19 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: DNID automatic dialing / operator preselect.
PostPosted: Tue May 21, 2013 10:18 am 
Offline

Joined: Wed Jun 13, 2012 2:13 am
Posts: 5
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group