How can I retieve the calling users SIP line ID in the dialplan? I’ve tried using the CALLERID mehotd but it only gives me the users preferred caller ID. Say I have 2 SIP lines in sip.conf:
(these are both the same user but the one preset with 9 is for connecting in from home)
When I’m adding these to a queue I meed to be able to retrieve “9310” but can’t find a way to do this. CALLERID(num) only gives me “310” all the time.
Thanks in advance,