[Asterisk-Users] pattern matching problem
Robert Jackson
RobertJ at promedicalinc.com
Mon Jan 17 05:49:25 MST 2005
> -----Original Message-----
> From: Joseph [mailto:syscon at interbaun.com]
> Sent: Monday, January 17, 2005 1:29 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] pattern matching problem
>
>
> How do I solve the problem with between patterns:
> _1800
> _1NXX
>
> I would like all numbers 1800, 1877 etc to go through iaxtel
> but all other numbers 1xxx via voipjet
>
In your default context (i.e. the one specified in sip.conf/iax.conf)
include the iaxtel context before the outgoing-voipjet context. The
system should stop at the first match.
Good luck,
Robert Jackson
More information about the asterisk-users
mailing list