[pjsip] PJSUA2 Caller ID Name

Rafał Dunajski dunajski.rafal at gmail.com
Tue May 13 14:01:43 EDT 2014


Oh my, I can not believe it was SO simple.. Thank you very kind Vinicius!


2014-05-13 19:55 GMT+02:00 Vinicius de Oliveira Egidio <
vegidio at daitangroup.com>:

>  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>
> 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";
> 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
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> 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/d1f074f1/attachment.html>


More information about the pjsip mailing list