-
Notifications
You must be signed in to change notification settings - Fork 8
/
Iax2.php
71 lines (57 loc) · 1.31 KB
/
Iax2.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
namespace Didww\Item\Configuration;
class Iax2 extends Base
{
public function getDst()
{
return $this->attributes['dst'];
}
public function getHost()
{
return $this->attributes['host'];
}
public function getPort()
{
return $this->attributes['port'];
}
public function getCodecIds()
{
return $this->attributes['codec_ids'];
}
public function getAuthUser()
{
return $this->attributes['auth_user'];
}
public function getAuthPassword()
{
return $this->attributes['auth_password'];
}
public function setDst($newDst)
{
$this->attributes['dst'] = $newDst;
}
public function setHost($newHost)
{
$this->attributes['host'] = $newHost;
}
public function setPort($newPort)
{
$this->attributes['port'] = $newPort;
}
public function setCodecIds($codecIds)
{
$this->attributes['codec_ids'] = $codecIds;
}
public function setAuthUser($newAuthUser)
{
$this->attributes['auth_user'] = $newAuthUser;
}
public function setAuthPassword($newAuthPassword)
{
$this->attributes['auth_password'] = $newAuthPassword;
}
protected function getType()
{
return 'iax2_configurations';
}
}