Hi, The address the sip message is sent to is automatically processed by the SIP library we are using, PJSIP, from the definition of the sip message itself. You can change the url to appear in the TO header of the SIP Register request by editing the third and fourth argument (from and to header resp.) of the pjsip_regc_init functin called in SIPVoIPLink::sendRegister (AccountID id) (in file sflphone/sflphone-common/src/sip/sipvoiplink.cpp).
For Registration requests, both the to and from headers are the same. Let me know if it works for you. Thanks! Alexandre > ----- Mail Original ----- > De: "Erik Johnson" <[email protected]> > À: [email protected] > Envoyé: Vendredi 22 Octobre 2010 17h41:45 GMT -05:00 USA/Canada - États de > l'Est > Objet: [SFLphone] Force specific domain in request URI > > > I would like to modify the sflphone source code to allow me to register with > a different domain in the SIP request URI > than the one entered in the > "Hostname" field in the GUI, but I have been unable to figure out quite how > registrations > are handled. Can someone point me in the right direction? _______________________________________________ SFLphone mailing list [email protected] http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
