Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 4:59 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Best way to route a DID to calling card?
PostPosted: Fri Apr 16, 2010 1:51 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Hi,
If another asterisk PBX is registered to my a2billing system, how could I send DIDs to it and allow the asterisk PBX on the other end to properly route each DID?
I am playing around with DID forwarding but got nowhere. I know how to route DIDs to FreePBX extensions, to external IP addresses and to external phone numbers, but cannot seem to route the call to wherever the account is registered to. If the person on the other end has a dynamic IP, I cannot use DID destination to route the calls directly to an IP address.
I also tried not entering anything for DID destination, hoping that the DID would send the call to whatever IP is registered. Unfortunately that is not the case and I hope that this can work with dynamic IPs.

Thank you


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Fri Apr 16, 2010 6:43 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
A valid A2Billing destination may be:-

IAX2/A2B-Account-number/DID
or
sip/A2B-Account-number

if you are using realtime, make sure you have got rtcachefriends set to yes.

Joe


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Fri Apr 16, 2010 9:15 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
to add a funky way is to route DID back to the system via local trunk and back to A2Billing if you want the did charged for incoming minutes. or simply route did to a fake DID number and assign the destination (charging per minute) as second priority.

Rgds

Eamonn

http://www.eatelco.com
http://www.eatelcommunity.com


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Sun Apr 18, 2010 8:52 pm 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
I am still try to sort out my DID problem. I wil start from scratch. May this could
be a "How to" in the end for other users.

I got a number (DID or DDI) from DIDX. I am routing this DID via SIP URI to my Asterisk (not an A2billing Asterisk)
I can catch the number well. This means the number is working.

I am routing the DID to my A2billing server from the DIDx menu.

A2billing settings:

1. Inbound DID > Group
I set here a new group "DIDx" or test what ever.

2. Add/Search
Here I add my new DID 441234567, as country UK cause its a number from UK

3. Destination (here is my fault) We need the destination, cause somebody wants to catch
the call.
All my a2billing users are IAX user, cause I like IAX (IAX is my friend, specialy behind a NAT router)

Account number is clear
DID > choose from the popup, the DID you wish to give your a2billing user
Voipcall yes
Destination for me it´s not clear
Quote:
Jproper wrote
IAX2/A2B-Account-number/DID

I did this: IAX2/accountnumber/441234567 <------ cause this is my DID
After this I made a reload in my Asterisk CLI. When calling my new number 00441234567 from my mobile,
I am getting this output from my CLI.
Quote:
chan_sip.c:14847 handle_request_invite: Call from '' to extension '441234567' rejected because extension not found.

My IAX extension is registered and online.


Help is almost welcome

Thx.
Skiller


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Tue Apr 20, 2010 12:32 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
Quote:
I did this: IAX2/accountnumber/441234567 <------ cause this is my DID


This should be IAX2/accountnumber. you can only do the above if the IAX2 account is a client that will accept incoming DID's set as 441234567. say like another PBX server. in which case you will see in the PBX CLI incoming call set to DID 441234567 then route it as you like.

But if IAX2 account is using an end client like zoipher phone, then it should be simply IAX2/accountnumber.

Rgds
Eamonn

http://www.eatelco.com
http://www.eatelcommunity.com


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Tue Apr 20, 2010 1:49 pm 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
Dear Eamonn,

thanks first for your response.

I read a lot in the forum and I was trying this as well

Quote:
IAX2/441234567


I am getting with this settings still the same error message.

Using Asterisk 1.4xx and a2billing 1.6

Reg.
Michael


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Tue Apr 20, 2010 2:35 pm 
Offline

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

If you are using realtime, you need rtcachefriends=yes

Joe


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Tue Apr 20, 2010 6:29 pm 
Offline
User avatar

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

I am not using realtime.

Cheers
Michael


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Wed Apr 21, 2010 12:13 pm 
Offline

Joined: Mon Apr 19, 2010 4:04 am
Posts: 92
I'm having the same problem....


Top
 Profile  
 
 Post subject: Re: Best way to route a DID to calling card?
PostPosted: Wed Apr 21, 2010 12:18 pm 
Offline
User avatar

Joined: Mon Oct 26, 2009 8:20 am
Posts: 93
If I am dialing (441234567) the DID from an internal client its working proper. From outside its not working.

The sip URI is coming in this format:

441234567@myIpadress




Cheers
Skiller


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 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