[asterisk-dev] [Code Review] Add Calling and Called subaddress support for Asterisk apps and funcs
Alec Davis
sivad.a at paradise.net.nz
Mon Oct 19 19:35:31 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/405/
-----------------------------------------------------------
(Updated 2009-10-19 19:35:31.513736)
Review request for Asterisk Developers, rmudgett and mattf.
Summary (updated)
-------
Add dialstring support for called subaddress, used like Dial(dahdi/g0/5551234:8512) where 5551234 is the main line number of the remote site and 8512 is the extension with that site.
If 'User Specific' BCD encoding is required, the subaddress is prefixed with a 'U'. IE Dial(dahdi/g0/5551234:U8512)
Extend function CALLERID() for type 'subaddr' to allow reading and updating the calling subaddress.
Extend function CALLERID() for type 'dnid-subaddr' to allow reading and updating the called subaddress.
Extend function CONNECTEDLINE as for CALLERID
Requires: Libpri Subaddress support https://reviewboard.asterisk.org/r/406/
This addresses bug 15604.
https://issues.asterisk.org/view.php?id=15604
Diffs
-----
/team/rmudgett/subaddr/channels/sig_pri.c 224402
/team/rmudgett/subaddr/funcs/func_callerid.c 224402
/team/rmudgett/subaddr/funcs/func_connectedline.c 224402
/team/rmudgett/subaddr/include/asterisk/channel.h 224402
/team/rmudgett/subaddr/main/channel.c 224402
Diff: https://reviewboard.asterisk.org/r/405/diff
Testing
-------
Preliminary concept testing between sites over Telecom NZ PSTN, using channel variables $CALLINGSUBADDR and $CALLEDSUBADDR with patches for branches at https://issues.asterisk.org/view.php?id=15604
Development and testing using Jtec 5015 switches, establish calls in either direction, NSAP and User Specific.
Thanks,
Alec
More information about the asterisk-dev
mailing list