angularjs - Plivo events not registering -


i created sample application using plivo websdk in angular js through can recieve call on web browser. initate call using node server works fine.

when integrated sample code project connecting plivo not not registering events whenever call triggered not performing task.

this project integrated plivo logs.events not registered.it stops after printing os version , "plivo client connected.." , ends.enter image description here

while in sample app prints following logs. enter image description here enter image description here enter image description here

i not able figureout missing becoz of events not getting registered,what can possible scenario.can please help.thanks

i found solution,actually in sample app passing data like:

{ "plivo_sip_credentials":{                             "username":"abc",                             "password":"sdfg345"                         } } 

but in actual application did silly mistake , directly passing object.plivo_sip_credentials like:

{    "username":"abc",    "password":"sdfg345" } 

coz of connecting not registring events.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -