Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 7:10 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: A2Billing as Wholesale provider with IP authentication
PostPosted: Wed Apr 20, 2011 4:54 pm 
Offline

Joined: Wed Sep 15, 2010 9:09 am
Posts: 96
Hi all,
I have consulted the subject of configuration A2Billing as a Wholesale provider with IP authentication via the link : viewtopic.php?p=17321
So I think that there are 3 steps to configure A2Billing as Wholesale provider with IP authentication :

Step 1 : Configuration SIP peer for Wholesale customer
- Create the SIP friend that you want to use IP authentication
- Set the `Type` field to `peer` without the quotes.
- Set the username field to nothing. Delete its content.
- Set the secret field to nothing. Delete its content
- Set the host field to the domain name or the IP address of the client
- Give a minimal peer setting context to the clients. And start testing.
All information is filled in file sip.conf or additional_a2billing_sip.conf

This is example :
Code:
[0486907346]
type=peer
accountcode=0486907346
regexten=0486907346
callerid=0486907346
amaflags=billing
nat=yes
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g729
host=ip of client
context=a2billing-wholesale
regseconds=0
cancallforward=yes
insecure=port,invite


- Reload asterisk

Step 2 : Configuration of dial plan
- Configure an agi-conf with : use_dnid = yes, play_audio= no , number_try=1, answer_call= no
- Configure a context extension :
Code:
[a2billing-wholesale]
exten => _X.,1,DeadAGI(a2billing.php|2)
exten => _X.,n,Hangup


Step 3 : Configure a new Call plan and new rate for wholesale customer.

In this configuration, I have some questions :
a) I don't understand the step 1. I know that there are 2 cases to create peer SIP client :
Case 1 : Create manually a peer sip in file sip.conf and link between this peer and account A2B via accountcode.

Case 2 : Create automatically a customer account in A2Billing and change dial plan for wholesale dial plan. So in this case, I may be change a field in Database A2Billing for context : a2billing ---> a2billing-wholesale . Because there is a function of Asterisk Realtime.

b) For IP authentication, Is it enough to configure : ?
Code:
host = IP of customer
insecure=port,invite


Thank in advance for all helps!
Best regards,
Ryan.


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


All times are UTC


Who is online

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