Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 2:27 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Several Fresh installs failing
PostPosted: Tue Apr 15, 2014 12:33 am 
Offline

Joined: Sun Apr 13, 2014 1:06 am
Posts: 4
I am trying to setup a new system (FreePBX 2.11/A2billing 2.08/CentOS 6.5). I have others running just fine but I am at a loss here to get another one set up. I am assuming I must be missing something since repeated attempts with different Asterisk versions, x32 and X64 all fail the exact same way. What happens is outbound calls just hangup. I know the eventual outbound trunk is good as calls sent to it and not a2billing work fine. Logging appears to show that a2billing gets the call. Please see below. Any help is MUCH appreciated as it will keep me from losing what is left of my mind.






<--- SIP read from UDP:10.1.1.223:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.1.1.223:5060;branch=z9hG4bK24510809
Max-Forwards: 70
From: <sip:[email protected]>;tag=as3e856331
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.8.1)
Date: Tue, 15 Apr 2014 00:30:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Remote-Party-ID: "2257618808" <sip:[email protected]>;party=calling;privacy=off;screen=no
Content-Type: application/sdp
Content-Length: 229

v=0
o=root 961907856 961907856 IN IP4 10.1.1.223
s=Asterisk PBX 11.8.1
c=IN IP4 10.1.1.223
t=0 0
m=audio 14666 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------->
--- (15 headers 11 lines) ---
Sending to 10.1.1.223:5060 (NAT)
Sending to 10.1.1.223:5060 (NAT)
Using INVITE request as basis request - [email protected]:5060
Found peer '2785610719' for '2257618808' from 10.1.1.223:5060
Found RTP audio format 0
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 10.1.1.223:14666
Looking for 9854004154 in from-trunk (domain 10.1.1.229)
list_route: hop: <sip:[email protected]:5060>

