var sipHeader = "X-MY-URI: sip:"+dial_url; webphone_api.setsipheader(sipHeader); and then I have a button on my page where I can verify that the header has been set correctly, when the button is clicked it runs this: webphone_api.getsipheader("X-MY-URI",function(value){ alert("SIP HEADER SET TO: '"+value+"'"); }); Seems pretty straightforward but I keep getting a blank string from getsipheader... am I missing something? Thanks
This is happening because:
You need to register / login to be able to post in the forum
Forum home