/
3.5 Sign up - softphone applications

3.5 Sign up - softphone applications

The sign up procedure creates new accounts in both api and voipswitch schemas. The sip login can be either a phone number or a username, depending on the sign up modes – either with phone number or with username.

The procedure is executed by the EMCD only for sign up with phone number made from the RCS softphones.  If sign up is made with the use of the VUP it is the EMCI which creates new account. Please note that sign up with username initiated from the softphone uses the VUP to complete the verification procedure.

The APIs create account based on parameters received from softphone or VUP and on the settings defined in the template section in the AppSettings.config file. An example of the account creation settings is given below:

<!--Account creation settings-->
  <add key="tariff" value="1"/>
  <add key="currency" value="1"/>
  <add key="tech_prefix" value="DP:int->;TP:int->"/>
  <add key="tariff_plan" value="false"/>
  <add key="tariff_plan_id" value="1"/>
  <add key="tariff_plan_value" value="600"/>

 

TODO – dokonczy opis, tez opisac TYPE keys. Dodac o initial balance..

Remember that the EMCI and EMCD uses separate AppSettings.config files from their respective directories. Hence you have to make sure that any changes done in one of the files should be also copied to the other.

Related content