Mitel SIP-phone XML API configuration server on Python/Flask and registration on Asterisk PBX
Agenda: Configuration server SIP-phones XML configuration Flask XML server Asterisk SIP extensions configuration 0. Configuration server Setting up configuration server for SIP-phones was described on previous post: Configuration server We will use the following configuration file startup.cfg : # Configuration server download protocol:HTTP http server:192.168.5.22 #can be IP or FQDN http path:aastra68xxi http port:8888 firmware server: "http://192.168.5.22:8888/firmware" # SIP server sip transport protocol:1 #UDP(1),TCP(2),TLS(4) sip srtp mode:0 #0(SRTP disabled),1(SRTP preferred),2(SRTP only) sip line1 user name: EmergencyCallsOnly sip proxy ip: 192.168.5.22 sip proxy port: 5060 sip registrar ip: 192.168.5.22 sip registrar port: 5060 # XML server xml application uri: "http://192.168.5.22:8888" # Time settings time server disabled:0 #server enabled(0), server disabled(1) time server1: de.pool.ntp.org time zone name: Custom #Required setting if ...