More called details fixup for skinny.
authorDamien Wedhorn <voip@facts.com.au>
Mon, 25 Feb 2013 07:09:37 +0000 (07:09 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Mon, 25 Feb 2013 07:09:37 +0000 (07:09 +0000)
commitb34479ad37cf32f9b87c5de55ab12e9b5d7423d0
treeec186e8695212c6f14b8683e3bd9226bccda2eb3
parent0928f45794eb64e6ab001318d09da5b70f2d1477
More called details fixup for skinny.

Basically sets the callerid and callername to the first device talked to for the
purposes of putting the the calls made log on the device. Does not affect the device
displaying who the device is currently talking to.

Also some minor changes to use sub->exten in lieu of l->lastnumberdialed.

(closes issue ASTERISK-21095)
Reported by: wedhorn
Tested by: snuffy, myself
Patches:
    skinny-calllogsoutbound03.diff uploaded by wedhorn (license 5019)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c