Lucian Romi
2007-Jun-19 18:41 UTC
[asterisk-users] Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension.
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 try to look it up from extension.conf. How to configure so that a 301 forwarded with URI from other domain thinks it's outgoing to another proxy? thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070619/d5c6fab1/attachment.htm
Lucian Romi
2007-Jun-19 18:52 UTC
[asterisk-users] Fwd: Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension.
I'm 192.168.1.250 vopilot74*CLI> -- Got SIP response 301 "Forwarded" back from 192.168.1.120 -- Got SIP response 301 "Forwarded" back from 192.168.1.120 vopilot74*CLI> -- Now forwarding SIP/192.168.1.150 to 'Local/101 at default' (thanks to SIP/sip_proxy-out-081c0d10) [Jun 19 11:47:51] NOTICE[1743]: chan_local.c:566 local_alloc: No such extension/context 101 at default creating local channel [Jun 19 11:47:51] NOTICE[1743]: app_dial.c:503 wait_for_answer: Unable to create local channel for call forward to 'Local/101 at default' (cause = 0) To: <sip:4179859466 at 192.168.1.150>;tag=b5f8740e-ff07-65a8-d938-828781b0f2c5 Content-Length: 0 Call-ID: 563aaea4638dea2044e367ee37c5968d at 63.209.0.74 Via: SIP/2.0/UDP 192.168.1.250:9099;received=192.168.1.250 ;branch=z9hG4bK0d2045cd;rport=9099 Contact: sip:101 at 192.168.1.180:5064 CSeq: 102 INVITE From: "Test" 14179859466 at 192.168.1.150>;tag=as01ff8dc1 ---------- Forwarded message ---------- From: Lucian Romi <romi.lucian at gmail.com> Date: Jun 19, 2007 11:41 AM Subject: Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension. To: asterisk-users at lists.digium.com 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 try to look it up from extension.conf. How to configure so that a 301 forwarded with URI from other domain thinks it's outgoing to another proxy? thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070619/0b073458/attachment.htm
Alex Balashov
2007-Jun-19 19:04 UTC
[asterisk-users] Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension.
Lucian, I am not sure that Asterisk has that capability, since it's not itself a proxy or a router. One thing you might try is putting the URI (exten at otherdomain) straight into the dial plan and seeing what happens. SIP URIs can be alphanumeric. Otherwise, not sure that you can handle this without using, say, OpenSER. -- Alex On Tue, 19 Jun 2007, Lucian Romi wrote:> 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 > try to look it up from extension.conf. > How to configure so that a 301 forwarded with URI from other domain thinks > it's outgoing to another proxy? thanks! >-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670 Direct : +1-678-954-0671
John Faubion
2007-Jun-27 07:11 UTC
[asterisk-users] Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension.
> When making an outbound call, the outbound peer return a 301 forwardedwith URI to other> domain, but asterisk think it's a local domain and try to look it up fromextension.conf. What phones are you using? This sounds a lot like a problem, I have using Grandstream phones. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070627/c5d8ec90/attachment.htm