How to set Asterisk with Porta Switch using ip or digest authentication
A) IP based authentication.
Please create an account ID in Porta Billing with the IP address of the Asterisk and set voip password as "cisco".
Please set the User-Agent string parameter in the Asterisk configuration to the word "Asterisk PBX ".

B) Digest (username and password) authentication.
Please create an account id just like for any other SIP device in PortaBilling.
In the Asterisk PBX, please specify username and password.
For digest authorization, please change the user agent string to 'DigestPBX'. PortaSIP does digest authentication when User-Agent is "DigestPBX".
The rest of the configuration is standard.
Please  refer to  for support.  Please setup Asterisk as per Asterisk documentation.