Restrict Access to SIP Devices

Hi lovely people,
Is there any way to restrict access to SIP devices or to overwrite SIP Device Caller ID?
I don’t want users to be able to change their caller ID, this is because of FCC’s new regulations on calls to the USA. Some are getting creative with the Caller ID and misusing that feature.
Thanks in advance for your suggestions.
David

Hello @david.bohorquez ,
It maybe possible by slight customization.
Thanks.

Hi @palak,
thanks for your answer.
Slight customization like change code or DB?

Hello @david.bohorquez ,
We have Force Caller ID in customer edit.
Using this we can able to override caller-id for customerwise.
https://docs.astppbilling.org/itplmars/v5/customer-management-4196777.html
Thanks.

Thank you @palak I’ll try it.
Good day

1 Like

Hi lovely people,

I found what I need, thanks to @palak for the idea.

I found the file /opt/ASTPP/web_interface/astpp/application/modules/user/libraries/user_form.php, there, starting on line 2089 is the definition of the SIP Device form that the user sees, so I changed from:

            array(
                gettext('Caller Name'),
                'INPUT',
                array(
                    'name' => 'effective_caller_id_name',
                    'size' => '20',
                    'class' => "text field medium"
                ),
                '',
                'tOOL TIP',
                'Please Enter account number'
            ),
            array(
                gettext('Caller Number'),
                'INPUT',
                array(
                    'name' => 'effective_caller_id_number',
                    'size' => '20',
                    'class' => "text field medium"
                ),
                '',
                'tOOL TIP',
                'Please Enter account number'
            ),

To:

            array(
                gettext('Caller Name'),
                'INPUT',
                array(
                    'name' => 'effective_caller_id_name',
                    'size' => '20',
                    'class' => "text field medium",
                    'disabled' => ""
                ),
                '',
                'tOOL TIP',
                'Please Enter account number'
            ),
            array(
                gettext('Caller Number'),
                'INPUT',
                array(
                    'name' => 'effective_caller_id_number',
                    'size' => '20',
                    'class' => "text field medium",
                    'disabled' => ""
                ),
                '',
                'tOOL TIP',
                'Please Enter account number'
            ),

Now the user can’t edit the Caller ID number or the Caller ID Name, but I can do it from the admin user. Works perfectly.

Thanks for this awesome software.

PS: I’m still using 4.0.1 community, maybe it’s different in other versions.

Hello david, do you let the customer register as many extensions as he wants? Don’t you run the risk that some customers discover the extension that is already created and keep calling that extension of another customer? Thanks

Hi @dbbrito,
Well, I must confess that I haven’t thought about it, anyway, SIP devices have 10 digits long by default, good luck guessing them and Local calls are not allowed by default.
Also, I didn’t know that you can restrict SIP devices creation, is that possible? if so, please tell me how.
Regards.

I couldn’t limit the creation of an extension to 10 digits, it accepts creating with any number of digits in version 6. In your version, do you have any configuration to define this number of digits? I’m also trying to disable the create button, so that the user doesn’t create more extensions. I use the same file you mentioned to disable the exchange of email by the user. Regards