Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Oct 21, 2019 10:26 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Receving wholesale calls from Cisco or other gateways
PostPosted: Tue Nov 10, 2009 4:16 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Hello Everyone,

What should be changed in AGI CONF to allow a specific IP address from outside to terminate calls at my A2Billing v.141 server? This is to be a wholesale operation and no SIP registration is possible as calls come from a gateway which doesn't register to Asterisk or A2Billing SIP users.

Where do I add the IP of the other side in Asterisk or A2Billing?

Thanks in advance


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Tue Nov 10, 2009 5:16 pm 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
host=ipadress

Cheers
Skiller


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Tue Nov 10, 2009 5:48 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Thanks for the reply skiller. Can you please elaborate as to where host=ipaddress goes? is it a conf file of Asterisk/FreePBX or is it somewhere in A2Billing? Also, how does A2Billing know to charge the appropriate customer account?

Thanks again


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Tue Nov 10, 2009 6:04 pm 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
See my sreenshoot.

Some Asterisk knowledge is almost welcome!

Cheers
Skiller


Attachments:
A2bill.jpg
A2bill.jpg [ 135.9 KiB | Viewed 4372 times ]
Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Tue Nov 10, 2009 7:08 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Thanks. I will try this and get back with my findings.

Regards


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Tue Nov 10, 2009 7:13 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Also add insecure = port,invite


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Wed Nov 11, 2009 7:05 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Hi Guys,

So, I did put the outside gateway IP which terminates to my server into host=111.222.333.444 field and insecure=port,invite field. I can also register to the user using EyeBeam. However, when calls come in they don't get authorized. So, I setup an Asterisk server on the other side instead of the gateway and still I get unauthorized. This is what I put for the SIP trunk on the other side for peer details:

Note: I have turned Anonymous SIP = ON on my A2Billing server.
host=222.222.222.222
username=1838384374
secret=334834398734
type=peer

Thanks again


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Thu Nov 12, 2009 3:14 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Hi Guys,

I am still having problems. Please have your input. I am attaching a note file of SIP debug from my A2Billing server as to why it rejects the calls.

Note: IP 111.111.111.111 is my A2Billing server. IP 222.222.222.222 is the other Asterisk server sending calls to my A2Billing with the following dialplan:

exten => s,1,Answer
exten => s,n,Dial(SIP/TestCall/14166356574)

*Where TestCall is a trunk defind in the Asterisk Server which includes user 18811 (which is defiend as a SIP user in A2Billing)

Asterisk Server 222.222.222.222 is registered with register string to server 111.111.111.111 which my A2Billing server.

Thanks a lot


Attachments:
mySIPdebug.txt [5.93 KiB]
Downloaded 255 times
Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Fri Nov 13, 2009 5:15 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Anything guys?


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Thu Nov 19, 2009 8:47 pm 
Offline

Joined: Thu Jun 04, 2009 5:09 pm
Posts: 3
Hi!!

I am using this configuration to terminate calls in wholesale.

It is working!

Cheers!


Attachments:
a2billing wholesale termination.JPG
a2billing wholesale termination.JPG [ 102.76 KiB | Viewed 4270 times ]
Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Thu Nov 19, 2009 11:18 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Many thanks for the image there.

Can you please explain the following fields:

Host
Defaultip (typo: Default IP)
IP ADDR

They confuse me.

Thanks


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Fri Nov 20, 2009 12:09 pm 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
Code:
Can you please explain the following fields:

Host
Defaultip (typo: Default IP)
IP ADDR

They confuse me.

Thanks

This shall be the IP from your wholesale customer.

Cheers
Skiller


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Fri Nov 20, 2009 11:14 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Thanks for the input, but I mentioned three variables and which one are you refering to?

I would like to know what all of the following relate to:

Host = ?
Defaultip = ?
IP ADDR = ?

Thanks


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Sat Nov 21, 2009 4:39 am 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
Hi Bruce,

just to be clear. I have running 4 Asterisk (no Trixbox or something else) on different servers cause we are providing
different VoIP services.

In A2billing we are not using this values: Host = ? Defaultip = ? IP ADDR = ?

We are using the value host = IPadress in an other Asterisk for trunks or in your case
for wholesale customers. Set this value when you want to
set a trunk.

I am not sure, I guess you can set the other 2 values to:
;Defaultip = ?
;IP ADDR = ?

Cheers
Skiller


Top
 Profile  
 
 Post subject: Re: Receving wholesale calls from Cisco or other gateways
PostPosted: Sat Nov 21, 2009 9:34 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
From http://www.voip-info.org/wiki/view/Aste ... g+sip.conf - to which Areski has thoughtfully provided a link at the top of that screen.


Quote:
# defaultip = Dotted.Quad.IP.Addr : Default IP address of client if host=dynamic is specified. Used if client has not registered at any other IP address. Valid only for type=peer.


Quote:
# ipaddr : Dotted Quad IP address of the peer. Valid only for realtime peers.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: Google [Bot] 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group