Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Sep 19, 2017 11:35 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Sun Nov 15, 2015 9:40 am 
Offline

Joined: Sun Nov 15, 2015 9:23 am
Posts: 4
I Am new in a2billing.

I have installed elastix 2.4 and a2billing 1.9.4

after installing i created trunk for outbound and inbound, then i aded outbound and inbound routes. I also added custom destination suggested here https://sysadminman.net/blog/2009/integ ... illing-621

then i forward my inbound routes to the above custom destination

In A2biiling I added customer,callplan,ratecard,rates,trunks etc. I check in simulator and that works fine.

Now problem is when i start calling

It ask for pin number. I then provide my account number then issue are

1) It doesn't says my balance
2) after giving number to dial , It doesnt says my remaining minutes
3) After that It hangup automatically and in my provider's cdr i get "number"|60|HRrl(8571000 under "called number"


Below is the cli generated when i make call


== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [[email protected]:1] Set("SIP/localphone-00000022", "GROUP()=OUT_3") in new stack
-- Executing [[email protected]:2] Goto("SIP/localphone-00000022", "from-trunk,12069009315,1") in new stack
-- Goto (from-trunk,12069009315,1)
-- Executing [[email protected]:1] Set("SIP/localphone-00000022", "__FROM_DID=12069009315") in new stack
-- Executing [[email protected]:2] Gosub("SIP/localphone-00000022", "app-blacklist-check,s,1") in new stack
-- Executing [[email protected]:1] GotoIf("SIP/localphone-00000022", "0?blacklisted") in new stack
-- Executing [[email protected]:2] Set("SIP/localphone-00000022", "CALLED_BLACKLIST=1") in new stack
-- Executing [[email protected]:3] Return("SIP/localphone-00000022", "") in new stack
-- Executing [[email protected]:3] ExecIf("SIP/localphone-00000022", "1 ?Set(CALLERID(name)=Restricted)") in new stack
-- Executing [[email protected]:4] Set("SIP/localphone-00000022", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]:5] Set("SIP/localphone-00000022", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [[email protected]:6] Goto("SIP/localphone-00000022", "a2billing,12069009315,1") in new stack
-- Goto (a2billing,12069009315,1)
-- Executing [[email protected]:1] Answer("SIP/localphone-00000022", "") in new stack
-- Executing [[email protected]:2] Wait("SIP/localphone-00000022", "1") in new stack
-- Executing [[email protected]:3] DeadAGI("SIP/localphone-00000022", "a2billing.php,1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- <SIP/localphone-00000022> Playing 'prepaid-enter-pin-number.gsm' (language 'en')
failed to extend from 256 to 424
failed to extend from 256 to 424
-- AGI Script Executing Application: (DIAL) Options: (SIP/iqtelecom/12069009315|60|HRrL(85710000:61000:30000))
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/iqtelecom/12069009315|60|HRrL(85710000:61000:30000)
-- SIP/iqtelecom-00000023 is making progress passing it to SIP/localphone-00000022
== Everyone is busy/congested at this time (1:0/0/1)
-- <SIP/localphone-00000022> Playing 'prepaid-enter-dest.gsm' (language 'en')
failed to extend from 256 to 424
-- AGI Script Executing Application: (DIAL) Options: (SIP/iqtelecom/127281581939|60|HRrL(85710000:61000:30000))
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/iqtelecom/127281581939|60|HRrL(85710000:61000:30000)
-- SIP/iqtelecom-00000024 is making progress passing it to SIP/localphone-00000022
== Everyone is busy/congested at this time (1:0/0/1)
-- <SIP/localphone-00000022> Playing 'prepaid-enter-dest.gsm' (language 'en')
failed to extend from 256 to 424
-- <SIP/localphone-00000022>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing, 12069009315, 3) exited non-zero on 'SIP/localphone-00000022'
failed to extend from 256 to 424
failed to extend from 256 to 424


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Mon Nov 16, 2015 9:15 am 
Offline

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

For security reasons, you need to upgrade immediately to version 2.2

You need to set your Asterisk version from 1_4 to 1_11

Joe


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Mon Nov 16, 2015 12:05 pm 
Offline

Joined: Sun Nov 15, 2015 9:23 am
Posts: 4
How to update to version 2.2 ? Do you have any guide regarding that?

After updating asterisk version from 1_4 to 1_11 I am still facing the same issue. No changes


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Mon Nov 16, 2015 12:56 pm 
Offline

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

Are you still getting:
3) After that It hangup automatically and in my provider's cdr i get "number"|60|HRrl(8571000 under "called number"

Are you still getting:
-- AGI Script Executing Application: (DIAL) Options: (SIP/iqtelecom/12069009315|60|HRrL(85710000:61000:30000))
instead of
-- AGI Script Executing Application: (DIAL) Options: (SIP/iqtelecom/12069009315,60,HRrL(85710000:61000:30000))

Maybe you have not changed the Asterisk version in Global and the AGI-Conf?

Joe


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Mon Nov 16, 2015 3:33 pm 
Offline

Joined: Sun Nov 15, 2015 9:23 am
Posts: 4
Hi,

Thank you for your prompt response

after changing asterisk version and in agi.conf1 file in the system setting i replace "|" with "," one of my problem is resolved.

But

when i register sip using "voip settings" in my a2biiling admin pannel it shows "error 403"

-- Unregistered SIP '1000'
[2015-11-16 10:32:26] NOTICE[2820]: chan_sip.c:25579 handle_request_register: Registration from '"6372795222"<sip:[email protected]:5060>' failed for '115.187.63.110:37286' - No matching peer found
[2015-11-16 10:32:27] NOTICE[2820]: chan_sip.c:25579 handle_request_register: Registration from '"6372795222"<sip:[email protected]:5060>' failed for '115.187.63.110:37286' - No matching peer found


Please help


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Mon Nov 16, 2015 4:05 pm 
Offline

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

That's what setting the Asterisk version does! It changes pipes to commas.

Joe


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Mon Nov 16, 2015 6:53 pm 
Offline

Joined: Sun Nov 15, 2015 9:23 am
Posts: 4
when i register sip using "voip settings" in my a2biiling admin pannel it shows "error 403"

-- Unregistered SIP '1000'
[2015-11-16 10:32:26] NOTICE[2820]: chan_sip.c:25579 handle_request_register: Registration from '"6372795222"<sip:[email protected]:5060>' failed for '115.187.63.110:37286' - No matching peer found
[2015-11-16 10:32:27] NOTICE[2820]: chan_sip.c:25579 handle_request_register: Registration from '"6372795222"<sip:[email protected]:5060>' failed for '115.187.63.110:37286' - No matching peer found


Please help


Top
 Profile  
 
 Post subject: Re: a2billing sending call to provider as "number"|60|HRrl(85710
PostPosted: Tue Nov 17, 2015 9:43 am 
Offline

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

You may not have set up Asterisk Realtime correctly...

core set verbose 7
core set debug 7

...will give you more information.

Joe


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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