[asterisk-users] How to resell my trunk/provider to others?

Tarek Sawah tareksawah at hotmail.com
Thu Nov 5 05:48:31 CST 2009







If you are a FreePBX user then i would suggest that you have a look at A2billing. it's a great tool for "RETAIL" if you are selling to individuals.
BUT if you are doing a termination business.. which i suspect is the situation here .. then first of all and before offering any assistant .. i would advise you to secure your money .. many of companies that buy termination services from people do not pay on time .. and sometimes they don't pay at all.
if you have secured your money the second step is easy.. get the IP address of the person sending you calls.. and create a peer in your sip.conf permitting their IP to send calls through your system.. and use a different context than the one you are using for your local users which is "from-internal"
and then identify that new context in your extensions.conf or in your case i would suggest using the extensions_custom.conf  so if your context for example was [from-client] your dialplan is simple
###########
[from-client]
exten = _.,1,Dial(SIP/GATEWAYIP/${EXTEN})
exten = _.,n,Hangup
###########
that is all about it.. that's how i solve similar situation.. but my advice is never use Asterisk in Termination.. it doesn't offer you the best solution.. as Asterisk breaks the call into two combined streams or "Legs" as some asterisk Gurus love to call it.
if you can't afford a Quimtum Gateway or Cisco .. you can still work with Asterisk for a while.  Please remember that asterisk requires a lot of resources for the Encoding when using G729 and G723 codecs that are widely used in Termination.

hope this put some light on your request.. 
have a nice day.

--
AHD Tarek Sawah

Integrated Digital Systems

CCNP, MCSE, RHCE, VoIP

Syria: +963 944 618286

USA: +1 347 562 2308






> From: lists at latinbits.com
> Date: Wed, 4 Nov 2009 14:43:55 -0500
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] How to resell my trunk/provider to others?
> 
> Hello,
> 
> I've been tasked to look for ways to resell to others the service that  
> one of a trunk provides.. In other words, i want to configure my  
> current Asterisk (Ver. 1.4.26.1) with Freepbx 2.6.0 so i can act as a  
> trunk to others.. I would provide an IP to them from one of my servers  
> and they will use that IP to connect to me and i will connect them to  
> my trunk/provider.
> 
> If possible, please provide some guidance as to where to start or a  
> link since i searched in google with no valuable results.. Maybe am  
> looking incorrectly.
> 
> Regards,
> 
> Carlos
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
 		 	   		  
_________________________________________________________________
Windows 7: Unclutter your desktop.
http://go.microsoft.com/?linkid=9690331&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091105/a3f547bd/attachment.htm 


More information about the asterisk-users mailing list