<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>17 apr 2013 kl. 13:04 skrev Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div bgcolor="#ffffff" text="#000000">
<tt>Hello Arthur,<br>
<br>
The OpenSIPS script allows you to implement whatever logic you
want, so the answer is : yes, you can do that. <br>
<br>
Reuse the part for handling the sequential requests from the
default opensips script and for initial requests (after handling
CANCEL and retransmissions) you can simply do :<br>
$du = <a class="moz-txt-link-rfc2396E" href="sip:asterisk_ip:asterisk_port">"sip:asterisk_ip:asterisk_port"</a>;<br>
t_relay;<br>
<br>
This will send the INVITE to asterisk without changing the RURI at
all.<br></tt></div></blockquote><div><br></div><div>Just to add a little bit more:</div><div><br></div>Depending upon the version of Asterisk, you might want to select transport as well, like</div><div><br></div><div><blockquote type="cite"><div bgcolor="#ffffff" text="#000000"><tt> $du = <a class="moz-txt-link-rfc2396E" href="sip:asterisk_ip:asterisk_port">"sip:asterisk_ip:asterisk_port;transport=udp"</a>;<br></tt></div></blockquote><div><br></div>/O<br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000"><tt>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
<br>
On 04/17/2013 12:51 PM, Arthur Titeica wrote:
<blockquote cite="mid:1645931.7umPBzGBob@lhart" type="cite">
<pre wrap="">Hello,
I'm rather new to opensisps.
>From what I read this is not possible but I thought I should ask just to make
sure.
Is there a configuration setup so that opensips doesn't handle
users/extensions but just forwards everything that matches the configured
domains to an asterisk gateway?
Something like <a class="moz-txt-link-abbreviated" href="mailto:any_ext@sip.example.com">any_ext@sip.example.com</a> should be allowed to go to asterisk and
let asterisk to deal with auth.
Thank you all for any input.
</pre>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></body></html>