Where do you configure a display name in pjsip?

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

 



On Sat, Mar 14, 2009 at 12:23 AM, Mark Webster
<mark.webster+pjsip at gmail.com<mark.webster%2Bpjsip at gmail.com>
> wrote:

> The From (local uri, local conact?) header should contain something like:
> "John Smith" <sip:jsmith at example.com <sip%3Ajsmith at example.com>>
>
>
> On Fri, Mar 13, 2009 at 6:19 PM, Eric Chamberlain <eric at rf.com> wrote:
>
>> Hello,
>>
>> I'm sure I'm missing the obvious, when making an outbound sip call, how
>> can we configure a display name in the sip header?
>>
>> So the callee can see John Smith, rather than just jsmith at example.com.
>>
>>
You can always put URI with display name anywhere where pjsip expects URI,
for example:

(pjsua cmdline)  $ pjsua --id 'John Smith
<sip:jsmith at example.com<sip%3Ajsmith at example.com>
>'

or

(account config)  acc_cfg.id = pj_str("John Smith
<sip:jsmith at example.com<sip%3Ajsmith at example.com>
>");

cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090314/bdc5311c/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