<div>depends on the design</div>
<div> </div>
<div>you can have one point of authenticaion and transaction</div>
<div> </div>
<div>Ram</div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Jun 8, 2010 at 10:59 PM, Premalatha Kuppan <span dir="ltr"><<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Thanks a lot. </div>
<div> </div>
<div>I have one question. If i route the call to asterisk for IVR ( in my case ivr is to authenticate the user to access the system), who will have the control, meaning who will maintian all the transactions and dailog. Is it opensips/Asterisk ?</div>
<div> </div>
<div>Thanks,</div>
<div>Prem<br><br></div>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">On Tue, Jun 8, 2010 at 9:50 AM, Gabriel Bermudez <span dir="ltr"><<a href="mailto:elgabo81@gmail.com" target="_blank">elgabo81@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>I basically use the load_balancer module to dispatch to different<br>asterisk servers<br><br>on the main route block after handling auth, registrations, etc<br>
<br>if(db_is_user_in("Request-URI", "ccivr")) {<br> xlog("The call will be redirect to calling card server");<br> route(3);<br>}<br><br># route for call handled by calling card servers<br>
route[3] {<br> # for INVITEs enable some additional helper routes<br> if (is_method("INVITE")) {<br> t_on_branch("2");<br> t_on_reply("2");<br> t_on_failure("1");<br>
if(client_nat_test("15")) {<br> nat_keepalive();<br> }<br> }<br><br> # prepare the message for the IVR<br><br> # select less loaded IVR<br> if(!load_balance("1", "ccivr")) {<br>
xlog("No IVR available !!!");<br> sl_send_reply("503", "Service Unavailable");<br> exit;<br> };<br><br> if(!t_relay()) {<br> sl_reply_error();<br>
exit;<br> }<br><br> exit;<br><br>}<br><br><br>Hope it helps<br><br>Regards,<br><br>2010/6/8 ram <<a href="mailto:talk2ram@gmail.com" target="_blank">talk2ram@gmail.com</a>>:<br>
<div>
<div></div>
<div>> I forgot the link<br>><br>> i did this work some time back<br>><br>> Lost the link, google it<br>><br>> Opensips+asterisk+a2b<br>><br>> Ram<br>><br>> On Mon, Jun 7, 2010 at 4:07 PM, Premalatha Kuppan <<a href="mailto:premalatha@ngintech.com" target="_blank">premalatha@ngintech.com</a>><br>
> wrote:<br>>><br>>> Can you pleae guide me how to do this ?<br>>><br>>> On Mon, Jun 7, 2010 at 4:04 PM, Douglas Lane <<a href="mailto:doug@wd.co.za" target="_blank">doug@wd.co.za</a>> wrote:<br>
>>><br>>>> Hi Premalatha,<br>>>><br>>>> Perhaps have a look at SEMS for this.<br>>>><br>>>> Thanks<br>>>> Doug<br>>>><br>>>><br>>>> On 2010/06/07 12:30 PM, Premalatha Kuppan wrote:<br>
>>><br>>>> Thanks Sebastian.<br>>>><br>>>> I have followed up this link and tried extending the opensips.cfg file to<br>>>> route call to Asterisk.<br>>>><br>>>> I doubt/not clear that after IVR (meaning when the user is authenticated<br>
>>> through IVR) who will handle all the transactions and dialog (OPENSIPS or<br>>>> Asterisk ) ?<br>>>><br>>>> I want Opensips to handle all the transactions.<br>>>><br>>>> Any insight on this ?<br>
>>><br>>>> Thanks,<br>>>> Prem<br>>>><br>>>> On Mon, Jun 7, 2010 at 3:15 PM, Schumann Sebastian<br>>>> <<a href="mailto:Sebastian.Schumann@t-com.sk" target="_blank">Sebastian.Schumann@t-com.sk</a>> wrote:<br>
>>>><br>>>>> Hi Prem<br>>>>><br>>>>> There is a good tutorial at<br>>>>> <a href="http://www.opensips.org/Resources/DocsTutAsterisk" target="_blank">http://www.opensips.org/Resources/DocsTutAsterisk</a> It does exactly what you<br>
>>>> need I assume.<br>>>>><br>>>>> For details in writing and extending basic configuration, you can find<br>>>>> also the linked documentation there.<br>>>>><br>
>>>> Best regards<br>>>>> Sebastian<br>>>>><br>>>>> > -----Original Message-----<br>>>>> > From: <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-" target="_blank">users-</a><br>
>>>> > <a href="mailto:bounces@lists.opensips.org" target="_blank">bounces@lists.opensips.org</a>] On Behalf Of Premalatha Kuppan<br>>>>> > Sent: Monday, 07. June 2010 11:35<br>>>>> > To: OpenSIPS users mailling list<br>
>>>> > Subject: [OpenSIPS-Users] OPENSIPS+ASTERISK Integration<br>>>>> ><br>>>>> > Hi,<br>>>>> ><br>>>>> > Can anyone guide me in building the Opensips and Asterisk Integration.<br>
>>>> ><br>>>>> > I want to Use OpenSIPS as SIP PROXY (i.e all transactions and dialogs<br>>>>> > should be<br>>>>> > handled by Opensips) and Asterisk to do only IVR functionality.<br>
>>>> ><br>>>>> > I appreciate if anyone can guide me in writing a routing logic from<br>>>>> > Opensips to<br>>>>> > Asterisk for IVR and futher call flow OPENSIPS to handle.<br>
>>>> ><br>>>>> > Thanks,<br>>>>> > Prem<br>>>>> ><br>>>>><br>>>>><br>>>>> _______________________________________________<br>
>>>> Users mailing list<br>>>>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>>>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>>>><br>>>> _______________________________________________<br>>>> Users mailing list<br>>>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>>>><br>>>><br>>>> _______________________________________________<br>
>>> Users mailing list<br>>>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>>><br>>><br>>> _______________________________________________<br>>> Users mailing list<br>>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>>><br>><br>><br>> _______________________________________________<br>
> Users mailing list<br>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>