<div dir="ltr">Thanks Eric,<div><br></div><div>I tried following, now its forwarding REGISTER packet to asterisk but authentication failed, I have check username/password is correct on asterisk. Do you think it is because of "realm" ?</div><div><br></div><div> if (is_method("REGISTER")) {<br></div><div> rewritehostport("asterisk:5060");</div><div> route(relay);</div><div> exit;</div><div>}</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 9:24 AM, Eric Tamme <span dir="ltr"><<a href="mailto:eric@uphreak.com" target="_blank">eric@uphreak.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
just t_relay the request to your other server... OpenSIPS wont
automatically challenge anything<div><div class="h5"><br>
<br>
<div>On 06/24/2015 07:22 AM, Satish Patel
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">All,
<div><br>
</div>
<div><br>
</div>
<div>I have special requirement which is little odd, I want to
use WebRTC with Opensips but all REGISTER process will done by
other SIP server, </div>
<div><br>
</div>
<div>Example:</div>
<div><br>
</div>
<div>[UA]----------------[WebRTC-Opensips]-------------------[Asterisk/Freeswitch] </div>
<div><br>
</div>
<div><br>
</div>
<div>UA will use WebRTC of Opensips but opensips forward all
REGISTER request to Asterisk/Freeswitch and user will
authenticate their... In short Opensips will just Proxy Auth
request. </div>
<div><br>
</div>
<div>How it will be possible? </div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
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>
<br>
</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" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>