Hi, We have an asterisk box with Digium 4xE1 card running libss7. All is well, except for a CDR issue about incoming calls whose DNID (local numbers) are not valid. In the dialplan, we do a check if the incoming call has a particular prefix. If it does not, then we hangup the call with 403 or 404, as applicable. For these calls, no "lastdata" is recorded. What we understand is, this is perhaps the desired behaviour, as the "lastapp" was "Hangup" and not "Dial". What would be the strategy to correctly store the incoming number for these calls? Regards HASSAN -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20130421/0f96dc7a/attachment.htm>