[Spce-user] No check for forwarded cli

Tóth Csaba tsabi at tsabi.hu
Sat Feb 28 12:06:36 EST 2015


Dear SipWise Team,

i had a problem, when i wanted to make a call forward from a PBX the
SPCE denied the call, because the forwarder's cli was not in the
allowed_clis. But i don't wanted to empty that list, because it is a
good check for notmal calls, i just wanted to disable it only for the
forwarded call processing.

So i made a new option (below the sql insert) and modified the
proxy.cfg. Please find attached the patch. I would really appreciate if
you review it!

If you feel it is a good feature, i will be glad to provide my
contribution for this project. :)

I use the 3.7.1 version.

BR,
Csaba



INSERT INTO `provisioning`.`voip_preferences`
(`voip_preference_groups_id`, `attribute`, `label`, `type`, `max_occur`,
`usr_pref`, `prof_pref`, `dom_pref`, `peer_pref`, `contract_pref`,
`internal`, `expose_to_customer`, `data_type`, `read_only`,
`description`) VALUES ('3', 'no_check_forward_cli', 'Do not check
forwarders cli', '1', '1', '1', '0', '0', '0', '0', '0', '0', 'boolean',
'0', 'Enable this to do not check the forwarders cli against the
allowed_clis during a call forwarding.');
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_check_forward_cli.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20150228/1a2159b7/attachment.patch>


More information about the Spce-user mailing list