copied sample code from pjsip

This is not working!!!