Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 1:12 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Thu Jan 21, 2010 7:16 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
Hello
I have elastix 1.6 that comes with a2billing 1.3
freepbx extensions work fine, and dial out with voip provider ok.
in a2billing i created provider, trunk, rate, call plan, customer, sip friend, etc as per manual.
my a2billing client logs in ok to my softphone (portsip)
CLI> sip show peers shows a2billing customer ok
but, when i dial out y get " all failed: not found 404" in my softphone
CLI> dont show nothing when i dial

please help
thanks a lot


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Sat Jan 23, 2010 12:44 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 4:07 pm
Posts: 23
Location: Brazil
It seems to me a problem in your dialplan, post the configuration of your sip and also the context that you are using to call through a2billing.

So maybe I can help you.


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Sat Jan 23, 2010 5:36 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
Thanks Ricardo for your help.
I have the default install of elastix 1.6 that comes with a2billing 1.3.
The freepbx part is working ok, (i m used to trixbox for some time allready ), as far as extensions, trunks, routes, so i can call PSTN using my betamax voip provider.
problem is trying to use a2billing.
Following installation guides i created provider, trunk, ratecard, dialplan, customer, sip friend, etc
my a2billing trunk has the same name as my freepbx trunk.
the customer created is in my additional_a2billing_sip.conf

[4775407827]
type=friend
username=4775407827
accountcode=4775407827
regexten=4775407827
callerid=757416273042484
amaflags=billing
secret=0287432266
nat=yes
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=ulaw
allow= alaw
allow= gsm
allow= g729
host=dynamic
context=a2billing
regseconds=0
cancallforward=yes
-------------
customer can login to a softphone and it comes registered in my sip show peers,
but when i dial i get the message mentioned before,

something is missing in my configuration,
how my a2billing customer is connected to my freepbx trunk, route and where in a2billing i have to put my voip provider account and password as freebpx has in peer details?
is there any manipulation i have to do in other configuration files as extensions etc?
is freepbx dialplan or a2billing dialplan?

i apreciate your help


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Mon Jan 25, 2010 12:27 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 4:07 pm
Posts: 23
Location: Brazil
Try reading this:

http://forum.asterisk2billing.org/viewtopic.php?f=4&t=2127&start=30

I think that will help you with your problem.


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Mon Jan 25, 2010 6:58 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
thanks ricardo, the link will be a long proyect to study.
I allready did that hint but didnt work.
let me go little by little with this question
why when a a2billing customer dial i dont see any line in the CLI screen except when it registers? like i see when a freepbx dials?
means that a2billing has no conection with asterisk?
if you have another more elaborated link please let me know


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Tue Jan 26, 2010 10:22 am 
Offline
User avatar

Joined: Thu Jan 14, 2010 4:07 pm
Posts: 23
Location: Brazil
It means that you do not have dialing rules compatible, try:

CLI> dialplan show [yourcontext]

I still think your problem is in the extensions.conf file.


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Tue Jan 26, 2010 5:13 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
I have this

elastix*CLI> dialplan show a2billing
[ Context 'a2billing' created by 'pbx_config' ]
'_X.' => 3. DeadAGI(a2billing.php) [pbx_config]
5. Hangup() [pbx_config]

-= 1 extension (2 priorities) in 1 context. =-
elastix*CLI>
-----------------------------------------------
my config files here:

additional_a2billing_sip.conf :

[4775407827]
type=friend
username=4775407827
accountcode=4775407827
regexten=4775407827
callerid=757416273042484
amaflags=billing
secret=0287432266
nat=yes
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=ulaw
allow= alaw
allow= gsm
allow= g729
host=dynamic
context=a2billing
regseconds=0
cancallforward=yes

-----------------------------

sip.conf :

[general]
#include sip_general_additional.conf
#include sip_general_custom.conf
#include sip_nat.conf
#include sip_registrations_custom.conf
#include sip_registrations.conf
#include sip_custom.conf
#include sip_additional.conf
#include additional_a2billing_sip.conf
#include sip_custom_post.conf

----------------------------------------
extensions.conf:
(added by me)
.
.
;this is where parked calls go if they time-out. Should probably re-ring
[default]
include => ext-local
exten => s,1,Playback(vm-goodbye)
exten => s,2,Macro(hangupcall)

[a2billing]
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,5,Hangup
-----------------------------------------
extensions_a2billing.conf :

[a2billing]

exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|1)
exten => _X.,n,Hangup

---------------------------------

thanks a lot


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Tue Jan 26, 2010 5:18 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 4:07 pm
Posts: 23
Location: Brazil
There it is...

Quote:
[a2billing]
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,5,Hangup


In your A2billing context you dont have the priority 1 extension...

Try to use like this:
Code:
[a2billing]
; CallingCard application
;exten => _X.,1,Answer
;exten => _X.,2,Wait,2
exten => _X.,1,DeadAGI,a2billing.php
exten => _X.,2,Wait,2
exten => _X.,3,Hangup


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Tue Jan 26, 2010 5:33 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
I replaced in both extensions.conf and extensions_2billing.conf
still when a dial from my "4775407827" a2billing account to my "200" freepbx working account nothing happens in my cli> screen
and get "call failed not found 404" in my portsip softphone


Top
 Profile  
 
 Post subject: Re: A2BILLING CUSTOMER CAN'T DIAL OUT
PostPosted: Tue Jan 26, 2010 5:44 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
sorry i needed extensions reload


Top
 Profile  
 
 Post subject: SOLVED
PostPosted: Wed Jan 27, 2010 4:40 pm 
Offline

Joined: Wed Oct 24, 2007 7:02 pm
Posts: 39
Thanks Ricardo, that fixed my a2billing, no I can dial out.


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


All times are UTC


Who is online

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