Am 14.04.2010 22:49, schrieb Alexandre Savard: > Hi, > > I'm using pjsip-ua Client Registration API to send register request. As I understand, PJSIP will send request to url specified by srv_url in pjsip_regc_init. This srv_url will then appears in the request header. > > I would like to specify a SIP Domain name different than server machine url. > > I tried to use the route header, initializing srv_url with domain name and adding the actual machine url in route_set, obviously without any success. > > Is there any way to send a request to a specific Domain using the Client Registration API or do I need to use the low-level API to achieve it. I use PJSUA API without problems, thus it should be possible to do it from lower level API too. In pjsua_acc_cfg I set the domain in reg_uri (eg sip:username at domain.com) and then I set the proxy, e.g.: sip:sip01.domain.com;lr. Make sure you add loose routing to the proxy: ";lr" regards klaus