Thanks Bogdan<div><br></div><div>If I were to use dispatcher what code would i use to actually send the call?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 10:35 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
<tt>Hi Gill,<br>
<br>
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).<br>
<br>
Regarding the accounting, OpenSIPS just generated CDRs (see the
acc module), it does not do billing.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
<br>
On 12/12/2012 06:45 PM, Gill Abada wrote:
</div></div><blockquote type="cite"><div><div class="h5">Hi Everyone
<div><br>
</div>
<div>Thanks in advance for the help!</div>
<div><br>
</div>
<div>I am a total noob to opensips I have read the 1.6 book
though.</div>
<div><br>
</div>
<div>I am having issues routing calls to SIP Providers. I have
inbound working but no outbound.</div>
<div><br>
</div>
<div>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*<a href="mailto:dialed_number@provider_domain.com" target="_blank">dialed_number@provider_domain.com</a></div>
<div><br>
</div>
<div>Any help/tutorial on routing calls would be appreciated.</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thanks again!!</div>
<div>Gill</div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote></div><br></div>