Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 8:38 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Just answer machine talks to mee
PostPosted: Thu Apr 03, 2008 6:47 pm 
Offline
User avatar

Joined: Wed Feb 06, 2008 12:31 pm
Posts: 20
Location: Florianópolis
I am trying to make calls through elastix (a2billing) but no success. The girl just say "Enter the number u wish to call ......."

And nothing else happens

elastix*CLI>
-- Executing [04899580257@a2billing:1] Answer("SIP/1645386653-09274fc0", "") in new stack
-- Executing [04899580257@a2billing:2] Wait("SIP/1645386653-09274fc0", "1") in new stack
-- Executing [04899580257@a2billing:3] DeadAGI("SIP/1645386653-09274fc0", "a2billing.php|1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php|1: A2Billing AGI internal configuration:
a2billing.php|1: Array
a2billing.php|1: (
a2billing.php|1: [debug] => 1
a2billing.php|1: [asterisk_version] => 1_2
a2billing.php|1: [answer_call] => 1
a2billing.php|1: [play_audio] => 1
a2billing.php|1: [say_goodbye] =>
a2billing.php|1: [play_menulanguage] =>
a2billing.php|1: [force_language] =>
a2billing.php|1: [intro_prompt] =>
a2billing.php|1: [min_credit_2call] => 0
a2billing.php|1: [min_duration_2bill] => 0
a2billing.php|1: [notenoughcredit_cardnumber] => 1
a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php|1: [use_dnid] => 1
a2billing.php|1: [no_auth_dnid] => Array
a2billing.php|1: (
a2billing.php|1: [0] => 2400
a2billing.php|1: [1] => 2300
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [number_try] => 3
a2billing.php|1: [force_callplan_id] =>
a2billing.php|1: [say_balance_after_auth] =>
a2billing.php|1: [say_balance_after_call] =>
a2billing.php|1: [say_rateinitial] =>
a2billing.php|1: [say_timetocall] =>
a2billing.php|1: [auto_setcallerid] => 1
a2billing.php|1: [force_callerid] =>
a2billing.php|1: [cid_sanitize] =>
a2billing.php|1: [cid_enable] =>
a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
a2billing.php|1: [cid_auto_assign_card_to_cid] => 1
a2billing.php|1: [cid_auto_create_card] =>
a2billing.php|1: [cid_auto_create_card_len] => 10
a2billing.php|1: [cid_auto_create_card_typepaid] => POSTPAY
a2billing.php|1: [cid_auto_create_card_credit] => 0
a2billing.php|1: [cid_auto_create_card_credit_limit] => 1000
a2billing.php|1: [cid_auto_create_card_tariffgroup] => 6
a2billing.php|1: [callerid_authentication_over_cardnumber] =>
a2billing.php|1: [sip_iax_friends] =>
a2billing.php|1: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php|1: [sip_iax_pstn_direct_call] =>
a2billing.php|1: [ivr_voucher] =>
a2billing.php|1: [ivr_voucher_prefix] => 8
a2billing.php|1: [jump_voucher_if_min_credit] =>
a2billing.php|1: [extracharge_did] => Array
a2billing.php|1: (
a2billing.php|1: [0] =>
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [extracharge_fee] => Array
a2billing.php|1: (
a2billing.php|1: [0] =>
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
a2billing.php|1: [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
a2billing.php|1: [switchdialcommand] =>
a2billing.php|1: [failover_recursive_limit] => 2
a2billing.php|1: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php|1: [send_reminder] =>
a2billing.php|1: [record_call] =>
a2billing.php|1: [monitor_formatfile] => gsm
a2billing.php|1: [agi_force_currency] =>
a2billing.php|1: [currency_association] => Array
a2billing.php|1: (
a2billing.php|1: [0] => usd:dollars
a2billing.php|1: [1] => mxn:pesos
a2billing.php|1: [2] => eur:euros
a2billing.php|1: [3] => all:credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang2
a2billing.php|1: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php|1: [logger_enable] => 1
a2billing.php|1: [log_file] => /tmp/a2billing.log
a2billing.php|1: [currency_association_internal] => Array
a2billing.php|1: (
a2billing.php|1: [usd] => dollars
a2billing.php|1: [mxn] => pesos
a2billing.php|1: [eur] => euros
a2billing.php|1: [all] => credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-number-u-calling-1-or-011
a2billing.php|1: [ivr_voucher_prefixe] => 8
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: file:a2billing.php - line:75 - IDCONFIG : 1
a2billing.php|1: file:a2billing.php - line:76 - MODE : standard
a2billing.php|1: file:a2billing.php - line:88 - AGI Request:
a2billing.php|1: file:a2billing.php - line:89 - Array
a2billing.php|1: (
a2billing.php|1: [agi_request] => a2billing.php
a2billing.php|1: [agi_channel] => SIP/1645386653-09274fc0
a2billing.php|1: [agi_language] => en
a2billing.php|1: [agi_type] => SIP
a2billing.php|1: [agi_uniqueid] => 1207247929.28
a2billing.php|1: [agi_callerid] => 171704957942356
a2billing.php|1: [agi_calleridname] => billing
a2billing.php|1: [agi_callingpres] => 0
a2billing.php|1: [agi_callingani2] => 0
a2billing.php|1: [agi_callington] => 0
a2billing.php|1: [agi_callingtns] => 0
a2billing.php|1: [agi_dnid] => 04899580257
a2billing.php|1: [agi_rdnis] => unknown
a2billing.php|1: [agi_context] => a2billing
a2billing.php|1: [agi_extension] => 04899580257
a2billing.php|1: [agi_priority] => 3
a2billing.php|1: [agi_enhanced] => 0.0
a2billing.php|1: [agi_accountcode] => 1645386653
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: file:Class.A2Billing.php - line:601 - get_agi_request_parameter = 171704957942356 ; SIP/1645386653-09274fc0 ; 1207247929.28 ; 1645386653 ; 04899580257
a2billing.php|1: file:a2billing.php - line:138 - [ANSWER CALL]
a2billing.php|1: file:Class.A2Billing.php - line:1668 - SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix, redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate), UNIX_TIMESTAMP(cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id, useralias FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='1645386653'
a2billing.php|1: file:Class.A2Billing.php - line:1742 - [SET LANGUAGE() en]
a2billing.php|1: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='1645386653']
a2billing.php|1: file:Class.A2Billing.php - line:1427 - [AUTO SetCallerID]
a2billing.php|1: file:Class.A2Billing.php - line:1433 - [REQUESTED SetCallerID : 171704957942356]
a2billing.php|1: file:Class.A2Billing.php - line:1444 - [EXEC SetCallerID : 171704957942356]
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:656 - 1 && && 11&& 0
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::> 04899580257
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> 04899580257
a2billing.php|1: file:Class.A2Billing.php - line:721 - OK - RESFINDRATE::> 1
a2billing.php|1: file:Class.A2Billing.php - line:743 - RES_ALL_CALCULTIMEOUT ::> 1
a2billing.php|1: file:Class.A2Billing.php - line:760 - TIMEOUT::> 833 : minutes=13 - seconds=53
a2billing.php|1: file:Class.RateEngine.php - line:960 - app_callingcard: Dialing 'SIP/e-converse/04899580257|60|HRrL(833000:61000:30000)' with timeout of '833'.
a2billing.php|1:
a2billing.php|1: file:Class.RateEngine.php - line:985 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
-- AGI Script Executing Application: (Dial) Options: (SIP/e-converse/04899580257|60|HRrL(833000:61000:30000))
-- Limit Data for this call:
> timelimit = 833000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Couldn't call e-converse/04899580257
== Everyone is busy/congested at this time (0:0/0/0)
a2billing.php|1: file:Class.RateEngine.php - line:1095 - [USEDRATECARD - FAIL =0]
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
a2billing.php|1: file:Class.RateEngine.php - line:848 - [CC_asterisk_stop QUERY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES ('1207247929.28', 'SIP/1645386653-09274fc0', '1645386653', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '04899580257', 'CHANUNAVAIL', now(), '0.36', '-0', '', '', 'brasil - celular', '1', '2', '12706', '1', '171704957942356', '0', '0', '0', '0')]
a2billing.php|1: file:Class.RateEngine.php - line:851 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]
a2billing.php|1: file:a2billing.php - line:309 - [a2billing account stop]
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:656 - 0 && && 11&& 1
-- <SIP/1645386653-09274fc0> Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
a2billing.php|1: file:Class.A2Billing.php - line:663 - RES DTMF :
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::>
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::>
a2billing.php|1: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php|1: file:a2billing.php - line:170 - [CREDIT : 5.00000][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php|1: file:Class.A2Billing.php - line:656 - 0 && && 11&& 2
-- <SIP/1645386653-09274fc0> Playing 'prepaid-enter-number-u-calling-1-or-011' (language 'en')
a2billing.php|1: file:Class.A2Billing.php - line:663 - RES DTMF : -1
a2billing.php|1: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
a2billing.php|1: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> -1
-- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)
a2billing.php|1: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='1645386653']
-- AGI Script a2billing.php completed, returning -1
elastix*CLI>


Top
 Profile  
 
 Post subject: Re: Just answer machine talks to mee
PostPosted: Thu Apr 03, 2008 6:51 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
heronleal wrote:
-- AGI Script Executing Application: (Dial) Options: (SIP/e-converse/04899580257|60|HRrL(833000:61000:30000))
-- Couldn't call e-converse/04899580257
== Everyone is busy/congested at this time (0:0/0/0)
Says it all. Your carrier is either rejecting the call for some reason, or possibly suffering capacity problems.


Top
 Profile  
 
 Post subject: end
PostPosted: Thu Apr 03, 2008 8:48 pm 
Offline
User avatar

Joined: Wed Feb 06, 2008 12:31 pm
Posts: 20
Location: Florianópolis
Ok, stavros.

U can see that is the same problem that I had before.

I just want explain u:

I use elastix and when I make calls with trunk and outbound route configured at freepbx I got success,
But if I make calls through an a2billing customer this screens appears.

-- AGI Script Executing Application: (Dial) Options: (SIP/e-converse/04899580257|60|HRrL(833000:61000:30000))
-- Couldn't call e-converse/04899580257
== Everyone is busy/congested at this time (0:0/0/0)

I give up use A2billing


Top
 Profile  
 
 Post subject: Re: end
PostPosted: Thu Apr 03, 2008 9:22 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
heronleal wrote:
I give up use A2billing
That's a shame, especially as it not's due to a problem with A2B itself.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 05, 2008 4:20 pm 
Offline

Joined: Fri Mar 28, 2008 4:24 pm
Posts: 4
Keep in mind that if you use A2Billing, you will add or remove prefix from A2Billing Trunk. Whatever prefix that you defined in FreePBX Trunk, FreePBX will not remove or add prefix for you. I think A2Billing only use trunkname to pass and dial digits.

When I first used A2Billing, I thought whatever prefix that I defined in FreePBX, FreePBX will add and remove. I used A2Billing and dial exactly same way I dial in FreePBX, but it did not work that way.


Also, only put digits that start with country code in the DIALPREFIX option for your ratecard. This will be much less headache. You can manipulate international prefix in the CALLPLAN and any other prefix in A2Billing Trunk. Hope this help.

GOODLUCK

P.S. To any A2B expertees, just correct me if I am wrong..:-)


Top
 Profile  
 
 Post subject: Re:
PostPosted: Mon Aug 01, 2011 5:44 am 
Offline

Joined: Sun Jul 31, 2011 3:43 am
Posts: 4
People, was here my problem:

-- AGI Script Executing Application: (Dial) Options: (SIP/R20100020/30866967,,HRgrL(5400000:61000:30000))
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Couldn't call R20100020/30866967,60,HRgrL(5400000:61000:30000)
== Everyone is busy/congested at this time (0:0/0/0)

all configuration of the a2billing was correct, but i had o problem with my trunk on asterisk. I see the conection sip of the my provinder registred, but I don't had a trunk working. A problem was in my trunk. see how it was:

sip.conf

[general]
;registrar canal de saida cabo
register => 558420100020:[email protected]/558420100020 ;it is is important for register your sip trunk with you provinder.

[R20100020] ; it is these are the information from your SIP that will be called by its trunk
username=558420100020
type=friend
secret=90211387599519718881280711
nat=auto
insecure=very
host=189.124.133.19
fromuser=558420100020
fromdomain=189.124.133.19
dtmfmode=rfc2833
context=from-trunk
disallow=all

#include additional_a2billing_sip.conf

;note: My Settings sip extensions are in / addtional_a2billing_sip.conf

My extensions.conf

[R20100020]
exten=>_X.,1,Dial(SIP/${EXTEN}@R20100020,30);this is the way to dial into my carrier, note that it makes reference to sip.

[a2billing]
; CallingCard application
exten => _X.,1,Answer
exten => _X.,n,Wait(2)
exten => _X.,n,DeadAGI(a2billing.php,1)
exten => _X.,n,Wait(2)
exten => _X.,n,Goto(s,1)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 23 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group