<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
On 8/24/10 9:43 PM, David Ponzone wrote:
<blockquote cite="mid:95225D68-6D7F-4D7C-ABE0-2E8C1CCC5894@ipeva.fr"
type="cite">Michael,
<div><br>
</div>
<div>what you want to achieve is pretty simple to do with FreeSWITCH,
and is quite close from what I do.</div>
<br>
</blockquote>
Thanks for the reply<br>
(simple once I know where everything goes.. :-)<br>
I just loaded this last night. nothing like the Mitel SX50's (bit
mapped options, digital pbx), 3com nbx (not really VOIP. was vo layer2
multicast), and more powerful then sipxecs..<br>
<br>
<blockquote cite="mid:95225D68-6D7F-4D7C-ABE0-2E8C1CCC5894@ipeva.fr"
type="cite">
<div>Or you do like me: you split calls coming into public to a
specific contex, based on source IP with such extensions in public.xml:</div>
<div><br>
</div>
<div>
<div> <extension name="from_provider"></div>
<div> <condition field="network_addr" expression="X.X.X.X"/></div>
<div> <condition field="destination_number"
expression="^(.*)$"></div>
<div> <action application="transfer" data="$1 XML
provider"/></div>
<div> </condition></div>
<div> </extension></div>
</div>
<div><br>
</div>
</blockquote>
is above right? from_provider, then $1 XML provider? (assuming
_{provider} is the friendly name)<br>
<blockquote cite="mid:95225D68-6D7F-4D7C-ABE0-2E8C1CCC5894@ipeva.fr"
type="cite">
<div>
<div>
<div> <extension name="from_sipxecs"></div>
<div> <condition field="network_addr" expression="Y.Y.Y.Y"/></div>
<div> <condition field="destination_number"
expression="^(.*)$"></div>
<div> <action application="transfer" data="$1 XML
sipxecs"/></div>
<div> </condition></div>
<div> </extension></div>
</div>
</div>
<br>
<div>And you just have to add the right extensions in those dialplans
to bridge calls to the other side.</div>
<div>That's the easy part.</div>
<div><br>
</div>
</blockquote>
famous last words. where caller is 561-555-1212 and destination is
301-555-1212. I see it coming from provider in public context:(i hope)<br>
close: <br>
<tt>Dialplan: <a class="moz-txt-link-abbreviated" href="mailto:sofia/external/5615551212@68.100.226.97">sofia/external/5615551212@68.100.226.97</a> parsing
[public->from_provider] continue=false<br>
</tt><tt>Dialplan: <a class="moz-txt-link-abbreviated" href="mailto:sofia/external/5615551212@68.100.226.97">sofia/external/5615551212@68.100.226.97</a> Regex (PASS)
[from_provider] network_addr(68.233.226.97) =~ /68.233.226.97/
break=on-false<br>
Dialplan: <a class="moz-txt-link-abbreviated" href="mailto:sofia/external/5615551212@68.100.226.97">sofia/external/5615551212@68.100.226.97</a> Regex (PASS)
[from_provider] destination_number(3015551212) =~ /^(.*)$/
break=on-false<br>
Dialplan: <a class="moz-txt-link-abbreviated" href="mailto:sofia/external/5615551212@68.100.226.97">sofia/external/5615551212@68.100.226.97</a> Action
transfer(3015551212 XML provider)<br>
</tt>[snip]<br>
<tt>2010-08-25 10:52:16.276232 [DEBUG] mod_dptools.c:748
<a class="moz-txt-link-abbreviated" href="mailto:sofia/external/5615551212@68.100.226.97">sofia/external/5615551212@68.100.226.97</a> SET [outside_call]=[true]<br>
</tt>[snip] gets this far:<br>
<tt>2010-08-25 10:52:16.278237 [INFO] mod_dialplan_xml.c:315 Processing
5615551212->3015551212 in context provider<br>
2010-08-25 10:52:16.278237 [WARNING] mod_dialplan_xml.c:345 Context
provider not found<br>
</tt><br>
I guess I don't understand.<br>
as a test, PSTN number is 3015551212, coming from provider to sipxecs,
do I put something like this in dialplan/provider.xml?<br>
dialplan/public/provider.xml?<br>
<br>
(I just want the call send to sipxecs. I don't care about ringback,
timeouts.. I guess.. maybe I do for safety)<br>
so if a call come in to 3015551212, and its handled by sipxecs, and,
MAYBE, I think I want it to fall back to a cell phone if sipxecs is down<br>
(say a 120 second timeout?)<br>
what do I put here? (what do I per where?)<br>
<br>
or this?<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<pre><extension name="provider">
<condition field="destination_number" expression="^(<tt>3015551212</tt>)$">
<action application="bridge" data="sofia/gateway/sipxecs/$1"/>
</condition>
</extension>
</pre>
(with 'bridge' I get 'so far', but still get <br>
<tt>2010-08-25 15:14:15.590404 [INFO] mod_dialplan_xml.c:315 Processing
5615551212->3015551212 in context provider<br>
2010-08-25 15:14:15.590404 [WARNING] mod_dialplan_xml.c:345 Context
provider not found<br>
2010-08-25 15:14:15.590404 [INFO] switch_core_state_machine.c:136 No
Route, Aborting</tt><br>
<br>
<div class="moz-signature">-- <br>
Michael Scheidell, CTO<br>
o: 561-999-5000<br>
d: 561-948-2259<br>
ISN: 1259*1300 <a href="sip:michael.scheidell@secnap.com">sip:michael.scheidell@secnap.com</a><br>
<font color="#999999"> <br>
></font><font color="#cc0000"> <b>| </b></font>SECNAP Network
Security Corporation
<style type="text/css">
<!--
.unnamed1 {
        margin: 1em;
        padding: 1px;
} -->
</style>
<ul class="unnamed1">
<li>Certified SNORT Integrator</li>
<li>2008-9 Hot Company Award Winner, World Executive Alliance</li>
<li>Five-Star Partner Program 2009, VARBusiness</li>
<li>Best in Email Security,2010: Network Products Guide</li>
<li>King of Spam Filters, SC Magazine 2008</li>
</ul>
</div>
<br>
<div id="disclaimer.secnap.com"><hr />
<p>This email has been scanned and certified safe by SpammerTrap®.
<br />For Information please see
<a href="http://www.secnap.com/products/spammertrap/">http://www.secnap.com/products/spammertrap/</a></p> <hr /></div>
<br>
</body>
</html>