<br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 5:11 AM, Pete Mueller <span dir="ltr"><<a href="mailto:pete@privateconnect.com">pete@privateconnect.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;">0) Rupa, you are absolutely right, I forgot that. ports was never an issue because previous gateways all REGISTERed. I will have to swap my ports around as bandwidth is not flexible.<br>
</span></div></blockquote><div><br>You can't tell <a href="http://bandwidth.com">bandwidth.com</a> to use port 5080? <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><br>1) I thought of this, but I have hundreds of DID, (around 600 at the moment) and maintaining that mapping in the dialplan would be a mess. AFTER I know what gateway the call arrived on, I have a database for each gateway that helps me process from there.<br>
</span></div></blockquote><div><br>You have cases where the same DID maps differently for one gateway or another? If not, why is the gateway part of the database query? <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><br>2) Yes, separate profiles would work, but does sound gross. I'm going to swap my ports around and see if that clears things up... <br>
<br>-pete<br><br>
<blockquote style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;">
<div><div><div></div><div class="h5">
-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] Confusing handling of incoming calls<br>
From: Rupa Schomaker <<a href="mailto:rupa@rupa.com" target="_blank">rupa@rupa.com</a>><br>
Date: Wed, July 22, 2009 2:12 am<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<br>
<br><br><div class="gmail_quote">On Tue, Jul 21, 2009 at 11:35 PM, Pete Mueller <font dir="ltr"><<a href="mailto:pete@privateconnect.com" target="_blank">pete@privateconnect.com</a>></font> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font style="font-family: Verdana;" size="2" color="#000000" face="Verdana">My goal is:<br>0) figure out why the bandwidth gateway is being processed as "internal" (this is more of a security thing)</font></div>
</blockquote><div><br>they are probably terminating traffic on port 5060 rather than 5080. 5060 is internal, 5080 is external.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font style="font-family: Verdana;" size="2" color="#000000" face="Verdana"><br>1) have both gateways enter at the same point in the dialplan (this seems to be the purpose of the "Extension" param)</font></div>
</blockquote><div><br>I'd drop the extension param and instead match on the destination_number (the DID used to reach you). <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font style="font-family: Verdana;" size="2" color="#000000" face="Verdana"><br>2) be able to identify which gateway the call came in on. I was hoping to set a param in the gateway configuration that would be passed through onto the channel, but have not found one. Worst case, I could have each gateway enter at a different extension in the dialplan, however, that doesn't seem to be working if the channel comes in the "internal" profile.<br>
</font></div></blockquote><div><br>Not sure here... gateways are an outbound thing. Inbound calls just hit your dialplan and you process from there. A sledgehammer approach would be to have a different sip_profile for each gateway. But that is just silly. Flowroute at least puts their name in the sdp....<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><font style="font-family: Verdana;" size="2" color="#000000" face="Verdana"><br>
Thanks for your help. I've provided INFO dumps from both gateways if they help...<br>-pete</font><br></div></blockquote></div><br clear="all"><br>-- <br>-Rupa<br> </div></div><hr>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div>
</blockquote></span></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br>