0
Answered

SIP REGISTER AND UNREGISTER

miro.suchanek 5 years ago in iRidium Script updated 5 years ago 6

Hello,


how could I use the SIP REGISTER command? I couldnt find any instruction.


Thank you


Answered

Hello Miro

  • REGISTER - register on SIP server. Assign the command to the button, Send Number: 0
  • UNREGISTER - disconnect from SIP server. Assign the command to the button, Send Number: 0

It will be available in iRidium V3, please don't use with iRidium V2

According to iRidium V2.2 ChangeLog Release it is supported from 13.2.2015, or not?


I successfully tested UNREGISTER, but REGISTER didnt work. When can I expect iridium V3?

How could I reset SIP comunication in case of the SIP module run into state REGISTRATION, without restarting of i2control?

You have to use the command "Connect" before "Register" in V2, it is not correct, so we'll fix it in V3.


You can try to use it this way:

function register () 
{
    IR.GetDevice("SIP").Connect()
    IR.GetDevice("SIP").Set("REGISTER", 0);
}

register();