Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Leif Madsen
Leif Neland wrote: > Leif Madsen wrote: >> Leif Neland wrote: >> >>> I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) >>> return busy when just one extension is busy. >>> >> In order to have your patch considered at all, you will need to file an >> issue in >> the issu

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Leif Neland
Leif Madsen wrote: > Leif Neland wrote: > >> I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) >> return busy when just one extension is busy. >> > > In order to have your patch considered at all, you will need to file an issue > in > the issue tracker and attach your f

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Benny Amorsen
Leif Neland writes: > Because I might have more phones than mouths :-) If I'm busy with one > conversation, I don't want to hear another phone ring. I might have a > desktop and a portable phone. This use case is indeed very difficult to implement in Asterisk dial plans today. Especially if you

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Leif Madsen
Leif Neland wrote: > I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) > return busy when just one extension is busy. In order to have your patch considered at all, you will need to file an issue in the issue tracker and attach your file to it after signing the license agreem

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Leif Neland
Magnus Benngård wrote: > Hi! > > Would be a very nice feature for example the following scenario: > > Me has 2 phones, one ordinary SIP phone attached to the SIP server and > one Cell phone. > If someone calls my extension it will ring in both, but if I talk in > for example the SIP phone I dont

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Leif Neland
Rob Hillis wrote: Leif Neland wrote: I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) return busy when just one extension is busy. Forgive me for the question, but /why/ do you want this behaviour? Isn't the whole point of dialling multiple extensions so that a cal

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Richard Kenner
> > I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) > > return busy when just one extension is busy. > > > Forgive me for the question, but /why/ do you want this behaviour? > Isn't the whole point of dialling multiple extensions so that a call has > a greater chance of bei

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Magnus Benngård
Hi! Would be a very nice feature for example the following scenario: Me has 2 phones, one ordinary SIP phone attached to the SIP server and one Cell phone. If someone calls my extension it will ring in both, but if I talk in for example the SIP phone I dont want it to ring on my cell phone. I su

Re: [asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Rob Hillis
Leif Neland wrote: > I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) > return busy when just one extension is busy. > Forgive me for the question, but /why/ do you want this behaviour? Isn't the whole point of dialling multiple extensions so that a call has a greater chance

[asterisk-users] Patch for app_dial.c: exit when just one ext is busy.

2009-12-01 Thread Leif Neland
I made a patch to app_dial.c to make Dial(ext1&ext2&ext3,tumeout,B) return busy when just one extension is busy. http://www.neland.dk/app_dial.c.diff It works, but... I can't figure out setting/reading an option. It looks fairly easy, but the flag is always set. *** app_dial.c.org 2009-11-0