[pjsip] PJSUA2 Caller ID Name

Vinicius de Oliveira Egidio vegidio at daitangroup.com
Tue May 13 13:55:58 EDT 2014


You can do something like this:

acfg.idUri = "\"Display Name\" <sip:test at 127.0.0.1>”;

Best regards,
Vinicius Egidio


On May 13, 2014, at 2:37 PM, Rafał Dunajski <dunajski.rafal at gmail.com<mailto:dunajski.rafal at gmail.com>> wrote:

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<mailto:sip%3Atest 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!
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org<mailto:pjsip at lists.pjsip.org>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140513/34a4392a/attachment.html>


More information about the pjsip mailing list