Fixed bugs in sdk and sample app, that was causing incorrect behaviour during call initialisation.