Yate Community Forum
		General Category => Features requests => Topic started by: ogogon on March 03, 2016, 02:49:21 PM
		
			
			- 
				Dear colleagues, I have not quite typical question.
 
 I need to manually set the argument for SIP method "REGISTER".
 
 I use Yate for acces to multiple accounts of one large telephone operator.
 Access is via a corporate network that uses the intranet address. DNS servers in it are not available.
 Nevertheless, by their rules, the argument to the command "register" must be not IP-address, but the internal domain name of registration server. This is a condition of their authorization system and this issue is not discussed.
 
 I set IP-address of the registrar, because appeal to their DNS is not possible:
 registrar=10.XXX.YYY.ZZZ:5060 
 On this basis, Yate forms the argument of the method "REGISTER":
 REGISTER sip:[10.XXX.YYY.ZZZ:5060] SIP/2.0 
 But according to the rules I need to create completely different argument.
 REGISTER sip:ims.intranet.telephonic.com SIP/2.0 
 How can I do that?
 
 Advance grateful for the answer on the subject matter,
 Ogogon.
- 
				Hi,
 
 Try setting this in the /etc/hosts on the machine where yate is running:
 
 10.XXX.YYY.ZZZ  ims.intranet.telephonic.com
 
 and in accfile.conf
 
 registrar=ims.intranet.telephonic.com
 
 5060 is the default port, so you don't need to specify it
 
- 
				Try to set registrar address in outbound parameter and registrar to required domain:
 
 outbound=10.XXX.YYY.ZZZ:5060
 registrar=ims.intranet.telephonic.com
 
- 
				Try to set registrar address in outbound parameter and registrar to required domain:
 
 outbound=10.XXX.YYY.ZZZ:5060
 registrar=ims.intranet.telephonic.com
 
 Thank you. Your variant has successfully registered.
 
 Ogogon.