Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 12:56 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Incoming call with no callerid fails
PostPosted: Thu Dec 14, 2006 7:35 pm 
Offline

Joined: Tue Nov 21, 2006 7:01 pm
Posts: 19
If anyone can assist with this please let me know:

A2Billing works find when the incoming call has a valid callerid. However if the callerid is withheld or blank, the call is disconnected immediately after the user selects a language. However if "cid_enable" is NO then it works. So clearly the system is having trouble trying to authenticate the call because there is no callerid present. What it SHOULD do is just prompt the caller to enter the pin, which is what happens if a call is placed from a previously unknown callerid.

The error received is:
WARNING[3827]: file.c:512 ast_openstream_full: File # does not exist in any format

Here's the debug:
a2billing.php|1: line:58 - IDCONFIG : 1
a2billing.php|1:
a2billing.php|1: line:67 - MODE : standard
a2billing.php|1:
a2billing.php|1: A2Billing AGI internal configuration:
a2billing.php|1: Array
a2billing.php|1: (
a2billing.php|1: [debug] => 3
a2billing.php|1: [answer_call] => 1
a2billing.php|1: [logger_enable] => 1
a2billing.php|1: [log_file] => /var/log/asterisk/a2billing_agi1.log
a2billing.php|1: [say_goodbye] =>
a2billing.php|1: [play_menulanguage] => 1
a2billing.php|1: [force_language] =>
a2billing.php|1: [intro_prompt] =>
a2billing.php|1: [len_cardnumber] => 10
a2billing.php|1: [len_aliasnumber] => 15
a2billing.php|1: [len_voucher] => 15
a2billing.php|1: [min_credit_2call] => 0
a2billing.php|1: [min_duration_2bill] => 1
a2billing.php|1: [notenoughcredit_cardnumber] => 1
a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php|1: [use_dnid] =>
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: [say_balance_after_auth] => 1
a2billing.php|1: [say_balance_after_call] =>
a2billing.php|1: [say_rateinitial] =>
a2billing.php|1: [say_timetocall] => 1
a2billing.php|1: [auto_setcallerid] => 1
a2billing.php|1: [force_callerid] =>
a2billing.php|1: [cid_sanitize] => BOTH
a2billing.php|1: [cid_enable] => 1
a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
a2billing.php|1: [cid_auto_create_card] =>
a2billing.php|1: [cid_auto_assign_card_to_cid] => 1
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] => 9
a2billing.php|1: [sip_iax_pstn_direct_call] =>
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] => |30|HL(%timeout%:61000:30000)
a2billing.php|1: [dialcommand_param_sipiax_friend] => |30|HL(3600000:61000:30000)
a2billing.php|1: [switchdialcommand] =>
a2billing.php|1: [maxtime_tocall_negatif_free_route] => 3600
a2billing.php|1: [send_reminder] => 1
a2billing.php|1: [record_call] =>
a2billing.php|1: [monitor_formatfile] => gsm
a2billing.php|1: [base_currency] => usd
a2billing.php|1: [agi_force_currency] =>
a2billing.php|1: [currency_association] => Array
a2billing.php|1: (
a2billing.php|1: [0] => usd:prepaid-dollar
a2billing.php|1: [1] => mxn:pesos
a2billing.php|1: [2] => eur:euro
a2billing.php|1: [3] => all:credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang
a2billing.php|1: [currency_association_internal] => Array
a2billing.php|1: (
a2billing.php|1: [usd] => prepaid-dollar
a2billing.php|1: [mxn] => pesos
a2billing.php|1: [eur] => euro
a2billing.php|1: [all] => credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: AGI Request:
a2billing.php|1: Array
a2billing.php|1: (
a2billing.php|1: [agi_request] => a2billing.php
a2billing.php|1: [agi_channel] => SIP/198.65.166.172-0870e368
a2billing.php|1: [agi_language] => en
a2billing.php|1: [agi_type] => SIP
a2billing.php|1: [agi_uniqueid] => 1166124351.13
a2billing.php|1: [agi_callerid] => restricted
a2billing.php|1: [agi_calleridname] => Anonymous
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] => xxxxxxxxxxx
a2billing.php|1: [agi_rdnis] => unknown
a2billing.php|1: [agi_context] => callingcard-did
a2billing.php|1: [agi_extension] => xxxxxxxxxxx
a2billing.php|1: [agi_priority] => 2
a2billing.php|1: [agi_enhanced] => 0.0
a2billing.php|1: [agi_accountcode] =>
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: line:490 get_agi_request_parameter = restricted ; SIP/198.65.166.172-0870e368 ; 1166124351.13 ; ; xxxxxxxxxxx
-- Playing 'prepaid-menulang' (language 'en')
a2billing.php|1: line:448RES Menu Language DTMF : 1
a2billing.php|1: line:138 - [ANSWER CALL]
Dec 14 11:25:59 WARNING[3827]: file.c:512 ast_openstream_full: File # does not exist in any format
-- AGI Script a2billing.php completed, returning 0


Top
 Profile  
 
 Post subject: Re: Incoming call with no callerid fails
PostPosted: Fri Dec 15, 2006 7:10 am 
Offline

Joined: Sun Dec 03, 2006 10:40 am
Posts: 10
will that help you ?

http://forum.asterisk2billing.org/viewtopic.php?t=1242


timbo1966 wrote:
If anyone can assist with this please let me know:

A2Billing works find when the incoming call has a valid callerid. However if the callerid is withheld or blank, the call is disconnected immediately after the user selects a language. However if "cid_enable" is NO then it works. So clearly the system is having trouble trying to authenticate the call because there is no callerid present. What it SHOULD do is just prompt the caller to enter the pin, which is what happens if a call is placed from a previously unknown callerid.

The error received is:
WARNING[3827]: file.c:512 ast_openstream_full: File # does not exist in any format

Here's the debug:
a2billing.php|1: line:58 - IDCONFIG : 1
a2billing.php|1:
a2billing.php|1: line:67 - MODE : standard
a2billing.php|1:
a2billing.php|1: A2Billing AGI internal configuration:
a2billing.php|1: Array
a2billing.php|1: (
a2billing.php|1: [debug] => 3
a2billing.php|1: [answer_call] => 1
a2billing.php|1: [logger_enable] => 1
a2billing.php|1: [log_file] => /var/log/asterisk/a2billing_agi1.log
a2billing.php|1: [say_goodbye] =>
a2billing.php|1: [play_menulanguage] => 1
a2billing.php|1: [force_language] =>
a2billing.php|1: [intro_prompt] =>
a2billing.php|1: [len_cardnumber] => 10
a2billing.php|1: [len_aliasnumber] => 15
a2billing.php|1: [len_voucher] => 15
a2billing.php|1: [min_credit_2call] => 0
a2billing.php|1: [min_duration_2bill] => 1
a2billing.php|1: [notenoughcredit_cardnumber] => 1
a2billing.php|1: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php|1: [use_dnid] =>
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: [say_balance_after_auth] => 1
a2billing.php|1: [say_balance_after_call] =>
a2billing.php|1: [say_rateinitial] =>
a2billing.php|1: [say_timetocall] => 1
a2billing.php|1: [auto_setcallerid] => 1
a2billing.php|1: [force_callerid] =>
a2billing.php|1: [cid_sanitize] => BOTH
a2billing.php|1: [cid_enable] => 1
a2billing.php|1: [cid_askpincode_ifnot_callerid] => 1
a2billing.php|1: [cid_auto_create_card] =>
a2billing.php|1: [cid_auto_assign_card_to_cid] => 1
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] => 9
a2billing.php|1: [sip_iax_pstn_direct_call] =>
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] => |30|HL(%timeout%:61000:30000)
a2billing.php|1: [dialcommand_param_sipiax_friend] => |30|HL(3600000:61000:30000)
a2billing.php|1: [switchdialcommand] =>
a2billing.php|1: [maxtime_tocall_negatif_free_route] => 3600
a2billing.php|1: [send_reminder] => 1
a2billing.php|1: [record_call] =>
a2billing.php|1: [monitor_formatfile] => gsm
a2billing.php|1: [base_currency] => usd
a2billing.php|1: [agi_force_currency] =>
a2billing.php|1: [currency_association] => Array
a2billing.php|1: (
a2billing.php|1: [0] => usd:prepaid-dollar
a2billing.php|1: [1] => mxn:pesos
a2billing.php|1: [2] => eur:euro
a2billing.php|1: [3] => all:credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php|1: [file_conf_enter_menulang] => prepaid-menulang
a2billing.php|1: [currency_association_internal] => Array
a2billing.php|1: (
a2billing.php|1: [usd] => prepaid-dollar
a2billing.php|1: [mxn] => pesos
a2billing.php|1: [eur] => euro
a2billing.php|1: [all] => credit
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: AGI Request:
a2billing.php|1: Array
a2billing.php|1: (
a2billing.php|1: [agi_request] => a2billing.php
a2billing.php|1: [agi_channel] => SIP/198.65.166.172-0870e368
a2billing.php|1: [agi_language] => en
a2billing.php|1: [agi_type] => SIP
a2billing.php|1: [agi_uniqueid] => 1166124351.13
a2billing.php|1: [agi_callerid] => restricted
a2billing.php|1: [agi_calleridname] => Anonymous
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] => xxxxxxxxxxx
a2billing.php|1: [agi_rdnis] => unknown
a2billing.php|1: [agi_context] => callingcard-did
a2billing.php|1: [agi_extension] => xxxxxxxxxxx
a2billing.php|1: [agi_priority] => 2
a2billing.php|1: [agi_enhanced] => 0.0
a2billing.php|1: [agi_accountcode] =>
a2billing.php|1: )
a2billing.php|1:
a2billing.php|1: line:490 get_agi_request_parameter = restricted ; SIP/198.65.166.172-0870e368 ; 1166124351.13 ; ; xxxxxxxxxxx
-- Playing 'prepaid-menulang' (language 'en')
a2billing.php|1: line:448RES Menu Language DTMF : 1
a2billing.php|1: line:138 - [ANSWER CALL]
Dec 14 11:25:59 WARNING[3827]: file.c:512 ast_openstream_full: File # does not exist in any format
-- AGI Script a2billing.php completed, returning 0


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 11:15 pm 
Offline

Joined: Mon Jun 19, 2006 5:14 pm
Posts: 218
read this thread

http://forum.asterisk2billing.org/viewtopic.php?t=1000


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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