Hi ,
I would like to get help from u all.I have used AMI for calling this is my extensions.conf file
[test]
exten => 1003, 1, Answer()
exten => 1003, n, Playback(hello-world)
exten => 1003, n, Hangup()
this is my code for the originate action from AMI
OriginateAction originateAction
ManagerResponse originateResponse
originateAction = new OriginateAction()
originateAction.setCallerId(“Azhar”)
originateAction.setChannel(“SIP/854544141@provider1”)
originateAction.setContext(“Internaltesting”)
originateAction.setExten(“s”);
originateAction.setAsync(true);
originateAction.setPriority(new Integer(1));
originateAction.setTimeout(new Integer(3000000));
originateResponse=managerConnection2.sendAction(originateAction,3000000);
The calls are getting delivered but if i used it for calling multiple numbers.Some time it works fine.
Most often it call one number and show the following error for the remaining.
Channel SIP/ was never answered.
How can i solve this problem