PJSUA2 Caller ID Name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux