billing at chaneste.com
2021-Mar-04 07:16 UTC
[asterisk-users] Read remote Media IP address
For regulatory reasons, I need to store the media IP address of the caller. All callers listen to a message and the call disconnects. Also, I want to store in my CDR its own SIP IP address, in either pjsip or chan_sip, i.e., where I am listening, or maybe the IP address where each call is received at. Or maybe the name of the context. Is there a way to read this information from an internal variable? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210304/e8aa3242/attachment.html>
On Thu, Mar 4, 2021 at 3:16 AM <billing at chaneste.com> wrote:> For regulatory reasons, I need to store the media IP address of the caller. > All callers listen to a message and the call disconnects. > Also, I want to store in my CDR its own SIP IP address, in either pjsip or > chan_sip, i.e., where I am listening, or maybe the IP address where each > call is received at. > Or maybe the name of the context. > Is there a way to read this information from an internal variable? >The CHANNEL dialplan function[1] provides access to various details about the channel. The specific format depends on the channel driver in use. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Function_CHANNEL -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210304/33b9f52d/attachment.html>