Hi from now i using api:execute("chat","sip|"..userNumber.."@mydomain|external/sip:"..toUser.."@mydomain|"..message:getBody())
And it works find but userNumber also sets at the uuerName parameter at the from field:
from: "1001" <sip:1001@mydomain.com>
I wanna control username here and send it as:
from: "Peter Pen" <sip:1001@mydomain.com>
Could you help me to find a way hoe to do it? didnt found any informaion about it at the documentation.