Summary:ASTERISK-07339: no manager hold / unhold event on SIP channel
Reporter:d-trix (d-trix)Labels:
Date Opened:2006-07-13 10:31:44Date Closed:2011-06-07 14:02:51
Versions:Frequency of
Environment:Attachments:( 0) asterisk.log
Description:the manager events "hold" and "unhold" are not sent on the SIP channel. we have tested the following situations:
a.) SIP -> SIP (no hold event, no matter which party presses "hold")
b.) SIP -> CHAN_CAPI-cm device (no hold event)
c.) IAX -> SIP (hold event is signaled if the IAX participant presses "hold")
d.) SIP -> asterisk playback application (no hold event)

We found out the bug # 0004594 at the following address
which states that the problem should be solved. We did NOT apply the patch mentioned there, because it is more than one year old.

thanks for prompt answer,

Comments:By: Serge Vecher (serge-v) 2006-07-13 11:06:25

a. Well, the patch from 4594 was put in trunk and became part of 1.2.x releases, so you are right -- no need to apply the patch.
b. Let's see if the hold events are actually generated or not. Please do the following (exclude chan_capi from your tests, as it is not an official part of Asterisk).
1) Prepare test environment (reduce the ammount of unrelated traffic on the server);
2) Make sure your logger.conf has the following line:
  console => notice,warning,error,debug
3) restart Asterik.
4) Enable SIP transaction logging with the following CLI commands:
set debug 4
set verbose 4
sip debug
5) Save complete console log to file and _attach_ said file to the bug.

c. If at all possible, please try the latest trunk and see if the problem exists there.

By: d-trix (d-trix) 2006-07-13 12:24:53

Hello, thank you for your care - attached is the log as ordered. Hope to hear from you soon.


By: Olle Johansson (oej) 2006-07-13 15:57:58

Is "callevents" enabled in sip.conf?

By: d-trix (d-trix) 2006-07-14 09:01:33

Thank you very much - indeed this solved the problem, sorry for bothering due to incompetence :)

By: Jason Parker (jparker) 2006-07-14 10:37:57