[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 15:07:07 CDT 2007


Yes. That maybe true.
Can Asterisk do sip REFER blind transfer.

My configure looks like this

in sip.conf
[sip_proxy-out]
type=peer                   ; we only want to call out, not be called
host=192.168.1.180
port 5064

in extension.conf
[default]
exten => 519,1,Transfer(SIP/sip_proxy-out)

It sent back a 302 Move to the other peer with
sip:sip_proxy-out at 192.168.180
as URI.

There are two out of my expect, one is 320 not REFER. second is the URI.
Can somebody help me out on this. I'll read RFC again in the meantime.
As I remember, B2BUA can do REFER also.

Thanks!

On 6/19/07, BJ Weschke <bweschke at gmail.com> wrote:
>
> On 6/19/07, Lucian Romi <romi.lucian at gmail.com> wrote:
> > 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
> >
>
> Asterisk isn't a SIP proxy. As such, you need to use some workarounds
> to make what you want to do work. One way might be......
>
> In extensions.conf :
>
> [default]
>
> exten => 101,1,Dial(SIP/101 at 192.168.1.180:5064)
> exten => 101,n,Congestion()
> --
> Bird's The Word Technologies, Inc.
> http://www.btwtech.com/
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070619/ef781005/attachment.htm 


More information about the asterisk-users mailing list