[Asterisk-Users] Selecting outgoing trunk based on extension number

BJ Weschke bweschke at gmail.com
Thu Oct 6 05:34:00 MST 2005


On 10/6/05, Mark Hatton <mark at xela.co.uk> wrote:
>
> Hi all,
>
> I have situation in that we are renting out a room in our office building
> to
> another company, including the provision of phone lines via our Aterisk
> box.
> To keep billing simple, we would like them to be billed separately for all
> their calls. We think we can achieve this by them leasing their own
> outbound
> IAX trunk (which our providers have said is no problem) and having all
> their
> calls routed to that trunk.
>
> However, we use AMP and I can't see a way of selecting the outgoing route
> that
> should be used based on the extension number of the phone placing the
> call. I
> am reasonably certain that this can be achieved, but I can't find any
> information out on the net, despite a large amount of Googling.
>
> I haven't got a problem with adding custom stuff to the
> extensions-custom.conf
> that AMP provides, but I just don't have a clue what to add!
>
> If anyone has any ideas or can point me in the direction of some suitable
> documentation, that would be much appreciated.
>
> Thanks,
>
> Mark
>
> --
> Mark Hatton, Xela Limited
> T: 01732 808000 F: 01732 865999
> E: mark at xela.co.uk W: http://www.xela.net/
> P: 2 Fircroft Mews, Fircroft Business Centre,
> Fircroft Way, Edenbridge, Kent, TN8 6EN
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

Are you using the extensions version of AMP or the devices/users version of
AMP?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051006/3b230995/attachment.htm


More information about the asterisk-users mailing list