[asterisk-users] DAHDI [USERUSERINFO]

Tony Mountifield tony at softins.clara.co.uk
Thu May 14 08:10:54 CDT 2009


In article <cf554c8c0905140447n50c720eeg8b0d0728d00afb5f at mail.gmail.com>,
DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> wrote:
> 
> how can I set/get variable  "USERUSERINFO"  when Dialing through PRI(E1)
> line via DAHDI Channel

Just like a normal variable: Set(__USERUSERINFO=whatever) in the sending
dialplan before the Dial command.

Then on the receiving end, you can refer to ${USERUSERINFO} in the dialplan
for the answered call.

However, to make this work, you need to make sure chan_dahdi.c contains the
following line when it is compiled:

#define SUPPORT_USERUSER

This is required on both ends of the call. It is a pity it has never become
the default.

Regards
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list