Re: [asterisk-users] Prevent Dial if any extension is busy

2009-11-30 Thread Benny Amorsen
Leif Neland writes: > I think a modification should be done around here to return busy if just > one channel was busy (only enabled if an option on dial is set) > in asterisk-1.6.0.15/apps/app_dial.c, line 610 That is doable, but it can result in a bad experience for the caller. The Dial() is li

Re: [asterisk-users] Prevent Dial if any extension is busy

2009-11-30 Thread Leif Neland
Leif Neland wrote: But my problem comes when I speak on 0317998985 and someone calls on 985, the call get to my celluar phone and ofc the other way around. Is there a way to check if any extension is busy and in that case jump to VoiceMail(0317998...@inputinterior.se,b)? If both phones were

Re: [asterisk-users] Prevent Dial if any extension is busy

2009-11-22 Thread Magnus Benngård
On Sun, 22 Nov 2009 15:38:00 +0100, Leif Neland wrote: Magnus Benngård skrev: Hi! Part of extensions.conf: exten => 985,1,Dial(SIP/0317998985&H323/00702221...@avaya,20) exten => 985,2,Goto(985-${DIALSTATUS},1) exten => 985-BUSY,1,VoiceMail(0317998...@inputinterior.se,b [1]) exten => 985

Re: [asterisk-users] Prevent Dial if any extension is busy

2009-11-22 Thread Leif Neland
Magnus Benngård skrev: Hi! Part of extensions.conf: exten => 985,1,Dial(SIP/0317998985&H323/00702221...@avaya,20) exten => 985,2,Goto(985-${DIALSTATUS},1) exten => 985-BUSY,1,VoiceMail(0317998...@inputinterior.se,b) exten => 985-BUSY,2,PlayBack(vm-goodbye) exten => 985-BUSY,3,HangUp() exten =>