Hello, this is my first post.
I have a problem with DID forwarding.
A2Billing receives the inbound DID correctly, in the right context, but the AGI Script Executing Application DIAL is not complet, don't have the the argument technology or the trunk and the script end.
(DIAL) Options: (48889999|60|HRgirL(3600000:61000:30000))
Can you help me?
Thanks a lot.
DID: 55551111
Context: inbound-did
Destination: 48889999
[inbound-did]
exten => 55551111,1,NoOp,${CALLERID(all)}
exten => 55551111,2,DeadAGI(a2billing.php|3|did)
exten => 55551111,3,Hangup
[agi-conf3]
debug = 1
asterisk_version = 1_4
answer_call = NO
play_audio = YES
say_goodbye = NO
play_menulanguage = NO
force_language =
intro_prompt =
min_credit_2call = 0
min_duration_2bill = 0
notenoughcredit_cardnumber = YES
notenoughcredit_assign_newcardnumber_cid = YES
use_dnid = YES
no_auth_dnid = 2400,2300
number_try = 1
force_callplan_id =
say_balance_after_auth = NO
say_balance_after_call = NO
say_rateinitial = NO
say_timetocall = NO
auto_setcallerid = YES
force_callerid =
cid_sanitize = NO
cid_enable = NO
cid_askpincode_ifnot_callerid = YES
cid_auto_assign_card_to_cid = NO
cid_auto_create_card = NO
cid_auto_create_card_len = 12
cid_auto_create_card_typepaid = POSTPAY
cid_auto_create_card_credit = 0
cid_auto_create_card_credit_limit = 1000
cid_auto_create_card_tariffgroup = 6
callerid_authentication_over_cardnumber = NO
sip_iax_friends = YES
sip_iax_pstn_direct_call_prefix = 555
sip_iax_pstn_direct_call = YES
ivr_voucher = NO
ivr_voucher_prefix = 8
jump_voucher_if_min_credit = NO
extracharge_did =
extracharge_fee =
international_prefixes = 011,00,09
dialcommand_param = "|60|HRgrL(%timeout%:61000:30000)"
dialcommand_param_sipiax_friend = "|60|HRgirL(3600000:61000:30000)"
switchdialcommand = NO
failover_recursive_limit = 2
maxtime_tocall_negatif_free_route = 5400
send_reminder = NO
record_call = NO
monitor_formatfile = gsm
agi_force_currency =
currency_association = usd:dollars,mxn:pesos,eur:euros,all:credit
file_conf_enter_destination = prepaid-enter-dest
file_conf_enter_menulang = prepaid-menulang2
callback_bill_1stleg_ifcall_notconnected = YES
a2billing.php|3|did: [agi_request] => a2billing.php
a2billing.php|3|did: [agi_channel] => SIP/200.11.11.111-b7d0f7f0
a2billing.php|3|did: [agi_language] => en
a2billing.php|3|did: [agi_type] => SIP
a2billing.php|3|did: [agi_uniqueid] => 1207000000.167
a2billing.php|3|did: [agi_callerid] => ribeiro5824
a2billing.php|3|did: [agi_calleridname] => 88882222
a2billing.php|3|did: [agi_callingpres] => 0
a2billing.php|3|did: [agi_callingani2] => 0
a2billing.php|3|did: [agi_callington] => 0
a2billing.php|3|did: [agi_callingtns] => 0
a2billing.php|3|did: [agi_dnid] => 55551111
a2billing.php|3|did: [agi_rdnis] => unknown
a2billing.php|3|did: [agi_context] => inbound-did
a2billing.php|3|did: [agi_extension] => 55551111
a2billing.php|3|did: [agi_priority] => 2
a2billing.php|3|did: [agi_enhanced] => 0.0
a2billing.php|3|did: [agi_accountcode] =>
a2billing.php|3|did: )
a2billing.php|3|did:
a2billing.php|3|did: file:Class.A2Billing.php - line:616 - get_agi_request_parameter = ribeiro5824 ; SIP/200.11.11.111-b7d0f7f0 ; 1207000000.167 ; ; 55512222
a2billing.php|3|did: file:a2billing.php - line:332 - [NO ANSWER CALL]
a2billing.php|3|did: file:a2billing.php - line:344 - [DID CALL - [CallerID=ribeiro5824]:[DID=55512222]
a2billing.php|3|did: file:a2billing.php - line:356 - SELECT cc_did.id, cc_did_destination.id, billingtype, tariff, destination, voip_call, username FROM cc_did, cc_did_destination, cc_card WHERE id_cc_did=cc_did.id and cc_card.id=id_cc_card and cc_did_destination.activated=1 and cc_did.activated=1 and did='55551111' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00') ORDER BY priority ASC
a2billing.php|3|did: file:a2billing.php - line:358 - Array
a2billing.php|3|did: file:Class.A2Billing.php - line:973 - [A2Billing] DID call friend: FOLLOWME=1 (cardnumber:9222222222|destination:48889999|tariff:1)
a2billing.php|3|did:
a2billing.php|3|did: file:Class.A2Billing.php - line:1640 - 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='9222222222'
a2billing.php|3|did: file:Class.A2Billing.php - line:1714 - [SET CHANNEL(language) en]
a2billing.php|3|did: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='9222222222']
a2billing.php|3|did: file:Class.A2Billing.php - line:1001 - [A2Billing] DID call friend: Dialing '48889999|60|HRgirL(3600000:61000:30000)' Friend.
a2billing.php|3|did:
-- AGI Script Executing Application: (DIAL) Options: (48889999|60|HRgirL(3600000:61000:30000))
-- Limit Data for this call:
> timelimit = 3600000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
[Apr 2 01:15:23] WARNING[8797]: app_dial.c:1115 dial_exec_full: Dial argument takes format (technology/[device:]number1)
-- Playing 'prepaid-noanswer' (escape_digits=#) (sample_offset 0)
a2billing.php|3|did: file:Class.A2Billing.php - line:649 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='9222222222']
-- AGI Script a2billing.php completed, returning 0
|