[asterisk-dev] ${DIALSTATUS} per dialed peer

Michiel van Baak michiel at vanbaak.info
Fri Feb 1 13:31:21 CST 2008


On 18:40, Fri 01 Feb 08, Loic Didelot wrote:
> Hello,
> I often dial many peers at the same time for some amount of time
> (ringing) then I answer the call and dial my peers again but play music
> to the caller.
> 
> Well the problem is that if one of the peers "rejects" the call the
> first time, he gets the same call back after a few seconds when I dial
> my peers again and play musiconhold to the caller.
> 
> Well this is quite annoying. So I look for a solution to get a
> DIALSTATUS variable or function per dialed peer: a variable like
> DIALSTATUS-PEERNAME or a function dialstatus(peer). With this
> information I could define easily which peers I dial or not.
> 
> Does someone has a better solution? Anyone here who would accept this
> "small" challenge?

You can use the Local channel and some macro magic to do
this for you.

-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"




More information about the asterisk-dev mailing list