[asterisk-users] Realtime Context

Matt Riddell lists at venturevoip.com
Wed Aug 18 16:57:21 CDT 2010

We don't use a context for that.

We set up dialplan code in a non asterisk part of MySQL called "routing 

When a customer selects a DDI number they can choose a routing type to 
use with it.

These routing types allow for variable substitution - i.e. if someone 
adds the routing type "Direct Routing With Failover", there is a 
variable with this type called failover routing.

The call is then sent to their SIP or IAX2 device (if not on the same 
machine that has the DDI number it uses DUNDI to find the appropriate 
machine).  If somebody is unavailable on all machines, it sets the 
account code to the customer and goes to the outbound context for dialling.

The difference is that in the routing type we don't use extensions (just 

When someone adds the routing type to their DDI realtime extensions are 
created with extension 5551234 (or whatever their DDI number is) and 
priorities which increase.  It makes some things a bit harder, but you 
can always use labels and the read application.


Matt Riddell

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