[Asterisk-Dev] Identifying associated channel in rtp.c
Alf Thomas Nilsen
a-t-n at online.no
Tue Apr 19 06:50:17 MST 2005
I'll also add that I'd prefer to retrieve the variable from within
ast_rtp_reload();
Best regards,
Alf Thomas Nilsen
_____
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Alf Thomas
Nilsen
Sent: 19. april 2005 12:12
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] Identifying associated channel in rtp.c
I am trying to retrieve a variable set with SetVar() in extensions.conf. I
have been told that the preferred way to do this is to use a function from
pbx.h/.c called "pbx_builtin_getvar_helper(chan, "name")". The problem,
however, is that I'm inexperienced with Asterisk and this kind of
programming so I have had a really hard time finding the associated channel
to retrieve the variable from. I would appreciate it if anyone could point
me in the right direction. If there is other ways of retrieving variables
set with SetVar() I would also like to hear about them.
Best regards,
Alf Thomas Nilsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050419/85b67d8f/attachment.htm
More information about the asterisk-dev
mailing list