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 that IP is SER
then 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" 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 various mailing
lists. <br>
<br>
The "core" 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> <<a href="mailto:coder0000@hotmail.com">coder0000@hotmail.com</a>> 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] # same as the context in sip.conf<br>exten => 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->ser->asterisk->ser->sipphone when a phone<br>calls another. just getting confused how exten will reroute to ser again.
<br><br><br><BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5<br>2px solid; MARGIN-RIGHT: 0px'><font<br>style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'><hr color=#A0C6E5<br>size=1>
<br>From: <i>Mark Aiken <<a href="mailto:aiken.mark@gmail.com">aiken.mark@gmail.com</a>></i><br>Reply-To: <i>Mark<br>Aiken <<a href="mailto:aiken.mark@gmail.com">aiken.mark@gmail.com</a>
></i><br>To: <i>Iqbal<br><<a href="mailto:iqbal@gigo.co.uk">iqbal@gigo.co.uk</a>></i><br>CC: <i>Bogdan-Andrei Iancu<br><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro
</a>>, "Matt L. Zhu"<br><<a href="mailto:coder0000@hotmail.com">coder0000@hotmail.com</a>>, <a href="mailto:users@openser.org">users@openser.org</a></i><br>Subject: <i>Re:<br>[Users] Re: [Devel] openser and asterisk</i><br>Date: <i>Thu, 29 Sep 2005
<br>12:04:21 -0500</i><br><br><br>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.<br><br><br><br>Mark<br><br><div><span class="gmail_quote">On 9/29/05, <b
<br>class="gmail_sendername">Iqbal</b> <<a<br>href="mailto:<a href="mailto:iqbal@gigo.co.uk">iqbal@gigo.co.uk</a>"><a href="mailto:iqbal@gigo.co.uk">iqbal@gigo.co.uk</a></a>>
<br>wrote:</span><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt<br>0.8ex;padding-left:1ex"><br>whats is sip debug on asterisk showing<br><br>Bogdan-Andrei Iancu<br>wrote:<br><br>> Hi Matt,<br>><br>> I redirected this email on the
<br>users mailing list - it's more<br>> appropriate.<br>><br>> the idea<br>seams ok, with couple of comments:<br><br>> 1) be sure that fwd to localhost is ok (instead of a routable<br>
IP)<br>> 2) doing Record-Route may be a good think.<br>><br>> to<br>debug tour problem, add some log("...") statements into your<br>script<br><br>> to be able to trace the processing. Also a network trace (including
<br>on<br>> lo device) will be helpful to see what happens - if the messages<br>are<br>> received, if they are sent and where. Also watch the log for<br>potential<br><br>> errors.<br>><br>> regards,<br>>
<br>bogdan<br>><br>><br>><br>> Matt L. Zhu<br>wrote:<br>><br>>> has anyone successfully setup openser as the<br>frontend proxy for<br>>> asterisk? here is my setup
<br><br>>><br>>> /etc/asterisk/sip.conf<br>>><br>[general]<br>>> context=default<br>>> port=5065<br>>><br>bindaddr=<a href="<a href="http://0.0.0.0"">
http://0.0.0.0"</a>><a href="http://0.0.0.0">0.0.0.0</a></a><br>>><br>srvlookup=yes<br>>><br>>> [ser]<br><br>>> type=user<br>>> context=proxy<br>>> host=<a
<br>href="<a href="http://192.168.0.10"">http://192.168.0.10"</a>><a href="http://192.168.0.10">192.168.0.10</a></a><br>>><br>>> then i<br>edited openser.cfg to do something like this<br>>><br>>>
<br> if<br><br>>><br>(uri=~"sip:[a-zA-Z\.]*@(xxx\.xxx\.com)|(192\.168\.0\.10)")<br>{<br>>> forward(<br>localhost,
5065
);<br>>> break;<br>>><br> };<br>>><br>>> i connected two sipphones (wengo) in this<br>case to openser, but calls<br>>> are not going through at all,
<br>connecting directly to asterisk works.<br><br>>> have anyone worked in this situation?<br>>><br>>><br>thanks<br>>><br>>><br>>><br>>><br>
_______________________________________________<br>>> Devel mailing<br>list<br>>><br><a href="mailto:<a href="mailto:Devel@openser.org">Devel@openser.org</a>"><a href="mailto:Devel@openser.org">
Devel@openser.org</a></a><br>>> <a<br>href="<a href="http://openser.org/cgi-bin/mailman/listinfo/devel"">http://openser.org/cgi-bin/mailman/listinfo/devel"</a>><a href="http://openser.org/cgi-bin/mailman/listinfo/devel">
http://openser.org/cgi-bin/mailman/listinfo/devel</a></a><br>>><br>><br>><br>><br>_______________________________________________<br><br>> Users mailing list<br>> <a
<br>href="mailto:<a href="mailto:Users@openser.org">Users@openser.org</a>"><a href="mailto:Users@openser.org">Users@openser.org</a></a><br>> <a<br>href="<a href="http://openser.org/cgi-bin/mailman/listinfo/users"">
http://openser.org/cgi-bin/mailman/listinfo/users"</a>><a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a></a><br>><br><br>><br>
.<br>><br><br>_______________________________________________<br>Users<br>mailing list<br><a<br>href="mailto:<a href="mailto:Users@openser.org">Users@openser.org</a>"><a href="mailto:Users@openser.org">
Users@openser.org</a></a><br><a<br>href="<a href="http://openser.org/cgi-bin/mailman/listinfo/users"">http://openser.org/cgi-bin/mailman/listinfo/users"</a>><a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br></a><br></blockquote></div><br><br><br><br></font></BLOCKQUOTE><br><br><br></blockquote></div><br>