<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;">0. Probably, gonna have to go get them on the phone.<br><br>1. No, but the information I need to process is stored in separate databases by gateway. There is no single table that has all of the DIDs and which gateway they belong to. I could create/maintain that table, but if I can determine the gateway before beginning my logic, I can avoid that.<br><br><br><br>
<blockquote webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;">
<div >
-------- Original Message --------<br>
Subject: Re: [Freeswitch-users] Confusing handling of incoming calls<br>
From: Rupa Schomaker <rupa@rupa.com><br>
Date: Wed, July 22, 2009 6:04 am<br>
To: freeswitch-users@lists.freeswitch.org<br>
<br>
<br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 5:11 AM, Pete Mueller <font dir="ltr"><<a onclick="return true;if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=pete%40privateconnect.com');}else{top.Popup.composeWindow('pcompose.php?sendto=pete%40privateconnect.com');}; return false;" href="mailto:pete@privateconnect.com" target="_blank" mce_href="mailto:pete@privateconnect.com">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">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> </font></div></blockquote><div><br>You can't tell <a href="http://bandwidth.com" target="_blank" mce_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><font style="font-family: Verdana;" size="2" color="#000000" face="Verdana"><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> </font></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><font style="font-family: Verdana;" size="2" color="#000000" face="Verdana"><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 onclick="return true;if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=rupa%40rupa.com');}else{top.Popup.composeWindow('pcompose.php?sendto=rupa%40rupa.com');}; return false;" href="mailto:rupa@rupa.com" mce_href="mailto:rupa@rupa.com" target="_blank">rupa@rupa.com</a>><br> Date: Wed, July 22, 2009 2:12 am<br> To: <a onclick="return true;if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=freeswitch-users%40lists.freeswitch.org');}else{top.Popup.composeWindow('pcompose.php?sendto=freeswitch-users%40lists.freeswitch.org');}; return false;" href="mailto:freeswitch-users@lists.freeswitch.org" mce_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 onclick="return true;if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=pete%40privateconnect.com');}else{top.Popup.composeWindow('pcompose.php?sendto=pete%40privateconnect.com');}; return false;" href="mailto:pete@privateconnect.com" mce_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 onclick="return true;if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=FreeSWITCH-users%40lists.freeswitch.org');}else{top.Popup.composeWindow('pcompose.php?sendto=FreeSWITCH-users%40lists.freeswitch.org');}; return false;" href="mailto:FreeSWITCH-users@lists.freeswitch.org" mce_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" mce_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" mce_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" mce_href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </div> </blockquote></font></div> <br>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a onclick="return true;if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=FreeSWITCH-users%40lists.freeswitch.org');}else{top.Popup.composeWindow('pcompose.php?sendto=FreeSWITCH-users%40lists.freeswitch.org');}; return false;" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" mce_href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" mce_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" mce_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" mce_href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>-Rupa<br> <hr>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
FreeSWITCH-users@lists.freeswitch.org<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" mce_href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" mce_href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" mce_href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
</blockquote></span></body></html>