Matt,<br>
<br>
You must have user=peer (I think friend will also work) in the [ser]
section of the sip.conf in order for Asterisk to find and dial that
4005 extension in your [proxy] context.<br>
<br>
That exten should then setup a SIP call to <a href="mailto:4005@192.168.0.10">4005@192.168.0.10</a> for an
incoming RURI of 4005@xxxxxxxxxx. Assuming&nbsp; that IP is&nbsp; SER
then&nbsp; SER will need to do a lookup for that user and domain to
find the contact address. The outgoing RURI to SER for the 2 leg will
be <a href="mailto:4005@192.168.0.10">4005@192.168.0.10</a>. Your SER setup need to deal with routing the
calls via Asterisk in this way.<br>
<br>
A general. complete solution with SER as registrar and proxy and
Asterisk as B2BUA Feature Server for SIP PBX is beyond the scope of
this email :). I've done this for a client under NDA so I cant just
publish all of their ser and Asterisk configs. I dont own them. Perhaps
there are other on this list that are free to publish that sort of very
detailed configuration info.<br>
<br>
I've found it very difficult to find specific help for difficult
problems on mailing lists. Most of the hard questions go unanswered,
likely due to NDAs and conflicts of interest. A consultant that puts
food on the table by supporting open-source software is unlikely to
give his 'product&quot; away for free. <br>
<br>
The SER community seems much better about this and the core developers
answer a lot of hard questions on the&nbsp; various&nbsp; mailing
lists. <br>
<br>
The &quot;core&quot; developers for Asterisk are Digium and they sell support for
a living so dont expect too much free support. Getting the software for
free is a pretty good bargin , IMO, even if there is no 'free' support.<br>
<br>
Mark<br>
<br>
<br><br><div><span class="gmail_quote">On 9/29/05, <b class="gmail_sendername">Matt L. Zhu</b> &lt;<a href="mailto:coder0000@hotmail.com">coder0000@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
in my dialplan, i have this<br><br>[proxy]&nbsp;&nbsp;&nbsp;&nbsp;# same as the context in sip.conf<br>exten =&gt; 4005.,1,Dial(<a href="mailto:SIP/${EXTEN}@192.168.0.10">SIP/${EXTEN}@192.168.0.10</a>)<br><br>i am new to asterisk, how can i make it so the exten will route the call to
<br>the other sipphone connected to the ser proxy.<br><br>i really want to achieve sipphone-&gt;ser-&gt;asterisk-&gt;ser-&gt;sipphone when a phone<br>calls another. just getting confused how exten will reroute to ser again.
<br><br><br>&lt;BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5<br>2px solid; MARGIN-RIGHT: 0px'&gt;&lt;font<br>style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'&gt;&lt;hr color=#A0C6E5<br>size=1&gt;
<br>From:&nbsp;&nbsp;&lt;i&gt;Mark Aiken &lt;<a href="mailto:aiken.mark@gmail.com">aiken.mark@gmail.com</a>&gt;&lt;/i&gt;&lt;br&gt;Reply-To:&nbsp;&nbsp;&lt;i&gt;Mark<br>Aiken &lt;<a href="mailto:aiken.mark@gmail.com">aiken.mark@gmail.com</a>
&gt;&lt;/i&gt;&lt;br&gt;To:&nbsp;&nbsp;&lt;i&gt;Iqbal<br>&lt;<a href="mailto:iqbal@gigo.co.uk">iqbal@gigo.co.uk</a>&gt;&lt;/i&gt;&lt;br&gt;CC:&nbsp;&nbsp;&lt;i&gt;Bogdan-Andrei Iancu<br>&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro
</a>&gt;, &quot;Matt L. Zhu&quot;<br>&lt;<a href="mailto:coder0000@hotmail.com">coder0000@hotmail.com</a>&gt;, <a href="mailto:users@openser.org">users@openser.org</a>&lt;/i&gt;&lt;br&gt;Subject:&nbsp;&nbsp;&lt;i&gt;Re:<br>[Users] Re: [Devel] openser and asterisk&lt;/i&gt;&lt;br&gt;Date:&nbsp;&nbsp;&lt;i&gt;Thu, 29 Sep 2005
<br>12:04:21 -0500&lt;/i&gt;&lt;br&gt;<br>&lt;br&gt;You may want to set type=peer in the [ser] section. Also , I assume you<br>have a Dial statement in your 'proxy' context in the dialplan. You need<br>that to connect the 2 users. We have no problems using Asterisk as a
<br>sip server with ser or openser as the registrar and proxy. I think<br>there are many using this kind of setup so it does work.&lt;br&gt;<br>&lt;br&gt;<br>Mark&lt;br&gt;&lt;br&gt;&lt;div&gt;&lt;span class=&quot;gmail_quote&quot;&gt;On 9/29/05, &lt;b
<br>class=&quot;gmail_sendername&quot;&gt;Iqbal&lt;/b&gt; &lt;&lt;a<br>href=&quot;mailto:<a href="mailto:iqbal@gigo.co.uk">iqbal@gigo.co.uk</a>&quot;&gt;<a href="mailto:iqbal@gigo.co.uk">iqbal@gigo.co.uk</a>&lt;/a&gt;&gt;
<br>wrote:&lt;/span&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0pt 0pt 0pt<br>0.8ex;padding-left:1ex&quot;&gt;<br>whats is sip debug on asterisk showing&lt;br&gt;&lt;br&gt;Bogdan-Andrei Iancu<br>wrote:&lt;br&gt;&lt;br&gt;&gt; Hi Matt,&lt;br&gt;&gt;&lt;br&gt;&gt; I redirected this email on the
<br>users mailing list - it's more&lt;br&gt;&gt; appropriate.&lt;br&gt;&gt;&lt;br&gt;&gt; the idea<br>seams ok, with couple of comments:<br>&lt;br&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;1) be sure that fwd to localhost is ok (instead of a routable<br>
IP)&lt;br&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;2) doing Record-Route may be a good think.&lt;br&gt;&gt;&lt;br&gt;&gt; to<br>debug tour problem, add some log(&quot;...&quot;) statements into your<br>script<br>&lt;br&gt;&gt; to be able to trace the processing. Also a network trace (including
<br>on&lt;br&gt;&gt; lo device) will be helpful to see what happens - if the messages<br>are&lt;br&gt;&gt; received, if they are sent and where. Also watch the log for<br>potential<br>&lt;br&gt;&gt; errors.&lt;br&gt;&gt;&lt;br&gt;&gt; regards,&lt;br&gt;&gt;
<br>bogdan&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt; Matt L. Zhu<br>wrote:&lt;br&gt;&gt;&lt;br&gt;&gt;&gt; has anyone successfully setup openser as the<br>frontend proxy for&lt;br&gt;&gt;&gt; asterisk? here is my setup
<br>&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt; /etc/asterisk/sip.conf&lt;br&gt;&gt;&gt;<br>[general]&lt;br&gt;&gt;&gt; context=default&lt;br&gt;&gt;&gt; port=5065&lt;br&gt;&gt;&gt;<br>bindaddr=&lt;a href=&quot;<a href="http://0.0.0.0&quot;">
http://0.0.0.0&quot;</a>&gt;<a href="http://0.0.0.0">0.0.0.0</a>&lt;/a&gt;&lt;br&gt;&gt;&gt;<br>srvlookup=yes&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt; [ser]<br>&lt;br&gt;&gt;&gt; type=user&lt;br&gt;&gt;&gt; context=proxy&lt;br&gt;&gt;&gt; host=&lt;a
<br>href=&quot;<a href="http://192.168.0.10&quot;">http://192.168.0.10&quot;</a>&gt;<a href="http://192.168.0.10">192.168.0.10</a>&lt;/a&gt;&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt; then i<br>edited openser.cfg to do something like this&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;if<br>&lt;br&gt;&gt;&gt;<br>(uri=~&quot;sip:[a-zA-Z\.]*@(xxx\.xxx\.com)|(192\.168\.0\.10)&quot;)<br>{&lt;br&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;forward(<br>localhost,
5065
);&lt;br&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;&lt;br&gt;&gt;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;};&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt; i connected two sipphones (wengo) in this<br>case to openser, but calls&lt;br&gt;&gt;&gt; are not going through at all,
<br>connecting directly to asterisk works.<br>&lt;br&gt;&gt;&gt; have anyone worked in this situation?&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt;<br>thanks&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&gt;<br>
_______________________________________________&lt;br&gt;&gt;&gt; Devel mailing<br>list&lt;br&gt;&gt;&gt;<br>&lt;a href=&quot;mailto:<a href="mailto:Devel@openser.org">Devel@openser.org</a>&quot;&gt;<a href="mailto:Devel@openser.org">
Devel@openser.org</a>&lt;/a&gt;&lt;br&gt;&gt;&gt; &lt;a<br>href=&quot;<a href="http://openser.org/cgi-bin/mailman/listinfo/devel&quot;">http://openser.org/cgi-bin/mailman/listinfo/devel&quot;</a>&gt;<a href="http://openser.org/cgi-bin/mailman/listinfo/devel">
http://openser.org/cgi-bin/mailman/listinfo/devel</a>&lt;/a&gt;&lt;br&gt;&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;&lt;br&gt;&gt;<br>_______________________________________________<br>&lt;br&gt;&gt; Users mailing list&lt;br&gt;&gt; &lt;a
<br>href=&quot;mailto:<a href="mailto:Users@openser.org">Users@openser.org</a>&quot;&gt;<a href="mailto:Users@openser.org">Users@openser.org</a>&lt;/a&gt;&lt;br&gt;&gt; &lt;a<br>href=&quot;<a href="http://openser.org/cgi-bin/mailman/listinfo/users&quot;">
http://openser.org/cgi-bin/mailman/listinfo/users&quot;</a>&gt;<a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a>&lt;/a&gt;&lt;br&gt;&gt;<br>&lt;br&gt;&gt;<br>
.&lt;br&gt;&gt;&lt;br&gt;&lt;br&gt;_______________________________________________&lt;br&gt;Users<br>mailing list&lt;br&gt;&lt;a<br>href=&quot;mailto:<a href="mailto:Users@openser.org">Users@openser.org</a>&quot;&gt;<a href="mailto:Users@openser.org">
Users@openser.org</a>&lt;/a&gt;&lt;br&gt;&lt;a<br>href=&quot;<a href="http://openser.org/cgi-bin/mailman/listinfo/users&quot;">http://openser.org/cgi-bin/mailman/listinfo/users&quot;</a>&gt;<a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;<br><br>&lt;br&gt;&lt;/font&gt;&lt;/BLOCKQUOTE&gt;<br><br><br></blockquote></div><br>