Matt Darnell
2007-May-26 18:13 UTC
[asterisk-users] Connect two Asterisk boxes through IVR Menu
Hello,
I have two Asterisk boxes, each in a different office. Extensions are 1xx &
2xx in office 1 and 3xx if office 2.
I have setup IAX2 trunks between them as well as the Outbound Routes.
Intra-office dialing works great.
I can figure out how to transfer an incoming SIP call to the other office
using the IVR. Transferring to extensions on the same system works great.
I have tried this command every way I can imagine, even hard coding the
extension:
exten => _3xx,1,dial(IAX2/{$EXTEN})
exten => 300,1,dial(IAX2/301)
Is there something else you need to transfer using an IAX2 trunk from an
IVR? The outbound route has 3xx for the pattern & that works for extension
dialing, I thought the IVR would use the same method. My Outbound Routes
are called "office1" & "office2", the trunks are called
"to-office1" &
"to-office2".
Thank you in advance for you assistance.
Thermal
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070526/6ee28468/attachment.htm
Alex Balashov
2007-May-26 18:58 UTC
[asterisk-users] Connect two Asterisk boxes through IVR Menu
Matt, On Sat, 26 May 2007, Matt Darnell wrote:> exten => _3xx,1,dial(IAX2/{$EXTEN}) > exten => 300,1,dial(IAX2/301)You do not appear to be specifying a destination host, i.e. the other endpoint of the IAX trunk. Asterisk does not have an automatic way of resolving such remote endpoints or their constituent extensions, at least not without a facility that specifically furnishes such resolution such as DUNDi. For an extension whose destination is on the remote Asterisk server, try something like: exten => 300,1,Dial(IAX2/@remote_peer/301) Further explanation at: http://www.voip-info.org/wiki/index.php?page=Asterisk+IAX+channels -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : +1-678-954-0670
Carlos Rojas
2007-May-26 19:21 UTC
[asterisk-users] Connect two Asterisk boxes through IVR Menu
Hello,
I take the example:
exten => 300,1,Dial(IAX2/user:password@remote_IP/${EXTEN},30)
Best Regards
On 5/26/07, Alex Balashov <abalashov@evaristesys.com>
wrote:>
>
> Matt,
>
> On Sat, 26 May 2007, Matt Darnell wrote:
>
> > exten => _3xx,1,dial(IAX2/{$EXTEN})
> > exten => 300,1,dial(IAX2/301)
>
> You do not appear to be specifying a destination host, i.e. the other
> endpoint of the IAX trunk. Asterisk does not have an automatic way of
> resolving such remote endpoints or their constituent extensions, at least
> not without a facility that specifically furnishes such resolution such as
> DUNDi.
>
> For an extension whose destination is on the remote Asterisk server,
> try something like:
>
> exten => 300,1,Dial(IAX2/@remote_peer/301)
>
> Further explanation at:
>
> http://www.voip-info.org/wiki/index.php?page=Asterisk+IAX+channels
>
>
> --
> Alex Balashov
> Evariste Systems
> Web : http://www.evaristesys.com/
> Tel : +1-678-954-0670
> _______________________________________________
> --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/20070526/71731252/attachment.htm