[Asterisk-Users] Re: Need to retrieve Call-ID from dialed number

Kevin P. Fleming kpfleming at digium.com
Wed Feb 8 16:16:16 MST 2006


Darren Sessions wrote:
> Exactly.

That will be difficult. You cannot set a channel variable on the parent 
channel from inside the child channel. At best, you can pass the parent 
channel's name into the child channel, then in a macro run by Dial() you 
can store the Call-ID into the database keyed by the parent channel's name.

However, none of this will work if you dial multiple SIP channels, of 
course.



More information about the asterisk-users mailing list