[Asterisk-Users] Busy message with call waiting?

Karl Putland karl at putland.linux-site.net
Fri Jun 13 15:46:01 MST 2003


On Fri, 2003-06-13 at 16:07, John Todd wrote:
> Hmm... this gets quickly back to my long-standing desire to have more 
> comprehensive call completion codes being handed back by the channels 
> to the dialplan.
> 

Just a couple of comments.

I agree with jtodd about the call completion codes, but I'd like to put
this out for some thought as well.

Why is it that Dial is the thing that waits for the call to be
completed?

Why not have dial just dial, then have applications like WaitForAnswer,
WaitForDisconnect etc...?

This would give more granularity to the call flow control and allow
someone to get brave and write a WaitForHuman or whatever.

Or for that matter... since extensions.conf is starting to look like a
scripting language,  Why not embed a perl or Python interpreter into
Asterisk to allow for programming extension logic in whatever your
favorite language is.

Just some food for though.

--Karl

> The current method of throwing certain replies into a big bucket 
> called "Busy" and others into a big bucket called "Error" and 
> auto-jumping to certain priorities based on those two results is 
> probably getting towards the end of it's useful life as people get 
> more sophisticated with their dialing plans and error control. 
> Perhaps a method of selectably moving to a "new" method of error 
> handling is in order.  Instead of building a million little exception 
> cases, why not hand some values back to the dialplan logic and let 
> the person building the IVR create their own GotoIf tree?
> 
> See my post on the topic:
> http://lists.digium.com/pipermail/asterisk-users/2003-April/009797.html
> 
> JT
> 
> 
> >There's not really a way to do that that right now, although we could add
> >something like AST_CONTROL_INUSE which could represent that the channel is
> >in use actually.  Wouldn't be extremely difficult to do, but would "INUSE"
> >and "BUSY" be the same?  If not, where do we jump to?
> >
> >Mark
> >
> >On Wed, 11 Jun 2003, Derek Beaumont wrote:
> >
> >>  Is it possible to have both a busy and an away message when the call
> >>  waiting feature is enabled?
> >>
> >>  extensions.conf
> >>  ...
> >>  exten=>403,1,Dial,Zap/3|10
> >>  exten=>403,2,Voicemail2,u403
> >>  exten=>403,103,Voicemail2,b403
> >>  ...
> >>
> >>
> >>  Because I have enabled call waiting, I can't see how it will be possible
> >>  to get the busy message to play (because there will always be a dial
> >>  tone).
> >>  Am I right, or do I have incorrect configurations?
> >>
> >  > Thanks
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Karl Putland <karl at putland.linux-site.net>




More information about the asterisk-users mailing list