Thanks bogdan <br><br><br><div class="gmail_quote">On Fri, Jun 26, 2009 at 12:46 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ashwini,<br>
<br>
Set it to 1, so that the lookup() function will return all the registered contacts for a user.<br>
<br>
Regard,<br>
Bogdan<br>
<br>
ASHWINI NAIDU wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>
hi Bogdan,<br>
<br>
what abt the modparam<br>
<br>
modparam("registrar", "append_branches", 1) should it be 1 or 0. <br>
<br></div><div class="im">
On Tue, Jun 23, 2009 at 5:22 PM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
<br>
Hi Ashwini,<br>
<br>
you need to transform the parallel forking into a serial forking,<br>
so after the lookup() loaded all the contacts for the user, use<br>
the serialize_branches() (see<br>
<a href="http://www.opensips.org/Resources/DocsCoreFcn15#toc119" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn15#toc119</a>) to<br>
transform into serial forking. After each serial attempt, is<br>
failure_route use next_branches() (see<br>
<a href="http://www.opensips.org/Resources/DocsCoreFcn15#toc103" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn15#toc103</a>) to get the<br>
next branch to use.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
ASHWINI NAIDU wrote:<br>
<br>
Hi everybody,<br>
<br>
<br>
I wanted to implement sequential search for users with<br>
different contacts. now paralled fork is happening. how can i<br>
acheive this. finally when all the contacts are exhausted the<br>
call should be diverted to person's landline/mobile number.<br>
-- Thanking You,<br>
Ashwini BR Naidu<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div class="im"><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>
<br>
-- <br>
Thanking You,<br>
Ashwini BR Naidu<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>