<div>In this scenario, how to make asterisk send the invite to </div>
<div>SIP/101@192.168.1.180:5064</div>
<div>instead of </div>
<div><a href="mailto:Local/101@default">Local/101@default</a></div>
<div> </div>
<div>Thanks<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Lucian Romi</b> <<a href="mailto:romi.lucian@gmail.com">romi.lucian@gmail.com</a>><br>Date: Jun 19, 2007 11:52 AM
<br>Subject: Fwd: Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension.<br>To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br><br> </span></div>
<div>I'm <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.1.250/" target="_blank">192.168.1.250</a></div>
<div> </div>
<div>vopilot74*CLI> -- Got SIP response 301 "Forwarded" back from <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.1.120/" target="_blank">192.168.1.120</a><br> -- Got SIP response 301 "Forwarded" back from
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.1.120/" target="_blank">192.168.1.120</a><br>vopilot74*CLI> -- Now forwarding SIP/192.168.1.150 to <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:'Local/101@default'" target="_blank">
'Local/101@default'</a> (thanks to SIP/sip_proxy-out-081c0d10)<br>[Jun 19 11:47:51] NOTICE[1743]: chan_local.c:566 local_alloc: No such extension/context <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:101@default" target="_blank">
101@default</a> creating local channel<br>[Jun 19 11:47:51] NOTICE[1743]: app_dial.c:503 wait_for_answer: Unable to create local channel for call forward to <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:'Local/101@default'" target="_blank">
'Local/101@default'</a> (cause = 0)<br> </div>
<div><br>To: <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sip:4179859466@192.168.1.150" target="_blank">sip:4179859466@192.168.1.150</a>>;tag=b5f8740e-ff07-65a8-d938-828781b0f2c5<br>Content-Length: 0
<br>Call-ID: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:563aaea4638dea2044e367ee37c5968d@63.209.0.74" target="_blank">563aaea4638dea2044e367ee37c5968d@63.209.0.74</a><br>Via: SIP/2.0/UDP <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.1.250:9099/" target="_blank">
192.168.1.250:9099</a>;received=<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.1.250/" target="_blank">192.168.1.250</a>;branch=z9hG4bK0d2045cd;rport=9099<br>Contact: sip:101@192.168.1.180:5064
<br>CSeq: 102 INVITE<br>From: "Test" <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:14179859466@192.168.1.150%3E;tag=as01ff8dc1" target="_blank">14179859466@192.168.1.150>;tag=as01ff8dc1
</a>
<div><span class="e" id="q_11345542f091ec0d_1"><br><br>---------- Forwarded message ---------- <br><span class="gmail_quote">From: <b class="gmail_sendername">Lucian Romi</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:romi.lucian@gmail.com" target="_blank">
romi.lucian@gmail.com</a>><br>Date: Jun 19, 2007 11:41 AM<br>Subject: Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension. <br>To: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users@lists.digium.com" target="_blank">
asterisk-users@lists.digium.com</a><br><br> </span></span></div></div>
<div><span class="e" id="q_11345542f091ec0d_3">
<div>When making an outbound call, the outbound peer return a 301 forwarded with URI to other domain, but asterisk think it's a local domain and </div>
<div>try to look it up from extension.conf.</div>
<div>How to configure so that a 301 forwarded with URI from other domain thinks it's outgoing to another proxy? thanks! </div></span></div>