public function actionCall1() { try { $api = new PhpSIP('202.153.128.34'); // IP we will bind to $api->setMethod('MESSAGE'); $api->setFrom('sip:peterjkambey@voiprakyat.or.id'); $api->setUri('sip:sicc1@voiprakyat.or.id'); $api->setBody('Hi, ....'); $res = $api->send(); echo "res1: {$res}\n"; } catch (Exception $e) { echo $e->getMessage() . "\n"; } }