[asterisk-dev] LibPRI: How to add an IE to an outgoing call?
Alexandre Cavalcante Alencar
alexandre.alencar at gmail.com
Fri Apr 17 15:49:40 CDT 2009
Hi Guys,
I am trying to enable chan_dahdi.c to selectively block ISDN reverse
charging calls (collect calls). This kind of call get identified by
the IE 74 (0x4A) when it arrives set with a new call.
I made some code to identify it and block the call as needed, but I
need to make collect calls (add IE 74 to outgoing calls) to test the
code as I am using a loop between two spans to test it.
The code I am trying to use for adding the IE 74 is here at
pastebin.ca alongside with it's generated log of one call
http://www.pastebin.ca/1395196
If someone here knows LibPRI and ISDN and can help me get this
working, I will appreciate. I don't have much experience with LibPRI
and ISDN protocol internals, and I need this hack so I can test the
code to block the collect calls, since I don't have a telco ISDN link
available.
A 'patch' to block all collect calls (not flexible)
http://bugs.digium.com/view.php?id=13760
References of people asking for this feature
http://lists.digium.com/pipermail/asterisk-dev/2004-November/007500.html
http://lists.digium.com/pipermail/asterisk-users/2005-July/109268.html
http://lists.digium.com/pipermail/asterisk-users/2007-October/198692.html
Regards,
--
Alexandre C Alencar (Skarmeth)
http://blog.alexandrealencar.net/
http://www.alexandrealencar.net/
http://people.debian-ce.org/skarmeth/
--
Alexandre C Alencar (Skarmeth)
http://blog.alexandrealencar.net/
http://www.alexandrealencar.net/
http://people.debian-ce.org/skarmeth/
More information about the asterisk-dev
mailing list