Summary:ASTERISK-21095: More called details fixup
Reporter:Damien Wedhorn (wedhorn)Labels:
Date Opened:2013-02-14 14:45:33.000-0600Date Closed:2013-02-25 01:19:18.000-0600
Versions:SVN Frequency of
Environment:Attachments:( 0) skinny-calllogsoutbound01.diff
( 1) skinny-calllogsoutbound02.diff
( 2) skinny-calllogsoutbound03.diff
Description:Adds some more fields to variable callinfo message. When callid doesn't match dialed number, still uses the toname, but original number called in placed calls log.
Comments:By: Damien Wedhorn (wedhorn) 2013-02-14 14:49:39.223-0600

Have to numbers in the dialplan point to the same device. eg 101->skinny/101 and 131->skinny/101. With this patch, calls to either will have the same name included but different numbers.

By: Damien Wedhorn (wedhorn) 2013-02-19 02:06:00.825-0600

Updated patch which uses the first device talked to get callername. Stores origto name,num and set vars in the subchannel. Combo of snuff and my code.

By: Damien Wedhorn (wedhorn) 2013-02-19 14:35:27.845-0600

Another patch (03).

Removes the var keeping track of whether origto has been set and now relies on checking whether origtonum has been set.

Changed setting number (and transmitting dialed number) from l->lastdialednumber to sub->exten.

Updated to apply concept to old non variable callinfo message.

Tested and seems to work for skinny to skinny and skinny forwards for both v17 and v6 devices.

By: snuffy (snuffy) 2013-02-24 22:55:58.669-0600

seems to work fine here on v17 device..