Displaying 1 result from an estimated 1 matches for "channelpeerip".
2016 Sep 02
3
Trouble getting peer variable (sip username) on 302 Moved Temporarily
...Local/myaccount184 at CallFromQueue-000007f4;2 to 'Local/23 at from-internal'
(thanks to SIP/myaccount184-00003729)
Question : how can I read the variable which contains the value
'myaccount184' in the context from-internal ?
The following variables I've tried are empty :
ChannelPeerip=${CHANNEL(peerip)}
Channelrecvip=${CHANNEL(recvip)}
Channelfrom=${CHANNEL(from)}
Channeluri=${CHANNEL(uri)}
Channeluseragent=${CHANNEL(useragent)})
You can see this on the CLI output here :
[Aug 31 14:59:34] -- Executing [23 at from-internal:7]
NoOp("Local/23 at from-internal-000007f5;...