\n"; $xml .="\n"; $xml .="sip.line.1.PhoneNumber = $tel\n"; $xml .="sip.line.1.DisplayName = $tel\n"; $xml .="sip.line.1.RegAddr = 192.168.1.5\n"; $xml .="sip.line.1.RegUser = $tel\n"; $xml .="sip.line.1.RegPswd = $password\n"; $xml .="sip.line.1.RegEnabled = $regEnable\n"; $xml .=""; //echo "$tel $password $ipTel"; push2phone("192.168.1.5","$ipTel",$xml); } ?>