<--- Transmitting (no NAT) to 10.1.1.223:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.1.1.223:5060;branch=z9hG4bK24510809;received=10.1.1.223
From: <sip:[email protected]>;tag=as3e856331
To: <sip:[email protected]>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Server: FPBX-2.11.0(11.8.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>
Audio is at 14210
Adding codec 100003 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Reliably Transmitting (no NAT) to 10.1.1.223:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.1.223:5060;branch=z9hG4bK24510809;received=10.1.1.223
From: <sip:[email protected]>;tag=as3e856331
To: <sip:[email protected]>;tag=as6a8cc04a
Call-ID: [email protected]:5060
CSeq: 102 INVITE
Server: FPBX-2.11.0(11.8.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Session-Expires: 1800;refresher=uas
Contact: <sip:[email protected]:5060>
Content-Type: application/sdp
Require: timer
Content-Length: 231

v=0
o=root 1884615877 1884615877 IN IP4 10.1.1.229
s=Asterisk PBX 11.8.1
c=IN IP4 10.1.1.229
t=0 0
m=audio 14210 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

<------------>

<--- SIP read from UDP:10.1.1.223:5060 --->
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.223:5060;branch=z9hG4bK79eb5b92
Max-Forwards: 70
From: <sip:[email protected]>;tag=as3e856331
To: <sip:[email protected]>;tag=as6a8cc04a
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(11.8.1)
Content-Length: 0

<------------->
--- (10 headers 0 lines) ---
a2billing.php,1: file:Class.A2Billing.php - line:586 - uniqueid: - A2Billing AGI internal configuration:
a2billing.php,1: file:Class.A2Billing.php - line:587 - uniqueid: - Array
a2billing.php,1: (
a2billing.php,1: [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000)
a2billing.php,1: [description] => agi-config
a2billing.php,1: [asterisk_version] => 1_6
a2billing.php,1: [answer_call] => 1
a2billing.php,1: [play_audio] => 1
a2billing.php,1: [say_goodbye] => 0
a2billing.php,1: [play_menulanguage] => 0
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] => 0
a2billing.php,1: [notenoughcredit_assign_newcardnumber_cid] => 0
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] => 0
a2billing.php,1: [say_balance_after_call] => 0
a2billing.php,1: [say_rateinitial] => 0
a2billing.php,1: [say_timetocall] => 0
a2billing.php,1: [auto_setcallerid] => 1
a2billing.php,1: [force_callerid] =>
a2billing.php,1: [cid_sanitize] => 0
a2billing.php,1: [cid_enable] => 0
a2billing.php,1: [cid_askpincode_ifnot_callerid] => 1
a2billing.php,1: [failover_lc_prefix] => 0
a2billing.php,1: [cid_auto_assign_card_to_cid] => 1
a2billing.php,1: [callerid_authentication_over_cardnumber] => 0
a2billing.php,1: [sip_iax_friends] => 0
a2billing.php,1: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php,1: [sip_iax_pstn_direct_call] => 0
a2billing.php,1: [ivr_voucher] => 0
a2billing.php,1: [ivr_voucher_prefix] => 8
a2billing.php,1: [jump_voucher_if_min_credit] => 0
a2billing.php,1: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
a2billing.php,1: [dialcommand_param_sipiax_friend] => |60|HiL(3600000:61000:30000)
a2billing.php,1: [switchdialcommand] => 0
a2billing.php,1: [failover_recursive_limit] => 2
a2billing.php,1: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php,1: [send_reminder] => 0
a2billing.php,1: [record_call] => 0
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: [local_dialing_addcountryprefix] => 0
a2billing.php,1: [max_call_call_2_did] => 3600
a2billing.php,1: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php,1: [conf_order_menulang] => en:fr:es
a2billing.php,1: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php,1: [international_prefixes] => Array
a2billing.php,1: (
a2billing.php,1: [0] => 011
a2billing.php,1: [1] => 00
a2billing.php,1: [2] => 09
a2billing.php,1: [3] => 1
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: [extracharge_did] => Array
a2billing.php,1: (
a2billing.php,1: [0] => 1800
a2billing.php,1: [1] => 1900
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: [extracharge_fee] => Array
a2billing.php,1: (
a2billing.php,1: [0] => 0
a2billing.php,1: [1] => 0
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: [extracharge_buyfee] => Array
a2billing.php,1: (
a2billing.php,1: [0] => 0
a2billing.php,1: [1] => 0
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: [maxtime_tounlimited_calls] => 5400
a2billing.php,1: [maxtime_tofree_calls] => 5400
a2billing.php,1: [callplan_deck_minute_threshold] =>
a2billing.php,1: [disable_announcement_seconds] => 0
a2billing.php,1: [currency_cents_association] => Array
a2billing.php,1: (
a2billing.php,1: [0] => usd:prepaid-cents
a2billing.php,1: [1] => eur:prepaid-cents
a2billing.php,1: [2] => gbp:prepaid-pence
a2billing.php,1: [3] => all:credit
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: [verbosity_level] => 4
a2billing.php,1: [logging_level] => 3
a2billing.php,1: [dial_balance_reservation] => 0.25
a2billing.php,1: [callerid_update] => 0
a2billing.php,1: [cid_auto_create_card] => 0
a2billing.php,1: [cid_auto_create_card_len] => 10
a2billing.php,1: [cid_auto_create_card_typepaid] => PREPAID
a2billing.php,1: [cid_auto_create_card_credit] => 0
a2billing.php,1: [cid_auto_create_card_credit_limit] => 0
a2billing.php,1: [cid_auto_create_card_tariffgroup] => 1
a2billing.php,1: [busy_timeout] => 1
a2billing.php,1: [callback_reduce_balance] => 1
a2billing.php,1: [ivr_enable_locking_option] => 0
a2billing.php,1: [ivr_enable_account_information] => 0
a2billing.php,1: [ivr_enable_ivr_speeddial] => 0
a2billing.php,1: [play_rate_cents_if_lower_one] => 0
a2billing.php,1: [callback_beep_to_enter_destination] => 0
a2billing.php,1: [cid_prompt_callback_confirm_phonenumber] => 0
a2billing.php,1: [lcr_mode] => 0
a2billing.php,1: [logger_enable] => 1
a2billing.php,1: [log_file] => /var/log/a2billing/a2billing.log
a2billing.php,1: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)
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: [currency_cents_association_internal] => Array
a2billing.php,1: (
a2billing.php,1: [usd] => prepaid-cents
a2billing.php,1: [eur] => prepaid-cents
a2billing.php,1: [gbp] => prepaid-pence
a2billing.php,1: [all] => credit
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: [file_conf_enter_menulang] => prepaid-menulang
a2billing.php,1: [ivr_voucher_prefixe] => 8
a2billing.php,1: [cheat_on_announcement_time] => 0
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 1
a2billing.php,1: file:a2billing.php - line:118 - uniqueid: - MODE : standard
a2billing.php,1: file:a2billing.php - line:130 - uniqueid: - AGI Request:
a2billing.php,1: Array
a2billing.php,1: (
a2billing.php,1: [agi_request] => a2billing.php
a2billing.php,1: [agi_channel] => SIP/2785610719-0000000a
a2billing.php,1: [agi_language] => en
a2billing.php,1: [agi_type] => SIP
a2billing.php,1: [agi_uniqueid] => 1397521832.10
a2billing.php,1: [agi_version] => 11.8.1
a2billing.php,1: [agi_callerid] => 2257618808
a2billing.php,1: [agi_calleridname] => 2257618808
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] => 9854004154
a2billing.php,1: [agi_rdnis] => unknown
a2billing.php,1: [agi_context] => a2billing
a2billing.php,1: [agi_extension] => s
a2billing.php,1: [agi_priority] => 2
a2billing.php,1: [agi_enhanced] => 0.0
a2billing.php,1: [agi_accountcode] => 2785610719
a2billing.php,1: [agi_threadid] => 140128458118912
a2billing.php,1: [agi_arg_1] => 1
a2billing.php,1: )
a2billing.php,1:
a2billing.php,1: file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.0.8]
Scheduling destruction of SIP dialog '[email protected]:5060' in 32000 ms (Method: ACK)
set_destination: Parsing <sip:[email protected]:5060> for address/port to send to
set_destination: set destination to 10.1.1.223:5060
Reliably Transmitting (no NAT) to 10.1.1.223:5060:
BYE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.229:5060;branch=z9hG4bK733bb04d
Max-Forwards: 70
From: <sip:[email protected]>;tag=as6a8cc04a
To: <sip:[email protected]>;tag=as3e856331
Call-ID: [email protected]:5060
CSeq: 102 BYE
User-Agent: FPBX-2.11.0(11.8.1)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---

<--- SIP read from UDP:10.1.1.223:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.1.229:5060;branch=z9hG4bK733bb04d;received=10.1.1.229
From: <sip:[email protected]>;tag=as6a8cc04a
To: <sip:[email protected]>;tag=as3e856331
Call-ID: [email protected]:5060
CSeq: 102 BYE
Server: FPBX-2.11.0(11.8.1)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------->
--- (10 headers 0 lines) ---
SIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog '[email protected]:5060' Method: ACK
ip-10-1-1-229*CLI> sip set debug off


Top
 Profile  
 
 Post subject: Re: Several Fresh installs failing
PostPosted: Tue Apr 15, 2014 7:58 am 
Offline

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

There was a few hours where there was a problem, before we sent out the email regarding http://www.asterisk2billing.org/heartbl ... abilities/

Can you download 2.0.8 again and and replace your existing files, and report back if there is still an issue, as we have applied a hotfix to 2.0.8.

Yours

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

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