[Freeswitch-users] api:execute("chat") how to set different caller name and number

Yuriy Gorlichenko ovoshlook at gmail.com
Mon Oct 2 11:46:28 UTC 2017


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 at mydomain.com>

I wanna control username here and send it as:

from: "Peter Pen" <sip:1001 at mydomain.com>

Could you help me to find a way hoe to do it? didnt found any informaion
about it at the documentation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171002/c9e8bfcd/attachment.html>


More information about the FreeSWITCH-users mailing list