[asterisk-users] Fwd: Urgent. When the peer returned a 301 forwarded, asterisk thinks it's a local extension.

Lucian Romi romi.lucian at gmail.com
Tue Jun 19 14:14:24 CDT 2007


In this scenario, how to make asterisk send the invite to
SIP/101 at 192.168.1.180:5064
instead of
Local/101 at default

Thanks

---------- Forwarded message ----------
From: Lucian Romi <romi.lucian at gmail.com>
Date: Jun 19, 2007 11:52 AM
Subject: Fwd: Urgent. When the peer returned a 301 forwarded, asterisk
thinks it's a local extension.
To: asterisk-users at lists.digium.com


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<14179859466 at 192.168.1.150%3E;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/cb2a85f7/attachment.htm 


More information about the asterisk-users mailing list