[asterisk-dev] Exchange data between channels at the time of a Dial

Denis Smirnov ds at seiros.ru
Thu Feb 2 06:58:57 MST 2006


On Thu, Feb 02, 2006 at 02:46:00PM +0100, Christian Richter wrote:

CR> well i think the channelvariables are the most flexible way to do this, 
CR> you can of course hack asterisk and add a user-user field to channel.h 
CR> and fill it by chan_zap, copy it by app_dial and read it by chan_sip and 
CR> vice versa.

chan_zap.c already set USERUSERINFO, and can get info from USERUSERINFO
var.

Only patch for chan_sip.c needed for send/receive this info.

-- 
JID: ds at im.seiros.ru
ICQ: 58417635 (please, use jabber, if you can)

http://freesource.info/




More information about the asterisk-dev mailing list