Hi,
currently we use PJSIP_HEADER(read,P-preferred-identity) to work with the CALLERID the phone wants.
Sometimes this header contains a name, so CUT is not an option here.
Is there a way to get only the number from P-preferred-identity?
Hi,
currently we use PJSIP_HEADER(read,P-preferred-identity) to work with the CALLERID the phone wants.
Sometimes this header contains a name, so CUT is not an option here.
Is there a way to get only the number from P-preferred-identity?
Have you try the ${CALLERID(num)} variable ?
I just tried and it contains my PJSIP-username…