[Asterisk-Users] RE: IAX Incoming/Outgoing
John Joseph
jjk_saji at yahoo.com
Sun Mar 26 00:03:28 MST 2006
--- JR Richardson <jr.richardson at cox.net> wrote:
> You certainly can have in/out trunks for each and
> work fine plus you can get
> more granular with security.
>
> If all these boxes are on the same subnet and secure
> from a public network,
> there is really no reason to have an IAX [context]
> for each outbound/inbound
> session between the servers, just use one [context]
> common on all servers.
>
Hi JR
Thanks for the mail , I am trying out Asterisk
and learning it , U mentioned that if all the tree
boxes are on the same subnet , there is no need for an
IAX [ context] for each outbound/inbound sessions
between the servers
If there is a situation , in which they three asterisk
box are in different locations / with separate subnet
, How will the it be
Thanks
Joseph John
> Example iax.conf all PBX's
>
> [iaxtrunk] (my internal iax trunk)
> type=friend
> auth=md5
> secret=1234
> host=dynamic
> context=incomingiax
> disallow=all
> allow=ulaw
> trunk=yes
>
>
> extensions.conf all PBX's
>
> [incomingiax]
> Include => local (or whatever contexts the incoming
> iax trunks need access
> to)
>
>
> Now routing call between them is a whole other
> topic, several ways to
> accomplish this but it is all dial plan related at
> this point. The only
> thing we accomplished so far is allowing all 3 PBX's
> trunk access to each
> other over a common [context] group. This is good,
> as you add PBX4, PBX5,
> you just add this common [context] in iax.conf in
> the new servers without
> the need of updating pbx1,2&3.
>
> Routing example extensions.conf
>
> [internal]
> ;To reach internal extensions on pbx1 (put this in
> pbx 2&3)
> Exten =>
>
1XXX,1,Dial(IAX2/iaxtrunk:1234 at XXX.187.142.203/${EXTEN})
>
> ;To reach internal extensions on pbx2 (put this in
> pbx 1&3)
> Exten =>
>
2XXX,1,Dial(IAX2/iaxtrunk:1234 at XXX.187.142.204/${EXTEN})
>
> ;To reach internal extensions on pbx3 (put this in
> pbx 1&2)
> Exten =>
>
3XXX,1,Dial(IAX2/iaxtrunk:1234 at XXX.187.142.234/${EXTEN})
>
>
> You could also specify each PBX in the [globals]
> context
> Example
>
> [globals]
>
> TRUNKPBX1 => IAX2/iaxtrunk:1234 at XXX.187.142.203
> TRUNKPBX2 => IAX2/iaxtrunk:1234 at XXX.187.142.204
> TRUNKPBX3 => IAX2/iaxtrunk:1234 at XXX.187.142.234
>
> So your routing extension would look like this:
>
> Exten => 1XXX,1,Dial(${TRUNKPBX1}/${EXTEN})
> Exten => 2XXX,1,Dial(${TRUNKPBX2}/${EXTEN})
> Exten => 3XXX,1,Dial(${TRUNKPBX3}/${EXTEN})
>
>
> Hope this helps.
>
> JR
>
>
> _______________________________________________
> --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
>
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
More information about the asterisk-users
mailing list