[asterisk-dev] Dial2 or better named... was Re: ast_flags now uint64_t ? should it be reverted ?

Steve Murphy murf at parsetree.com
Thu Jul 19 10:27:01 CDT 2007


On Thu, 2007-07-19 at 09:45 -0500, Steven Critchfield wrote:
> On Thu, 2007-07-19 at 13:11 +0200, Olle E Johansson wrote:
> > I have been thinking about implementing "dial by profile" for a while...
> > 
> > Imagine having a configuration file where you define a couple of dial  
> > "patterns",
> > in an easy-to-read way. Like
> > 
> > 
> > [normal-call]
> > timeout=20
> > macro=dial-check
> > answer-elsewhere=on
> > 
> > 
> > then you could implement
> > 
> > 	dialbyprofile(normal-call, SIP/olle)
> > 
> > 
> > That would make the dialplans easier to handle, but the specific dial  
> > command would
> > not have all the required information - you have to read dial.conf to  
> > understand.
> 
> That is an interesting thought. 
> 
> It could even be accomplished without a new conf file in my idea.
> Specifically, with the DIAL variable, you could create macros in your
> dialplan that set your commonly used options before returning to dial.
> Being done within extensions would also allow for a lot of the same
> smart functionality that people may be doing right now.
> 
> Or you could possibly do this as a combined idea where your common
> options are put into the profile in a dial.conf file and anything in the
> DIAL var would overwrite the profile. 
> 
> Several options are available.

This stuff might work; but ugh! the ramifications to AEL!
I'm not liking it already.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3239 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070719/7be2607e/attachment.bin 


More information about the asterisk-dev mailing list