There is one problem I wonder if you can help me with. We try to recording all income/outgoing calls, we have problem with the file name and recording the dtfm input. According to Wiki (http://wiki.pbxnsip.com/index.php/Recording ), $i is used to indicate direction of the call (incoming i /outgoing o); and $u/$n are replaced with the calling/called party number. But it is not working in my case.
Looks like that for the incoming call, it’s always use our public phone number as calling party. For example, I called from my cell phone
(770-XXX-XXXX) to our public phone (678-373-4755), The file is “16783734755-16783734755-111547-i.wav” which is not correct. It should be “1770XXXXXXX-16783734755-111547-i.wav”. Also, when I called from an extension (5090) to my cell (770-XXX-XXXX), the file is “5090-917703135695-114558-i.wav” which is not correct. It should be
“5090-917703135695-114558-o.wav” . Here is my setting for the Record–
Location “$r/$d/$u-$n-$t-$i.wav” .
The trunk configuration are followed instruction at: