[asterisk-dev] Sub Address support for CDR logs

Olle E. Johansson oej at edvina.net
Thu Jan 7 03:41:17 CST 2010


7 jan 2010 kl. 10.24 skrev Alec Davis:

> Now in trunk we have ISDN subaddress support.
>     Using a dial format along the lines of DIAL(dahdi/g0/5555678:5678) where 5555678 is the main number of the remote site, and 5678 is the extension (device) at the remote site.
>     You can set your subaddress before calling with function CALLERID(subaddr).
>  
> The issue is with the CDR, we currently record the 'src' and the 'dst' and I'm proposing the 'dnid' as well, but all these fields are missing the subaddress.
> DNID proposal https://reviewboard.asterisk.org/r/455/
>  
> If a subaddress was present for a field I'm suggesting
>     'clid' would then look like "CALLER NAME" <5551234:1234> instead of "CALLER NAME" <5551234>
>     'src' would then look like 5551234:1234 instead of 5551234
>     proposed 'dnid'  would look like 5555678:5678
>     'dst' would then look like 5555678:5678 instead of 5555678
>  
> The question is.
>     Do we add a new field for calling and called subaddresses, or do we modify existing fields as suggested above?
>  
Modifying a CDR field will lead to a revolution in the user base. Especially changing src and dst. If we do that, it has to be optional.

Otherwise I have no idea - need to learn what an ISDN subaddress is first.
/O


More information about the asterisk-dev mailing list