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/mycont...@realtime_extensions
> <mailto:mycont...@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)

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to