Your old settings were for the older sip channel driver, chansip. Your are using the new pjsip driver, for which the settings are quite different and would somewhat be different for each provider as well.
E.g. the concept of type=friend, peer, etc., is no longer present in pjsip.
What is your voice service provider?
Here is a thread that might be useful:
It is very useful information. I did not think of that. Let me do more research on pjsip settings.
VOIP service provider is hoiio.com
The link to the other thread is also very useful.
Once again thank you very much for the help. Saved me much time and stress.