[SFLphone] Change "User-Agent" header
Emmanuel Milou
emmanuel.milou at savoirfairelinux.com
Fri Oct 2 11:18:48 EDT 2009
The User-Agent header is only send with the registration requests
(REGISTER).
Check for these lines in the sendRegister function
(sip/sipvoiplink.cpp):
// Add User-Agent Header
pj_list_init (&hdr_list);
useragent = pj_str ( (char*) get_useragent_name ().c_str());
h = pjsip_generic_string_hdr_create (_pool,
&STR_USER_AGENT, &useragent);
pj_list_push_back (&hdr_list, (pjsip_hdr*) h);
On Fri, 2009-10-02 at 08:44 -0300, Thomas Alexander Ewald wrote:
> change
--
Emmanuel Milou
Consultant en Logiciel Libre
Savoir-Faire Linux Inc.
emmanuel.milou at savoirfairelinux.com
514-276-5468 poste 136
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.savoirfairelinux.net/pipermail/sflphone/attachments/20091002/5f88ad91/attachment.pgp
More information about the SFLphone
mailing list