[Asterisk-Users] Extensions - Realtime
Flobi
flobi.com at gmail.com
Wed Sep 7 06:56:44 MST 2005
CVS HEAD/Asterisk 1.2: Is there a way to have the entire
extensions.conffile coming from the realtime?
It appears that RealTime for the extensions.conf file is on a context by
context basis, but you have to create each new context in the
extensions.conf file then add a "switch => Realtime" line (then reload). I
want to be able to add phones without having to edit any files.
I'm using a PHP w/ MySQL AGI app to route my calls and all this would all be
find except for blind transfers as I could use the channel variable itself
to determine the source of the call. But, the blind transfer comes into the
dialplan on the channel of the transferree with the context of the
transferer. So, I need to have each phone in it's own context to determine
what channel is actually requesting the transfer (for cdr, parking, routing,
etc. reasons). As such, I have to create a new context each time I add a
phone.
I don't mind reloading so much and it looks like I'm not going to be able to
avoid that anyways with the SIP RealTime cached (<--oxymoron) for MWI. The
reason I don't want to edit files is that I'm sharing the dialplan between
multiple boxes (the PHP app takes care of figuring out which box it is). I
don't want to have to a. have to save the file on each box or b. map the
files between boxes.
!!! - Alternatively, if there is a way to determine in the dialplan who is
the transferer without having each phone in it's own context, that would be
fine.
--
Automated Signature: This message is from Flobi of Flobi.com<http://Flobi.com>
.
Visit my website if you like: http://www.flobi.com/
Please remember to tip your waitress and bartender. They are doing their
best to serve you and your indignant, malcontent attitude.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050907/8da7a475/attachment.htm
More information about the asterisk-users
mailing list