On Tue, Sep 23, 2008 at 2:05 PM, Bernie B <bugsbernie1 at googlemail.com>wrote: > Hi everybody, > > In PJSUA, is there an easy and elegant way to make a call (INVITE) with an > individual 'From:' header? An individual caller ID should be set on a > call-by-call basis. My initial idea is to create an apropriate PJSUA account > every time and delete it right after pjsua_call_make_call(). But this > appears to be a kind of dirty approach. Is there a better way? > > With the (lower level) PJSIP API, one need to specify the From URI when creating invite session/dialog, which is exactly what you want. With PJSUA-LIB, the From header is set from the account. So either use account with PJSUA-LIB, or work directly with PJSIP. Cheers Benny Thanks for any advice. > > Bernie > > _______________________________________________ > 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/20080923/e2357350/attachment.html