[Asterisk-Users] SIP: Trouble with "Moved temporarily" (302)

Eric Wieling eric at fnords.org
Fri May 7 06:32:21 MST 2004


On Fri, 2004-05-07 at 07:41, Philipp von Klitzing wrote:
> Hi folks,
> 
> this does look like a bug to me: Asterisk replaces the @63.214.186.6 by 
> @context which obviously leads to a failure. Any comments, do I have a 
> configuration issue on my side that I missed?
> 
> Cheers, Philipp
> 
>     -- Executing Dial("SIP/philipp-bd5f", "SIP/992365264680 at nikotel-
> out|90") in new stack
>     -- Called 99xxxxxxxxxx at nikotel-out
>     -- Got SIP response 302 "Moved Temporarily "new 
> sip:joesmith at 63.214.186.6"" back from 63.214.186.6
>     -- Now forwarding SIP/philipp-bd5f to 'joesmith at from-sip' (thanks to 
> SIP/nikotel-out-c286)
> May  7 14:20:54 NOTICE[18450]: chan_local.c:362 local_alloc: No such 
> extension/context from-sip at joesmith creating local channel
> May  7 14:20:54 NOTICE[18450]: app_dial.c:204 wait_for_answer: Unable to 
> create local channel for call forward to 'joesmith at from-sip'

302 Moved is not fully supported by chan_sip.  Personally I like this
because the way Asterisk currently supports 302 Moved will prevent calls
from being forwarded outside of Asterisk's dialplan.  I would just
create an exten => joesmith,1,GoTo(xxx,n) where xxx is the extension you
want the call to do and n is the priority.  See "show application goto".


-- 
          Eric Wieling * BTEL Consulting * 504-899-1387 x2111
"In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss."




More information about the asterisk-users mailing list