[Spce-user] API: how to get force_inbound_calls_to_peer subscribers

Ml Ml mliebherr99 at googlemail.com
Fri Jul 8 09:54:38 EDT 2022


Hello,

thanks. However, i dont have those files. We run Version 6.5.1.

#:/usr/share/perl5/NGCP/BulkProcessor/Projects# ls
Disaster  Massive  Migration  t

Do i have to install:
 https://github.com/sipwise/bulk-processor/tree/master/lib/NGCP/BulkProcessor

or upgrade or something?

Cheers,
Michael

On Tue, Jun 28, 2022 at 11:25 AM Rene Krenn <rkrenn at sipwise.com> wrote:
>
> Hi, the api does not support that explicit type of filtering for
> preferences, would be way to slow.
>
> Please use the Subcriber&Contract exporter instead:
>
> perl /usr/share/perl5/NGCP/BulkProcessor/Projects/ETL/Customer/process.pl
>
> you can control waht to include in the export in the yml files
>
> /usr/share/perl5/NGCP/BulkProcessor/Projects/ETL/Customer/load.yml
>
> You can export a sqlite db (which you can easily filter for your preference
> values), which you can define via
>
> /usr/share/perl5/NGCP/BulkProcessor/Projects/ETL/Customer/tabular.yml
>
> Or you can export a stream of json graph for eg. apache kafka, which you can
> control via
>
> /usr/share/perl5/NGCP/BulkProcessor/Projects/ETL/Customer/graph.yml
>
> br, rene
>
> -----Ursprüngliche Nachricht-----
> Von: Ml Ml via Spce-user [mailto:spce-user at lists.sipwise.com]
> Gesendet: Dienstag, 28. Juni 2022 11:08
> An: spce-user at lists.sipwise.com
> Betreff: [Spce-user] API: how to get force_inbound_calls_to_peer subscribers
>
> Hello,
> how can i get all subscribers which have
>
> force_inbound_calls_to_peer=force?
>
> I tried:HTTP::Request->new('GET',
> "$sipwise_uri/api/subscriberpreferences/?force_inbound_calls_to_peer=force")
> ;
>
> But it does not return the expected results. Should my GET URL be different?
>
> However, this search example seems to work:
>  HTTP::Request->new('GET', "$sipwise_uri/api/customers/?external_id=$no");
>
> Any idea what I am doing wrong?
>
> Thanks,
> Michael
>
> --
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>




More information about the Spce-user mailing list