[OpenSIPS-Users] Routing calls to SIP Provider

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Dec 14 13:28:06 CET 2012


Hi Gill,

There is here a small example:
     
http://www.opensips.org/html/docs/modules/1.8.x/dispatcher.html#id293668

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/13/2012 05:47 PM, Gill Abada wrote:
> Thanks Bogdan
>
> If I were to use dispatcher what code would i use to actually send the 
> call?
>
>
> On Thu, Dec 13, 2012 at 10:35 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Gill,
>
>     For building the Username in RURI (username*dialed) you need to do
>     scripting (based on who's calling and where). Now, to decide where
>     to sent the call, you can use dispatcher (which changes only the
>     domain part of the RURI, so it will not mess up the username you set).
>
>     Regarding the accounting, OpenSIPS just generated CDRs (see the
>     acc module), it does not do billing.
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>     On 12/12/2012 06:45 PM, Gill Abada wrote:
>>     Hi Everyone
>>
>>     Thanks in advance for the help!
>>
>>     I am a total noob to opensips I have read the 1.6 book though.
>>
>>     I am having issues routing calls to SIP Providers. I have inbound
>>     working but no outbound.
>>
>>     I was told to try using dispatch but I am not sure how to send
>>     the call to my provider with the right syntax. The syntax I need
>>     is USERNAME*dialed_number at provider_domain.com
>>     <mailto:dialed_number at provider_domain.com>
>>
>>     Any help/tutorial on routing calls would be appreciated.
>>
>>     Also I am trying to do accounting on inbound calls with a
>>     different rate deck. Do I need to make a route for inbound calls
>>     that tellsit to use inbound rate deck?
>>
>>     Thanks again!!
>>     Gill
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121214/e529bb33/attachment-0001.htm>


More information about the Users mailing list