How to set the From header in messagin

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

 



If message is inside one dialog you could set From when calling
pjsip_dlg_create_uac()
 If outside dialog, check pjsip_endpt_create_request()

regards,
Gang

On Fri, May 22, 2009 at 3:52 PM, david Rivas <are0002 at gmail.com> wrote:

> I am using PJSIP 1.0.2 / 1.2 PJSIP-UA
>
> 2009/5/22 Gang Liu <gangban.lau at gmail.com>
>
>> what api you are using?
>>
>>   On Fri, May 22, 2009 at 2:49 AM, david Rivas <are0002 at gmail.com> wrote:
>>
>>>  Hello,
>>>
>>> When I send a message the From header is "sip:IP_ADDRESS" and I want to
>>> set it to the correct uri "sip:user at domain".
>>> How can I resolve this problem ?
>>>
>>> Best Regards,
>>> David Rivas
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> _______________________________________________
> 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/20090522/a375d649/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