Hello Thomas,

The only way to change to User-Agent header right now is to modify the
source code of the daemon sflphoned.

In sflphone-common/sip/sipvoiplink.cpp, look for the method
SIPVoIPLink::get_useragent_name (). Currently it builds the user-agent
value from the app name and the version. You may replace this value with
whatever fits your needs.

Recompile and you are done !

Cheers

Emmanuel


Le jeudi 01 octobre 2009 à 17:04 -0300, Thomas Alexander Ewald a écrit :
> Hello,
> 
> I like to use this software very much, but I have a problem.
> My company SIP server blocks SIP client software based in the 
> User-Agent. Right now the only "authorized" client doesn't run on Wine.
> I was trying do find in the sources where can I change to make sflphone 
> ( or sflphoned ) to send another "User-Agent" header.
> I found that using the python client this is possible, but I didn't find 
> where to change to use the gtk client.
> I also don't know if the sflphoned is always setting the "User-Agent" 
> header.
> Is there a way to do this?
> I have average programming skills, so I'm no afraid of changing code if 
> needed :-)
> 
> Thanks!
> --
> Thomas Alexander Ewald
> 
> _______________________________________________
> SFLphone mailing list
> [email protected]
> http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
-- 
Emmanuel Milou
Consultant en Logiciel Libre
Savoir-Faire Linux Inc.
[email protected]
514-276-5468 poste 136

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to