Forum Replies Created

Viewing 15 posts - 496 through 510 (of 1,282 total)
  • Author
    Posts
  • Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11597

    Hello Nishit thanks for the udpates in #11596 ,

    for 1) point how we make that load normal with no big delays? do we need increase server resources?
    for 5) will request video for that.

    will check othre points and 6) once complete.

    for all numbers loading issues #11591 – could you please clarify what are the Deactivated numbers? are these : Disconnected Numbers? Inventory? Did? there should be only one request for clients library. Please let us know.

    For xlsx file : yes what ever client select in the Return Values that should be in the download file.

    For #11577: I think we should do a “save data of first page data into session and then we can use it as the first page.”

    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11595

    All good thanks Nishit will check with system team regarding resources increase.
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11593

    any updates for #11573 and #11577.

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11592

    Hello NIshit thank you for your updates, what do you think can be done to speed up numbers API load? Have you checked the code and do you think we should increase the server resources?
    please advice
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11590

    Hello Nishit thank you for your updates, in #11588 and #11589,
    we have also got your lost post with your code below:
    ==================================Nishit’s Message Starts ===================================
    Make some changes for to get bulk data but i can reach up to 700 records at a time and it also take time to generate the xlsx file. But after amount I got “gateway time out” error.

    And this is my request method to get all DID numbers from API
    $params = array(
    “i_customer” => i_customer,
    ‘get_total’=> 1,
    “check_usage”=>1,
    “with_extended_info” => 1,
    “limit” => 50000,
    );

    And My curl request is as bellow

    $curl = curl_init();
    $searchArray = array(‘auth_info’ => ‘{“session_id”:”‘ . $session_id . ‘”}’, ‘params’ => json_encode($params));

    curl_setopt_array($curl, array(
    CURLOPT_URL => ‘https://mybilling.nanotelecom.org/rest/DID/get_number_list’,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => ”,
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => ‘POST’,
    CURLOPT_POSTFIELDS => $searchArray
    ));
    $response = curl_exec($curl);
    curl_close($curl);
    $DIDNumber = json_decode($response);

    return $DIDNumber;

    and for above request i got this error :

    {“faultcode”:”internal_server_error”,”faultstring”:”Internal server error”}

    =========================Nishit’s Message Ends ================================

    and we have addressed your code to the senior developer and here is what they responded to you.

    =========================Message from the senior developer starts ========================

    You cannot make it work by increasing limits, you should use a combination of “limit” and “offset” parameters in order to fetch small batches of numbers and then merge results. You can use the attached script as an example of the idea – it receives 500 numbers (0-499), then 500 next numbers (500-999), then 500 next numbers (1000-1499) and repeats it until all numbers are received.

    —————-CODE SAMPLE BELOW:

    #!/usr/bin/php
    i_customer,
    “get_total”=> 1,
    “check_usage”=>1,
    “with_extended_info” => 1,
    “limit” => 500,
    “offset” => 0,
    );

    $curl = curl_init();
    curl_setopt_array($curl, array(
    CURLOPT_URL => ‘https://mybilling.nanotelecom.org/rest/DID/get_number_list’,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => ”,
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => ‘POST’,
    ));

    $all_numbers = array();

    while (true) {
    echo(“Fetching records from ” . $params[“offset”] . ” to ” . $params[“offset”] + $params[“limit”] . “\n”);
    curl_setopt($curl, CURLOPT_POSTFIELDS, array(
    “auth_info” => $auth_info,
    “params” => json_encode($params),
    ));
    $response = curl_exec($curl);
    $response = json_decode($response);

    if ($response->number_list) {
    $all_numbers = array_merge($all_numbers, $response->number_list);
    $params[“offset”] = $params[“offset”] + count($response->number_list);
    if (count($response->number_list) < $params["limit"]) { break; } } else { break; } } curl_close($curl); echo("Total number of records: " . count($all_numbers) . "\n"); ?>

    Please let us know how it works
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11587

    Hello Nishit thank you for your updates we have seen your 11583 reply on emails but surprisingly we could not find it on the site ;( Did you remove your post from here? Anyway we have contacted Telinta team and they said that there is a limited parameters for receiving numbers via API but they have also asked us to send you their guide file so you can find a work around ways to make that rolling.

    Please see they respond below:
    https://webmaklay.com/wp-content/uploads/2023/12/Telinta.jpg
    https://prev.portaone.com/docs/pb/mr80/PortaBilling_API_MR80.html

    How is al going for #11573 and #11577.
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11582

    Sure thanks Nishit let us do as you said!
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11580

    Hello Nishit thanks for more info, from your #11579 do you think we will need to increase a system processing capacity?
    Please let us know what do you think.
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11577

    Hello Nishit thank you for your updates, hope everything is going well,
    for your #11570 – we have contacted site admins and Telinta so they can check this issue and they tried to search for numbers and could download thousands of numbers instantly. Would you please check it again and if the error still persist could you send us your codes and responds details so we will investigate.

    Also in addition to #11573 when we logged in and visited members home page this member portal page takes time to load so then clicked on TN settings page then when we click back to portal button and the members portal page loadining slow again. We have spoken with some developers and they say that you can do a session load so when customer visited any page and then click back to members portal the page loads instantly and uses already preloaded data so we do not need to wait everytime we back to members home page. Could you please do it?

    for #11573 clause 1) issue please try these credentials for your investigation: User Great Number inc and Pass: testtest1234

    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11575

    Thanks Nishit, as per #11570 will try to check with team and get back to you.
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11573

    Hello Nishit thanks for your update we have sent your progress to the site admins and they checked most of it and here is what they say below:

    1) When site user logining in to the portal https://portal.voip.us/login it takes very long time to login could you please check what’s going on?

    2) Would you please position file download button in the corner under the numbers please see screen shot below: https://webmaklay.com/wp-content/uploads/2023/12/Fle-downlaod.jpg, also when we click download file button for some reason an other blank page opened and then we looking at that blank page till the file being generated. This way is not professional could you please make it right so when ppl hit file download download our loading bar appears (without leaving the page or blank pages).

    3) When file generated and downloaded please change “Vendor Name” column to “Network” also in the file first row with Numbers can be removed there is no need in that as excel files already got numeric rows.

    4) We tried to activate number 3039001111, we clicked number activate and popup window shown – this is good but on that pop up please change the text “Are you sure you would like to activate the number XXXXXXXXX?” On the same popup please make “Confirm” button green color and “Cancel” red color.

    5) From clause 4 we clicked activate number and we saw a error message with try again but when we checked email the activation was successful. Also we checked in Telinta account has been created which means activation was successful but why we saw a error message then? This causes big problems the number activated but on Voip number showing as not activated and customers still can this number as ready to be activated on voip. Can you please fix that.

    6) TN Settings page functional is much better, numbers loading fast and we can auto search and autosuggest this is cool but the page design is very poor. I think when customers visit TN Settings page they should come on the page with search and then when customer picked the number the number managing content appears, Mark can you please suggest something to your developer.

    For clause 6 please try to do the following: https://webmaklay.com/wp-content/uploads/2023/12/TNSet.jpg
    Please make section 1 loading at first when customers click on TN Settings page please make a frame around the the form and when customer finds a number and click manage section 2 open as fade-in. Please align the General, Subscriber and Service words in the tabs as they look very close to the green area. this should work.

    Overall Nishit all looks like we finishing this job once this dune will try to send this job to finance and hopefully we will start the other job.

    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11569

    Hi Nishit we are just about to close here, lucky i checked our emails, thanks for #11567 and your question which is good one. Yes i think we will need to do that download button for this work and if large data selected we may need to notify user to download such a big data in two or three sessions or allow customers to select amount of numbers to download with a message that large data will take time to download.

    An other option if the large data selected the file will be generated and link emailed to this customer so they not wating on the web. As you see there are some options for that but no meter what you will decide to do we need to finish this work and on the next phase we will create some site admin modules controls where site admin can manage some of the parameters that will be allowed or restricted for voip customers.

    Also do not forget if customers when customer submit a number search and then decided to download this search results to the file then export file should contain such data which was selected in Return Values window.

    For example if customer run their search and in Return Values select TN Status and State options and then hid download button then export file should contain TN Status and States data in the file.

    Hope it helps and get back to you afer sometime.
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11566

    Hello Nishit thank you for this good news, will check it now, please let us know if anything left from Custom Features job that we need to finish?

    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11564

    Hello Nishit thats great will let the site admin know and check if any comments on that.
    Good work man will wait till all done to run full test.
    Cheers

    Mark Hanson
    Keymaster
    Post count: 1302
    in reply to: Custom Features #11561

    Hello Nishit, how was your weekend are we finishing the job any soon?

Viewing 15 posts - 496 through 510 (of 1,282 total)