<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
I'll give you an example process flow<br>
<br>
Our customer logs onto our VoIP Portal and orders a SIP Geographic
number<br>
Geo number is successfully ordered which inserts an entry into our
extensions table in MySQL DB in the default context which has a goto
command to a newly created specific context for handling the incoming
on that number.<br>
The customer goes to the dial plan managing section of the portal and
sets the number to ring an extension of his followed by going to
voicemail. In the back end 2 new inserts are made into the extensions
table for the newly created context.<br>
Also, an insert is made into a table to say that the extensions table
has been updated.<br>
<br>
A cron runs and sees that the extensions table has been updated.<br>
this gets a distinct list of contexts from the extensions table and
writes each one to a new extensions.con putting in the realtime switch
for each context.<br>
The cron then executes a dialplan reload <br>
<br>
If you can see a more elegant way of doing the above so that no
intervention is required by anyone other that the customer, please let
me know as I'm always willing to learn better ways of doing things.<br>
<br>
Also, please bear in mind that we offer a hosted service for customers
so we have lots of different companies all working off the same
server(s)<br>
<br>
Ish<br>
<br>
On 18/08/10 10:37, Zeeshan Zakaria wrote:
<blockquote
 cite="mid:AANLkTinh369_y7d3Fg_=JOjpZYf5QsgBykVB818ZnjfY@mail.gmail.com"
 type="cite">
  <p>So why you need a reload when you are using the real-time
architecture? Are you adding contexts in extensions.conf? If yes then
where are you using the real-time?</p>
  <p>I asked because to me it seems you didn't understand what Dan is
asking, and also seems you don't know how real-time works in regards to
add contexts without reloading asterisk.</p>
  <blockquote type="cite">On 2010-08-18 4:25 AM, "Ishfaq Malik" &lt;<a
 moz-do-not-send="true" href="mailto:ish@pack-net.co.uk">ish@pack-net.co.uk</a>&gt;
wrote:<br>
    <br>
    <div bgcolor="#ffffff" text="#000000">Unless I've got some massive
misunderstanding, yes we do<br>
    <br>
as described here<br>
    <br>
    <a moz-do-not-send="true"
 href="http://www.voip-info.org/wiki/view/Asterisk+RealTime"
 target="_blank">http://www.voip-info.org/wiki/view/Asterisk+RealTime</a><br>
    <br>
Why do you ask?
    <p><font color="#500050"><br>
    <br>
On 17/08/10 17:27, Zeeshan Zakaria wrote:<br>
&gt;<br>
&gt; Ishfaq, do you use the asterisk real-time architectu...</font></p>
    <p><font color="#500050">-- <br>
Ishfaq Malik<br>
Software Developer<br>
PackNet Ltd<br>
    <br>
Office:&nbsp;&nbsp;&nbsp;0161 660 3062</font></p>
    </div>
    <br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true"
 href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a>
--<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
    <br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp; <a moz-do-not-send="true"
 href="http://lists.digium.com/mailman/listinfo/asterisk-users"
 target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
  </blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title></title>
<span
 style="font-family: Arial,Helvetica,sans-serif; color: rgb(0, 0, 0);">Ishfaq
Malik<br>
Software Developer<br>
PackNet Ltd<br>
<br>
Office:&nbsp;&nbsp;&nbsp;0161 660 3062<br>
</span>
</div>
</body>
</html>