Skip to content

Commit 9487c51

Browse files
committed
Changed put request to sip peer tn instead of tns
1 parent 064e1d4 commit 9487c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function set_tn_options($data) {
200200

201201
if(!($this->parent->parent instanceof Sippeer))
202202
throw new \Exception("You should get TN from sippeer");
203-
parent::put($this->get_id(), "SipPeerTelephoneNumbers", $data->to_array());
203+
parent::put($this->get_id(), "SipPeerTelephoneNumber", $data->to_array());
204204
}
205205

206206
public function ratecenter() {

0 commit comments

Comments
 (0)