[asterisk-users] Realtime extensions

Matt Riddell lists at venturevoip.com
Sun Feb 21 20:18:54 CST 2010


On 19/02/10 8:15 AM, jonas kellens wrote:
> How about something like :
>
> [mycontext]
> exten => 100,1,NoOp(calling 100)
> exten => 100,n,NoOp(going realtime)
> switch => Realtime/mycontext at realtime_extensions
> <mailto:mycontext at realtime_extensions> ; from here on we use realtime
>
> And then my MySQL-DB contains :
>
> `extensions_table` VALUES (1, 'mycontext', '100', n, 'Wait', '2');
> `extensions_table` VALUES (2, 'mycontext', '100', n, 'NoOp', 'into
> RealTime');
> 'extensions_table` VALUES (3, 'mycontext', '100', n, 'Playback',
> 'my-sound-file');

I'm not sure that's likely to work - or if it does, not in the way you 
expect.  Likely if you did a query for exten = 100, the n extensions 
would be returned in a random order.

-- 
Cheers,

Matt Riddell
Managing Director
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)



More information about the asterisk-users mailing list