[Home]

Summary:ASTERISK-15247: [patch] Send Manager Event on SNOM X-ClientCode SIP INFO message
Reporter:raarts (raarts)Labels:patch
Date Opened:2009-12-01 02:29:04.000-0600Date Closed:
Priority:MajorRegression?No
Status:Open/NewComponents:Channels/chan_sip/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) clientcode.diff
Description:We need asterisk to send a manager event when useclientcode is enabled, and it receives a clientcode. Patch attached.

****** ADDITIONAL INFORMATION ******

The resulting manager event looks like this:

Event: ChannelUpdate
Privilege: system,all
Channel: SIP/ast163-00000003
Channeltype: SIP
Uniqueid: 1259655578.3
X-ClientCode: 123456

Comments:By: raarts (raarts) 2009-12-04 00:42:24.000-0600

License is approved by legal

By: Nico Kooijman (syspert) 2010-01-19 09:54:53.000-0600

Manager event tested on trunk with a positive result!

By: Paul Belanger (pabelanger) 2010-04-20 23:12:01

Your patch does not meet CODING-GUIDELINES. IE: Do not declare variables mid-block.

By: raarts (raarts) 2010-06-20 14:02:24

I am sorry, I don't know what you mean. The only variable I declare is struct ast_channel *chan, and that is declared at the start of the block.