After few days of messing around with the configuration I finally managed to connect cp-7821 to asterisk pbx, however, I can't seem to get it to connect to 2 different sip providers, since the 7821 has 2 lines technically this should be possible, but...