[Asterisk-Users] Asterisk realtime extensions context inclusion
Sergey Okhapkin
sos at sokhapkin.dyndns.org
Mon Nov 14 04:55:13 MST 2005
That's what macro is useful for. Don't include these common contexts,
but convert them to macros and call these macros from user's dialplan.
Macros in asterisk dialplan are close to subroutines rather than to
C-style #define.
On Mon, 2005-11-14 at 07:44 +0000, Daniel Clark wrote:
> Thanks for the reply, it’s an approach I didn’t think of to simply
> include the information from the other contexts into where I would be
> including from. In most cases that would work, but not in my case.
> Each user of my system will be able to place outgoing calls using
> their own sip connection (as in one they create with sipgate or vonage
> etc). To ensure that each user can dial out with their own sip
> connection and nobody else’s they are each getting their own context
> and that context is the only place in the dialplan to dial that
> particular external sip connection. For a small amount of users it’s
> possible to include all the information in each context, however I’m
> dealing with 15,000 users and would like a database small enough to
> fit on the hard disk!
>
>
>
> Would it not be possible to do something with the Goto app? In each
> persons dialplan I can have an extension to catch internal numbers and
> then forward to another context using exten => 1,1,Goto(context2) or
> something like that?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051114/e299cd96/attachment.htm
More information about the asterisk-users
mailing list