Hey marcelo ,
I'm in the middle of a trouble :D , im making an endpoint api tha takes a post , on that post a i have an an Action to Originate a call then i send the action , outside of that event i do the nami.open .
My problem is , if i leave it like that , the first request works , then the second one still runs the first action again and the second one , and so on .
If i put a nami.close in an outside function like the one you have StandardSend, i get the first action ok , but after that i get no action going to the AMI , but still the nami connects....
I know without giving you code could be difficult to get it but do you have any ideia what could be wrong ?
Thanks
I solved the problem not using the event namiConnected to trigger the call Origination action, and opening the connection with nami.open , before that.
Hey marcelo , I'm in the middle of a trouble :D , im making an endpoint api tha takes a post , on that post a i have an an Action to Originate a call then i send the action , outside of that event i do the nami.open . My problem is , if i leave it like that , the first request works , then the second one still runs the first action again and the second one , and so on . If i put a nami.close in an outside function like the one you have StandardSend, i get the first action ok , but after that i get no action going to the AMI , but still the nami connects.... I know without giving you code could be difficult to get it but do you have any ideia what could be wrong ? Thanks
I'm calling this inside the app.post