MMCT TEAM
Server IP : 2a02:4780:3:2287:0:3736:a38e:8  /  Your IP : 216.73.216.63
Web Server : LiteSpeed
System : Linux sg-nme-web2187.main-hosting.eu 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0777) :  /home/u926327694/domains/smsoft.in/public_html/demo/src/../Management/../../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/smsoft.in/public_html/demo/src/../Management/../../voice-sms-demo.php
<?php

$url = "http://180.150.248.169:8094/OBDSEA/voiceBlast";

// API payload
$data = [
    "campname" => "seqtesttttttt",
    "username" => "e.vision.infotech@gmail.com",
    "password" => "Raghu@123",
    "numbers" => "9898244359",
    "metadata" => "NA",
    "soundId" => 23153, // static sound id
    "camp_type" => 2,
    "tts_text" => "NA",
    "sch_date" => "NA",
    "valid_audio" => "235",
    "invalid_audio" => "NA",
    "no_Response_audio" => "NA",
    "no_of_retry" => "2",
    "waiting_time" => "4",
    "valid_option" => "1|2|3|4",
    "unique_name" => "test0102",
    "retry_on" => "YES",
    "dnid_number" => "NA",
    "max_retry" => 2,
    "retry_time" => "00:00:30",
    "retry_hangup_cause" => "NO ANSWER,BUSY",
    "var1" => "100",
    "var2" => "10",
    "var3" => "DADA500",
    "var4" => "10",
    "language" => "1",
    "maxcallTimeSec" => 30
];

// Initialize cURL
$ch = curl_init($url);

// Set options
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Content-Type: application/json'
]);

// Execute request
$response = curl_exec($ch);

// Error handling
if (curl_errno($ch)) {
    echo 'Curl Error: ' . curl_error($ch);
} else {
    echo "Response:\n";
    echo $response;
}

// Close connection
curl_close($ch);

MMCT - 2023