null, 'callerid' => null, 'allowguest' => 'no', 'realm' => null, 'bindport' => '5060', 'bindaddr' => '0.0.0.0', 'tos_sip' => 'cs0', 'tos_audio' => 'cs1', 'tos_video' => 'cs0', 'maxexpiry' => '1200', 'minexpiry' => '60', 'sipdebug' => 'no', 'relaxdtmf' => 'yes', 'notifymimetype' => null, 'buggymwi' => null, 'vmexten' => null, 'mohinterpret' => null, 'mohsuggest' => null, 'language' => null, 'progressinband' => null, 'useragent' => null, 'promiscredir' => null, 'userqphone' => null, 'dtmfmode' => null, 'compactheaders' => null, 'videosupport' => null, 'alwaysauthreject' => null, 'g726nonstandard' => null, 'matchexterniplocally' => null, 'regcontext' => null, 'rtpkeepalive' => null, 'recordhistory' => null, 'dumphistory' => null, 'trustrpid' => null, 'sendrpid' => null, 'allowsubscribe' => null, 'subscribecontext' => null, 'notifyringing' => null, 'notifyhold' => null, 'limitonpeers' => null, 't38pt_udptl' => null, 'externip' => null, 'externhost' => null, 'localnet' => null, 'extranet' => null, 'nat' => null, 'canreinvite' => null, 'directrtpsetup' => null, 'rtcachefriends' => null, 'rtsavesysname' => null, 'rtupdate' => null, 'rtautoclear' => null, 'ignoreregexpire' => null, 'domain' => null, 'autodomain' => null, 'allowexternaldomains' => null, 'fromdomain' => null, 'jbenable' => null, 'jbforce' => null, 'jbmaxsize' => null, 'jbresyncthreshold' => null, 'jbimpl' => null, 'jblog' => null, 'auth' => null, ]; if ($acao == "salva") { foreach ($_POST as $k => $v) { if (array_key_exists($k, $fields) && $k != 'id') { $fields[$k] = trim($v) ?? $fields[$k]; } } $where = " id = {$id} and org_id = {$org_id};"; UpdateDb($dbcon, 'pbx_sip_general', $fields, $where); gera_arquivos($dbcon, 'SIP_GENERAL'); echo ''; } $query = "SELECT * FROM pbx_sip_general where org_id = {$org_id} limit 1"; $result = pg_query($dbcon, $query); while ($dados = pg_fetch_array($result)) { ?>
" size="10" maxlength="20" />
CONFIGURAÇÃO GLOBAL DO SIP
Aceita Convidados: /> Sim /> Não
Interface de Rede : " size="15" maxlength="20" />
Porta: " size="10" maxlength="6" />
tos_sip:
tos_audio:
tos_video:
Tempo maximo para expirar: " size="10" maxlength="6" />
Tempo minimo para expirar: " size="10" maxlength="10" />
Debug: /> Sim /> Não
relaxdtmf: /> Sim /> Não
Ip Público: " size="35" maxlength="120" />
Host: " size="35" maxlength="120" />
Redes:
Redes Permitidas para Autenticação de Ramais: