[pjsip] PJSUA2 Caller ID Name

Rafał Dunajski dunajski.rafal at gmail.com
Tue May 13 13:37:45 EDT 2014


Hello!

I am developing simple softphone application in C++ using newest PJSUA2
library, and I have one question:

How can I put caller id name to my account registration code below:

AccountConfig acfg;
acfg.idUri = "sip:test at 127.0.0.1";
acfg.regConfig.registrarUri = "sip:127.0.0.1";
acfg.regConfig.timeoutSec = 3600;
AuthCredInfo cred("digest", "*", "100", 0, "100");
acfg.sipConfig.authCreds.push_back(cred);

MyAccount *acc = new MyAccount;
acc->create(acfg, true);

Thanks in advance!
Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140513/c58a9482/attachment.html>


More information about the pjsip mailing list