<div>Asterisk would need credentials configured in SIP.CONF for the user to do this. Otherwise you would really need to be using a proper SBC or B2BUA with Media conversion capability.<br><br></div>
<div>&nbsp;</div>
<div>Neill...;o)<br><br></div>
<div class="gmail_quote">2009/1/23 Rawshan Iajdani <span dir="ltr">&lt;<a href="mailto:iajdani@provati.com" target="_blank">iajdani@provati.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div vlink="purple" link="blue" lang="EN-US">
<div>
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Well that is what I am trying to do.. To originate the 2<sup>nd</sup> leg.. I need the username/password for authentication to the terminating server. Can I get that from OpenSer??? Because UA already logged into OpenSer..</span></p>


<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:users-bounces@lists.kamailio.org" target="_blank">users-bounces@lists.kamailio.org</a> [mailto:<a href="mailto:users-bounces@lists.kamailio.org" target="_blank">users-bounces@lists.kamailio.org</a>] <b>On Behalf Of </b>Neill Wilkinson<br>

<b>Sent:</b> Friday, January 23, 2009 6:10 PM<br><b>To:</b> <a href="mailto:users@lists.kamailio.org" target="_blank">users@lists.kamailio.org</a><br><b>Subject:</b> Re: [Kamailio-Users] Openser-Asterisk Codec conversion..</span></p>

</div>
<p>&nbsp;</p></div>
<div>
<p>Or Put another Way Asterisk acts in SIP terms as a Back2Back User Agent, to terminate one side of the call let and originate a new call leg with a different codec profile in the SIP/SDP. Asterisk then terminates the inbound media, transcodes it an originates a new media stream on a completely different call leg.</p>

</div>
<div>
<div></div>
<div>
<div>
<p>&nbsp;</p></div>
<div>
<p style="margin-bottom: 12pt;">Neill....;o)</p></div>
<div>
<p>2009/1/23 Iņaki Baz Castillo &lt;<a href="mailto:ibc@aliax.net" target="_blank">ibc@aliax.net</a>&gt;</p>
<p>2009/1/23 Rawshan Iajdani &lt;<a href="mailto:iajdani@provati.com" target="_blank">iajdani@provati.com</a>&gt;:<br>&gt;<br>&gt; UA-----&gt;OpenSer(Outbound Proxy)---------Register Server<br>&gt; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|<br>

&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Asterisk(codec converion)----------------------<br>&gt;<br>&gt; The UA will register to Register server through outbound proxy OpenSer. When<br>&gt; UA makes call it first comes to Openser, OpenSer should route the media to<br>

&gt; Register server through Asterisk for codec conversion. OpenSer will not hold<br>&gt; any User account rather it will act as a proxy.<br><br>Asterisk cannot receive *just* the media, it needs to receive the SIP<br>signalling so then it can handle the media (and do the codec<br>

conversion).<br><br>--<br>Iņaki Baz Castillo<br>&lt;<a href="mailto:ibc@aliax.net" target="_blank">ibc@aliax.net</a>&gt;<br><br>_______________________________________________<br>Kamailio (OpenSER) - Users mailing list<br>

<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br><a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>

<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></p></div>
<p>&nbsp;</p></div></div></div></div></blockquote></div><br>