[Asterisk-Dev] LIBPRI/Zaptel

John Todd jtodd at loligo.com
Wed Jul 28 14:33:23 MST 2004

At 10:25 AM +0200 on 7/28/04, moritz winterberg wrote:
>I would like to provide more PRI information such as TON/NPI and PRI
>hangupcause within the * Variables. To use them in extensions.conf.
>Now my C knowledge is just starting to grow and it turns out to be very
>tough to find out the way those kind of information could take from
>libpri (q931.c/libpri.h) over channel (chan_zap.c/channels.h) to
>extensions.conf-ready ${VARIABELS} which are set in pbx.c as far as I
>could figure out.
>So I would be very glad if someone could give me any hint or insight
>into this source code structure.

I think that the hangupcause is already available, in some limited 
way.  See $HANGUPCAUSE in the readme's.

More data is always good, so take a stab at getting more data 
available to the dialplan ("extensions.conf").  Can't help you with 
anything further than encouragement, though.


More information about the asterisk-dev mailing list