Thursday, March 10, 2011

Night service feature configuration

Night service bell feature activated on a phone means that if that phone is called in a preconfigured interval of time, another phone will be notified of this. This are the lines of configuration in cme:

night-service code *12345           //a code user to activate/deactivate night service
night-service day Mon 18:00 09:00      //interval of time when night service is active

ephone-dn 1
night-service bell              //the line to monitor

ephone 2
night-service bell             //the phone to notify

If we want to also callforward the call, not just notify:
ephone-dn 1
call-forward night-service other-phone-dn

Friday, March 4, 2011

CME sip phone registration how to


The configuration below is running on CME and it was tested with X-lite sip phone.

voice service voip
   allow-connections sip to sip //Allows SIP phones to call other SIP phones
   registrar server

voice register global
    mode cme
    source-address port 5060 //cme ip and default sip port
    authenticate register
    tftp-path flash:
    create profile

voice register dn  1
    number 4001
    name SIPtest

voice register pool  1
    id mac 000A.E4C4.E777 //phone mac
    number 1 dn 1
    username 4001 password test //sip username and password
    codec g711ulaw

X-lite phone configuration is below. Pay attention that authentication username and registration number must be the same, eg 4001.

Debug commands i used on router are:
debug voice register events and debug voice register errors