<br><br><div class="gmail_quote">On Tue, Jul 21, 2009 at 11:35 PM, 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;">My goal is:<br>0) figure out why the bandwidth gateway is being processed as "internal" (this is more of a security thing)</span></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><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><br>1) have both gateways enter at the same point in the dialplan (this seems to be the purpose of the "Extension" param)</span></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><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><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>
</span></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><span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;"><br>
Thanks for your help. I've provided INFO dumps from both gateways if they help...<br>-pete</span><br></div></blockquote></div><br clear="all"><br>-- <br>-Rupa<br>