Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 3:27 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: (DIAL) Options Problem
PostPosted: Wed Apr 02, 2008 4:55 pm 
Offline

Joined: Tue Apr 01, 2008 10:02 pm
Posts: 2
Location: La Plata - Argentina
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


Top
 Profile  
 
 Post subject: Re: (DIAL) Options Problem
PostPosted: Wed Apr 02, 2008 6:48 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Leandro Racak wrote:
DID: 55551111
Context: inbound-did
Destination: 48889999
Welcome to the forum.
The root of your problem seems to be your configuration of the DID destination. See the helpful comments below the Destination field when adding or editing destinations.
You have VoIP Call = Yes, but you've not entered a valid destination. Perhaps you meant "SIP/48889999" to reach a registered SIP friend.
Alternatively, maybe you intended to set VoIP call = No, which would look up 48889999 in your rate tables to find a trunk to route the call to the PSTN.


Top
 Profile  
 
 Post subject: Post subject: (DIAL) Options Problem - SOLVED
PostPosted: Wed Apr 02, 2008 7:37 pm 
Offline

Joined: Tue Apr 01, 2008 10:02 pm
Posts: 2
Location: La Plata - Argentina
Thanks Stavros! You're right!
I set VoIP call = No and now it's working!
I don' t understood how this option works, but now it's clear for me.

Thanks again.
Greetings

Leandro.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 02, 2008 9:02 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi
To clarify

You use Voip call = no when you are sending a call out via a trunk (voip or otherwise) and =yes when going direct via VoIP, not through a trunk.

So =yes will not apply a per minute charge, whereas =no will apply a per minute charge.

Joe


Top
 Profile  
 
 Post subject: Problem with DIDww
PostPosted: Sat Apr 05, 2008 3:15 pm 
Offline

Joined: Thu Mar 27, 2008 11:37 am
Posts: 111
hello
i have IPKALL is working fine
can you give me a step by step guide for DIDww


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


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 6 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