Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Dec 11, 2018 6:57 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Charging per minute to Incoming DID!!!
PostPosted: Thu Oct 19, 2006 3:40 pm 
Offline

Joined: Sun Sep 10, 2006 7:24 pm
Posts: 2
Hello,

I have DIDs working correctly through a2billing. A person dials that DID and it goes to destination number without asking any PIN or announcing the remaining balance. My issue is that I want to charge that incoming DID call as x cent/minute?? My incoming call uses a trunk and I have set the rate card for that trunk. still no luck. The calls are in CDR with minutes record but the charges say as 0. Please help??
Ash


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 19, 2006 4:22 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Very COOL. I haven't gotten to this stage yet, but want to hit it very soon. Can you give any advice as far as the setup goes?

Do you buy a block of DID's from someone and then have them in database that the customer selects? Or did you link to your wholesaler's DID list allowing the customer to choose from there?

Good work !! (I'm sure you can get that next part working)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 01, 2006 4:35 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
Ash, could you post or PM me with your agi-conf file for this? I have to be missing something, I have it loaded in the database, and the call comes in from that DID, but it doesn't pass it, instead it processes it and asks for the pin.

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 4:48 pm 
Offline

Joined: Sun Sep 10, 2006 7:24 pm
Posts: 2
Sorry for late reply. In Sip.conf, I am using context = from-did.

;context = from-sip-external ; Send unknown SIP callers to this context
;context = from-trunk
context = from-did
callerid = Unknown

Settings in my extensions file are:

[from-did]
exten => 4195424152,1,goto(My-did,4195424152,1)

;where 4195424152 is my DID.


[My-did]

exten => _X.,1,DeadAGI(a2billing.php|2|did)
exten => _X.,2,Hangup

Then my agi-conf looks like this. I made many changes in this, so try with copy paste. I actually have 2 agi.conf files. Ist is for calling card app. and 2nd is for the DIDs. Then in A2billing, I am just adding the Ext or phone to call directly to destination in Add destination section. Please let me know if you need more info??


[agi-conf2]

; the debug level
; 0=none, 1=low, 2=normal, 3=all
debug=3


; Manage the answer on the call
answer_call=yes

; Activate application logging
; logging is optimized to write all the logs at once :D
logger_enable=YES

; File to log
log_file=/tmp/a2billing.log


; play the goodbye message when the user has finished.
say_goodbye=NO

; enable the menu to choose the language
; press 1 for English, pulsa 2 para el espa


Top
 Profile  
 
 Post subject: Re: Charging per minute to Incoming DID!!!
PostPosted: Mon Nov 06, 2006 5:01 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
gashfaq wrote:
Hello,

I have DIDs working correctly through a2billing. A person dials that DID and it goes to destination number without asking any PIN or announcing the remaining balance. My issue is that I want to charge that incoming DID call as x cent/minute?? My incoming call uses a trunk and I have set the rate card for that trunk. still no luck. The calls are in CDR with minutes record but the charges say as 0. Please help??
Ash


Ash, Did you find an answer for this? It seems that by setting "call sip friend for free = NO" like you have it would say you must charge, but where would we set the RATE for SIP calls ??

KK


Top
 Profile  
 
 Post subject: Bill Incoming DID Per/Min
PostPosted: Sat Aug 11, 2007 10:54 pm 
Offline

Joined: Fri Aug 03, 2007 7:35 pm
Posts: 8
Location: NY
Hi, this is what i did.

I created a rate and set prefix as eg: 2
I created a trunk with %dialingnumber%
I created a rate card and associated to the Local trunk
I added the ratecard to the Calling Plan
Then in the did destination i add the prefix before the extension number eg: extension number is 4444 so in destination i put 24444 (Not voip call)
So when the call comes in it is routed thru the correct trunk based on the prefix..


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 04, 2007 2:58 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I've met the problem of not being able to bill per-minute usage of DIDs delivered to SIP/IAX friends today.

Whilst it is certainly possible to workaround the problem as described by Manchu it's not a very maintainable solution once the customer base starts to grow larger.

Before I start to reinvent the wheel I thought I'd ask if anyone else has successfully tackled this problem in the code?


Top
 Profile  
 
 Post subject: Re: Charging per minute to Incoming DID!!!
PostPosted: Mon Sep 10, 2007 1:33 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 3:13 pm
Posts: 123
Location: English Indiana, USA
gashfaq wrote:
Hello,

I have DIDs working correctly through a2billing. A person dials that DID and it goes to destination number without asking any PIN or announcing the remaining balance. My issue is that I want to charge that incoming DID call as x cent/minute?? My incoming call uses a trunk and I have set the rate card for that trunk. still no luck. The calls are in CDR with minutes record but the charges say as 0. Please help??
Ash


There is a fellow on this forum that goes by the name GUE. He set this up for me. His rates are reasonable. I suggest you contact him. He’s been a great help to me. I am fully able to bill for incoming minutes on any dids of my choice with no retards to their destination.


Top
 Profile  
 
 Post subject: Re: Charging per minute to Incoming DID!!!
PostPosted: Fri Oct 26, 2007 9:13 pm 
Offline

Joined: Sat Jul 28, 2007 5:51 am
Posts: 79
gashfaq wrote:
Hello,

I have DIDs working correctly through a2billing. A person dials that DID and it goes to destination number without asking any PIN or announcing the remaining balance. My issue is that I want to charge that incoming DID call as x cent/minute?? My incoming call uses a trunk and I have set the rate card for that trunk. still no luck. The calls are in CDR with minutes record but the charges say as 0. Please help??
Ash


I am looking at your configuration, you said that 4195424152 was your DID. So you have just only this DID or you have more than one DID to work? For example if you like to map DID to sipfriend, is that how you do it?

Thanks


Top
 Profile  
 
 Post subject: SIP Friends Extension Hangs Up When Answered
PostPosted: Fri Dec 28, 2007 10:13 pm 
Offline
User avatar

Joined: Sat Jun 02, 2007 5:59 am
Posts: 63
Location: Orlando, Fl
Hi All,

I am having problems with DID routing to A2B-SIP Extension. When I dial the DID that points to the particular extension, the extension rings. As soon as the extension answers the call is disconnected. Does anyone have any idea what is going on?

DEBUG

-- Executing NoOp("SIP/64.34.170.149-09ad3a00", "Received incoming SIP connection from unknown peer to 2393449563") in new stack
-- Executing Set("SIP/64.34.170.149-09ad3a00", "DID=2393449563") in new stack
-- Executing Goto("SIP/64.34.170.149-09ad3a00", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing Ringing("SIP/64.34.170.149-09ad3a00", "") in new stack
-- Executing GotoIf("SIP/64.34.170.149-09ad3a00", "1?from-trunk|2393449563|1") in new stack
-- Goto (from-trunk,2393449563,1)
-- Executing Set("SIP/64.34.170.149-09ad3a00", "__FROM_DID=2393449563") in new stack
-- Executing Gosub("SIP/64.34.170.149-09ad3a00", "app-blacklist-check|s|1") in new stack
-- Executing LookupBlacklist("SIP/64.34.170.149-09ad3a00", "") in new stack
-- Executing GotoIf("SIP/64.34.170.149-09ad3a00", "0?blacklisted") in new stack
-- Executing Return("SIP/64.34.170.149-09ad3a00", "") in new stack
-- Executing Goto("SIP/64.34.170.149-09ad3a00", "a2billing-did|2393449563|1") in new stack
-- Goto (a2billing-did,2393449563,1)
-- Executing NoOp("SIP/64.34.170.149-09ad3a00", ""2396455991" <2396455991>") in new stack
-- Executing DeadAGI("SIP/64.34.170.149-09ad3a00", "a2billing.php|20|did") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php|20|did: A2Billing AGI internal configuration:
a2billing.php|20|did: Array
a2billing.php|20|did: (
a2billing.php|20|did: [debug] => 3
a2billing.php|20|did: [answer_call] =>
a2billing.php|20|did: [logger_enable] => 1
a2billing.php|20|did: [log_file] => /tmp/a2billing.log
a2billing.php|20|did: [say_goodbye] =>
a2billing.php|20|did: [play_menulanguage] =>
a2billing.php|20|did: [force_language] =>
a2billing.php|20|did: [intro_prompt] =>
a2billing.php|20|did: [len_cardnumber] => 6
a2billing.php|20|did: [len_aliasnumber] => 6
a2billing.php|20|did: [len_voucher] => 15
a2billing.php|20|did: [min_credit_2call] => 0
a2billing.php|20|did: [min_duration_2bill] => 0
a2billing.php|20|did: [notenoughcredit_cardnumber] =>
a2billing.php|20|did: [notenoughcredit_assign_newcardnumber_cid] =>
a2billing.php|20|did: [use_dnid] => 1
a2billing.php|20|did: [no_auth_dnid] => Array
a2billing.php|20|did: (
a2billing.php|20|did: [0] => 2400
a2billing.php|20|did: [1] => 2300
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: [number_try] => 3
a2billing.php|20|did: [say_balance_after_auth] =>
a2billing.php|20|did: [say_balance_after_call] =>
a2billing.php|20|did: [say_rateinitial] =>
a2billing.php|20|did: [say_timetocall] => 1
a2billing.php|20|did: [auto_setcallerid] =>
a2billing.php|20|did: [force_callerid] =>
a2billing.php|20|did: [cid_sanitize] => DID
a2billing.php|20|did: [cid_enable] => 1
a2billing.php|20|did: [cid_askpincode_ifnot_callerid] =>
a2billing.php|20|did: [cid_auto_create_card] =>
a2billing.php|20|did: [cid_auto_assign_card_to_cid] =>
a2billing.php|20|did: [cid_auto_create_card_typepaid] => POSTPAY
a2billing.php|20|did: [cid_auto_create_card_credit] => 0
a2billing.php|20|did: [cid_auto_create_card_credit_limit] => 1000
a2billing.php|20|did: [cid_auto_create_card_tariffgroup] => 6
a2billing.php|20|did: [callerid_authentication_over_cardnumber] =>
a2billing.php|20|did: [sip_iax_friends] =>
a2billing.php|20|did: [sip_iax_pstn_direct_call_prefix] => 9
a2billing.php|20|did: [sip_iax_pstn_direct_call] =>
a2billing.php|20|did: [extracharge_did] => Array
a2billing.php|20|did: (
a2billing.php|20|did: [0] =>
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: [extracharge_fee] => Array
a2billing.php|20|did: (
a2billing.php|20|did: [0] =>
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: [dialcommand_param] => |30|HrL(%timeout%:61000:30000)
a2billing.php|20|did: [dialcommand_param_sipiax_friend] => |30|HrL(3600000:61000:30000)
a2billing.php|20|did: [switchdialcommand] => 1
a2billing.php|20|did: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php|20|did: [send_reminder] =>
a2billing.php|20|did: [record_call] =>
a2billing.php|20|did: [monitor_formatfile] => gsm
a2billing.php|20|did: [base_currency] => usd
a2billing.php|20|did: [agi_force_currency] =>
a2billing.php|20|did: [currency_association] => Array
a2billing.php|20|did: (
a2billing.php|20|did: [0] => usd:prepaid-dollar
a2billing.php|20|did: [1] => mxn:pesos
a2billing.php|20|did: [2] => eur:euro
a2billing.php|20|did: [3] => all:credit
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php|20|did: [file_conf_enter_menulang] => prepaid-menulang2
a2billing.php|20|did: [play_audio] => 1
a2billing.php|20|did: [cid_auto_create_card_len] => 10
a2billing.php|20|did: [failover_recursive_limit] => 1
a2billing.php|20|did: [currency_association_internal] => Array
a2billing.php|20|did: (
a2billing.php|20|did: [usd] => prepaid-dollar
a2billing.php|20|did: [mxn] => pesos
a2billing.php|20|did: [eur] => euro
a2billing.php|20|did: [all] => credit
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: [ivr_voucher] => 0
a2billing.php|20|did: [ivr_voucher_prefixe] => 8
a2billing.php|20|did: [jump_voucher_if_min_credit] => 0
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: file:a2billing.php - line:76 - IDCONFIG : 20
a2billing.php|20|did: file:a2billing.php - line:77 - MODE : did
a2billing.php|20|did: file:a2billing.php - line:89 - AGI Request:
a2billing.php|20|did: file:a2billing.php - line:90 - Array
a2billing.php|20|did: (
a2billing.php|20|did: [agi_request] => a2billing.php
a2billing.php|20|did: [agi_channel] => SIP/64.34.170.149-09ad3a00
a2billing.php|20|did: [agi_language] => en
a2billing.php|20|did: [agi_type] => SIP
a2billing.php|20|did: [agi_uniqueid] => 1198879072.1250
a2billing.php|20|did: [agi_callerid] => 2396455991
a2billing.php|20|did: [agi_calleridname] => 2396455991
a2billing.php|20|did: [agi_callingpres] => 0
a2billing.php|20|did: [agi_callingani2] => 0
a2billing.php|20|did: [agi_callington] => 0
a2billing.php|20|did: [agi_callingtns] => 0
a2billing.php|20|did: [agi_dnid] => 2393449563
a2billing.php|20|did: [agi_rdnis] => unknown
a2billing.php|20|did: [agi_context] => a2billing-did
a2billing.php|20|did: [agi_extension] => 2393449563
a2billing.php|20|did: [agi_priority] => 2
a2billing.php|20|did: [agi_enhanced] => 0.0
a2billing.php|20|did: [agi_accountcode] =>
a2billing.php|20|did: )
a2billing.php|20|did:
a2billing.php|20|did: file:Class.A2Billing.php - line:614 - get_agi_request_parameter = 2396455991 ; SIP/64.34.170.149-09ad3a00 ; 1198879072.1250 ; ; 2393449563
a2billing.php|20|did: file:a2billing.php - line:332 - [NO ANSWER CALL]
a2billing.php|20|did: file:a2billing.php - line:344 - [DID CALL - [CallerID=2396455991]:[DID=2393449563]
a2billing.php|20|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='2393449563' 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|20|did: file:a2billing.php - line:358 - Array
a2billing.php|20|did: file:Class.A2Billing.php - line:971 - [A2Billing] DID call friend: FOLLOWME=1 (cardnumber:10962537|destination:SIP/10962537|tariff:6)
a2billing.php|20|did:
a2billing.php|20|did: file:Class.A2Billing.php - line:1638 - 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='10962537'
a2billing.php|20|did: file:Class.A2Billing.php - line:1712 - [SET CHANNEL(language) en]
a2billing.php|20|did: file:Class.A2Billing.php - line:647 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='10962537']
a2billing.php|20|did: file:Class.A2Billing.php - line:999 - [A2Billing] DID call friend: Dialing 'SIP/10962537|30|HrL(3600000:61000:30000)' Friend.
a2billing.php|20|did:
-- AGI Script Executing Application: (DIAL) Options: (SIP/10962537|30|HrL(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 = UNDEF
-- - warning_sound = timeleft
-- - end_sound = UNDEF
-- Called 10962537
-- SIP/10962537-09e5c6b0 is ringing
-- SIP/10962537-09e5c6b0 answered SIP/64.34.170.149-09ad3a00
a2billing.php|20|did: file:Class.A2Billing.php - line:1037 - [A2Billing] DID call friend: dialstatus : ANSWER, answered time is 0
a2billing.php|20|did:
a2billing.php|20|did: file:Class.A2Billing.php - line:647 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='10962537']
-- AGI Script a2billing.php completed, returning 0
asterisk1*CLI>

AGI-CONF
[agi-conf20]

; the debug level
; 0=none, 1=low, 2=normal, 3=all
debug=3


; Manage the answer on the call
answer_call=no

; Activate application logging
; logging is optimized to write all the logs at once Very Happy
logger_enable=YES

; File to log
log_file=/tmp/a2billing.log


; play the goodbye message when the user has finished.
say_goodbye=NO

; enable the menu to choose the language
; press 1 for English, pulsa 2 para el espa�ol, Pressez 3 pour Fran�ais
play_menulanguage=NO


; force the use of a language, if you dont want to use it leave the option empty
; Values : ES, EN, FR, etc... (according to the audio you have installed)
force_language=

; Introduction prompt : to specify an additional prompt to play at the beginning of the application
; parlezplus-intro_013centimes
intro_prompt=

; length of the cardnumber (number of of digits)
len_cardnumber=6

; Alias-Card length
len_aliasnumber = 6

; Voucher length
len_voucher = 15

; Minimum amount of credit to use the application
min_credit_2call=0

; this is the minimum duration in seconds of a call in order to be billed
; any call with a length less than min_duration_2bill will have a 0 cost
; useful not to charge callers for system errors when a call was answered but it actually didn't connect
min_duration_2bill=0

; if user doesn't have enough credit to call a destination, prompt him to enter another cardnumber
notenoughcredit_cardnumber=NO

; if notenoughcredit_cardnumber = YES then assign the CallerID to the new cardnumber
notenoughcredit_assign_newcardnumber_cid=NO


; if YES it will use the DNID and try to dial out, without asking for the phonenumber to call
; value : YES, NO
use_dnid=YES

; list the dnid on which you want to avoid the use of the previous option "use_dnid"
no_auth_dnid=2400,2300

;number of times the user can dial different number
number_try=3


; Play the balance to the user after the authentication (values : yes - no)
say_balance_after_auth=NO

; Play the balance to the user after the call (values : yes - no)
say_balance_after_call=NO

; Play the initial cost of the route (values : yes - no)
say_rateinitial=NO

; Play the amount of time that the user can call (values : yes - no)
say_timetocall=YES

; enable the presentation of a callerID number
auto_setcallerid=No

; If set, and auto_setcallerid is enabled, the number is sent as
always
force_callerid=

; If force_callerid is not set, then this ensures that CID is set to one of the ccard's configured caller IDs or blank if none available.
; NO - disable this feature, caller ID can be anything.
; CID - Caller ID must be one of the customers caller IDs
; DID - Caller ID must be one of the customers DID nos.
; BOTH - Caller ID must be one of the above two items.
cid_sanitize=DID


; enable the callerid authentication
; if this option is active the CC system will check the CID of caller
cid_enable=YES

; if the CID does not exist, you can then ask for a cardnumber from the calling party in order to authenticate the caller
cid_askpincode_ifnot_callerid=No

; if the callerID, this option will allow the system to add it automatically and create a cardnumber to hook them up.
cid_auto_create_card=No

; if the callerID authenticate is on, this option will allow the assign the cardnumber enter to the callerID if the callerID wasnt in the DB
cid_auto_assign_card_to_cid=NO

; If cid_auto_create_card has been set to YES, the following option will define with which parameters the card will be create
;
; billing type of the new card
; ( value : POSTPAY or PREPAY)
cid_auto_create_card_typepaid=POSTPAY
; amount of credit of the new card
cid_auto_create_card_credit=0

; if postpay, define the credit limit for the card
cid_auto_create_card_credit_limit=1000

; the tariffgroup to use for the new card (this is the ID that you can find on the admin web interface)
cid_auto_create_card_tariffgroup=6

; if we want to check the callerID over the cardnumber authentication (to guard against spoofing)
callerid_authentication_over_cardnumber=NO

; enable the option to call sip/iax friend for free (values : YES - NO)
sip_iax_friends=No

; if SIP_IAX_FRIENDS is active, you can define a prefix for the dialed digits to call a pstn number
; values : number
sip_iax_pstn_direct_call_prefix=9

; this will enable a prompt to enter your destination number.
; if number start by sip_iax_pstn_direct_call_prefix we do directly a sip iax call, if not we do a normal call
sip_iax_pstn_direct_call=NO


; Extracharge DIDs, multiple numbers and fees must be separated by comma
;extracharge_did=1800XXXXXXX,1888XXXXXXX
extracharge_did=
;extracharge_fee=0.02,0.03
extracharge_fee=


; More information about the Dial : http://voip-info.org/wiki-Asterisk+cmd+dial
; 30 : The timeout parameter is optional. If not specifed, the Dial command will wait indefinitely, exiting only when the originating channel hangs up, or all the dialed channels return a busy or error condition. Otherwise it specifies a maximum time, in seconds, that the Dial command is to wait for a channel to answer.
; H: Allow the caller to hang up by dialing *
; r: Generate a ringing tone for the calling party
; m: Provide Music on Hold to the calling party until the called channel answers.
; L(x[:y][:z]): Limit the call to 'x' ms, warning when 'y' ms are left, repeated every 'z' ms)
; %timeout% tag is replaced by the calculated timeout according the credit & destination rate!

dialcommand_param="|30|HrL(%timeout%:61000:30000)"

; by default (3600000 = 1HOUR MAX CALL)
dialcommand_param_sipiax_friend="|30|HrL(3600000:61000:30000)"

; Define the order to make the outbound call
; YES -> SIP/[email protected]_ip - NO SIP/gateway_ip/dialedphonenumber
; Both should work exactly the same but i experimented one case when gateway was supporting [email protected]_ip
; So in case of trouble, try it out
switchdialcommand=Yes


; For free calls, limit the duration: amount in seconds
maxtime_tocall_negatif_free_route = 5400

; Send a reminder email to the user when they are under min_credit_2call
send_reminder=NO

; enable to monitor the call (to record all the conversations)
; value : YES - NO
record_call=NO

; format of the recorded monitor file
monitor_formatfile=gsm

;base currency define the default currency that you want to use to setup your system (see the file /etc/asterisk/rates.inc to know the currency code)
base_currency = usd

; Force to play the balance to the caller in a predefined currency, to use the currency set for by the customer leave this field empty
agi_force_currency =

; CURRENCY SECTION
; Define all the audio (without file extensions) that you want to play according to currency (use , to separate, ie "usd:prepaid-dollar,mxn:pesos,eur:Euro,all:credit")
currency_association = usd:prepaid-dollar,mxn:pesos,eur:euro,all:credit

; Please enter the file name you want to play when we prompt the calling party to enter the destination number
; file_conf_enter_destination = prepaid-enter-number-u-calling-1-or-011
file_conf_enter_destination = prepaid-enter-dest

; Please enter the file name you want to play when we prompt the calling party to choose the prefered language
; file_conf_enter_menulang = prepaid-menulang
file_conf_enter_menulang = prepaid-menulang2




Any Help Would Be Greatly Appreciated! :roll:


Attachments:
ScreenHunter_04 Dec. 28 17.08.jpg
ScreenHunter_04 Dec. 28 17.08.jpg [ 94 KiB | Viewed 16792 times ]
ScreenHunter_03 Dec. 28 17.04.jpg
ScreenHunter_03 Dec. 28 17.04.jpg [ 24.75 KiB | Viewed 16700 times ]
Top
 Profile  
 
 Post subject: please post config
PostPosted: Sun Jan 06, 2008 10:21 am 
Offline

Joined: Fri Jan 26, 2007 9:52 pm
Posts: 23
manchu could you please post your config of the trunk with %dialingnumber%, thanks


Top
 Profile  
 
 Post subject: RESOLVED - Codec Issue (READ THE LOG FILES SETH!!!!!!!!!!)
PostPosted: Sun Jan 06, 2008 1:07 pm 
Offline
User avatar

Joined: Sat Jun 02, 2007 5:59 am
Posts: 63
Location: Orlando, Fl
Manchu's Trunk

Added after 6 minutes:

This problem was simply a Codec issue. I knew it had to be something simple. As usual our good friend Stavros pointed me in the correct direction. I analyzed everything I could think of, except the asterisk log file, which showed there was an audio problem. I had my system set to use g729, but I had not yet installed the codec. I then changed the seting to ulaw and everything worked like a champ. I must say I learned a valuable lesson from this. ALWAYS READ ALL LOG FILES before freaking out.. There is usually VALUABLE information there.

Thanks Again Stavros for making me think!

8)


Attachments:
ScreenHunter_13 Jan. 06 07.58.jpg
ScreenHunter_13 Jan. 06 07.58.jpg [ 68.88 KiB | Viewed 16668 times ]
Top
 Profile  
 
 Post subject: what do i put there
PostPosted: Sun Jan 06, 2008 6:51 pm 
Offline

Joined: Fri Jan 26, 2007 9:52 pm
Posts: 23
what should i put here %dialingnumber%

1. should it be the did associated with the card

2. the calling card number

3. or leave it just the the way it is

my thinking is %123456789%


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 06, 2008 6:53 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Read the helpful comment just below the field. %dialingnumber% is what you want.


Top
 Profile  
 
 Post subject: i read it but i don't understand it
PostPosted: Sun Jan 06, 2008 6:55 pm 
Offline

Joined: Fri Jan 26, 2007 9:52 pm
Posts: 23
You can use the following tags to as variables: %dialingnumber%, %cardnumber%. ie g2/1644787890wwwwwwwwww%dialingnumber%


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3, 4  Next
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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