Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 6:51 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: ASterisk realtime A2billing SIP registration failure
PostPosted: Thu Apr 11, 2013 9:49 pm 
Offline

Joined: Fri Apr 05, 2013 6:30 pm
Posts: 1
I have been on this for many days. Please help out!

I am just like a few weeks old in Asterisk and A2billing. I got Asterisks 1.8 and A2Blling 1.9.4 installed remotely (accessible through the internet) by the help of somebody. Everything is working out fine, at least to the level that I think I have gone in depth in both application. Though overtime i have played with Trixbox, AsteriskNOW installation on Oracle virtualbox, which works perfectly within LAN. I only need to oreate extensions through FreePBX, and they perfectly connects with any device I want to use them with,
be it a softphone like x-lite or mobile SIP phones like Zoiper (android).

This is my first experience with A2billing and Asterisk online installation without freePBX. Just to try out things, I followed the video tutorials of Sysadminman, in video 4, after enabling SIP for customers I earlier created, it created perfectly but never register with any phone, always giving "registration error (404) Bad auth". I searched the forum, and read about "Realtime installation" http://forum.asterisk2billing.org/viewtopic.php?f=33&t=8877. I configured realtime according to this tutorial http://www.open-voip.org/index.php?title=Asterisk_Full_RealTime_example, yet the problem persist.
What should i do?


Top
 Profile  
 
 Post subject: Re: ASterisk realtime A2billing SIP registration failure
PostPosted: Mon Apr 22, 2013 4:12 am 
Offline

Joined: Sun Apr 21, 2013 2:52 am
Posts: 7
You need to add following Add-ons at the time of Asterisk installation. Use make menuselect to add this addons

[*] res_config_mysql

Edit following files and add all the info.

vi /etc/asterisk/res_config_mysql.conf

[general]
dbhost = 127.0.0.1
dbname = a2billing_database_name
dbuser = a2billing_database_user
dbpass = a2billing_database_password
dbport = 3306
dbsock = /tmp/mysql.sock
dbcharset = latin1
requirements=warn


vi /etc/asterisk/extconfig.conf
sipusers => mysql,general,cc_sip_buddies
sippeers => mysql,general,cc_sip_buddies
iaxusers => mysql,general,cc_iax_buddies
iaxpeers => mysql,general,cc_iax_buddies


Top
 Profile  
 
 Post subject: Re: ASterisk realtime A2billing SIP registration failure
PostPosted: Mon Apr 22, 2013 9:36 am 
Offline

Joined: Thu Nov 03, 2011 11:12 pm
Posts: 18
Did you sort this problem?

If not, turn up your verbosity and past the output of a failed registration.

Before you do make sure that in your asterisk cli, a :

realtime mysql status

returns something valid like:

general connected to [email protected], port 3306 with username xxxxxxx for 5 days, 21 hours


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 44 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