Home Forums Voip Optimisation Custom Features Reply To: Custom Features

Nishit Shan
Participant
Post count: 942

I used both of the bellow requests to search DID number on Telinta API but getting no changes in response. I got all DID numbers from Telinta which are assign to user. And I also noticed if I search numbers which are not in inventory of User then it also gives response with all inventory numbers from user.
1)
$params = Array
(
[i_customer] => 277058
[limit] => 10
[number] => 1______7777
)

2)
$params = Array
(
[i_customer] => 277058
[limit] => 10
[number] => 1%%%%%%7777
)

And here is my soap request structure in PHP.
try {
$soap = new SoapClient($this->getWsdlBase() . ‘/DIDAdminService.wsdl’);
$auth = new \stdClass();
$auth->session_id = $session_id;
$auth_header = new SoapHeader(‘ns1’, ‘auth_info’, $auth);
$soap->__setSoapHeaders($auth_header);
$DIDNumber = $soap->get_customer_numbers($params);
} catch (Exception $e) {
// echo $e->getMessage();
}