Re: [Asterisk-java-users] Consecutive Hangup Action Locking SIP Phone
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-02-16 04:53:34
|
Burak Do=C4=9Fru=C3=B6z wrote: > I was just curious about my hangup routine being improper. It seems to be ok. However I am not sure about hanging up both the source and destination port. If these two channels are linked it is sufficient to hangup one of them as the other is hung up automatically in that case. > Anyway i get > a timeout exception if i set the timeout value to 50000. Is this a smal= l > value or am i doing something wrong while getting a response? Is it ok > to leave it 1 so my method can send consecutive hangup actions. (In > practice i don=E2=80=99t need hangup results) 50000 is rather large for a HangupAction. If you are not interested in the response you should pass null instead - that turns the hangup action into an asynchronous message and returns immediately. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... |