Hi,
From the RestComm doc to make a new call I must POST to the "Calls" resource. After some attempts (To and From must be numbers) I have managed to make the call succsefull returning 200OK, but the is no call in the actual phones. In addition, I don't understand the service semantic well, since the To and From parameters must be numbers. I expected theses parameters to allow SIP client ids, or at least SIP URIs. The mandatory "Url" parameter is not inmediatelly clear to me, what is the intended behaviour of this service?. From my experience using other Telephony APIs, I expected the From phone to ring inmediatelly, and once the call is picked up, the To phone starting to ring (other systems allows auto-origination, but that is not my expectation with standard SIP user agents).
In the end I added some numbers with simple scripts. The number 600 has a simple script dialing to Alice, while 500 dial Bob.
Find below the response from RestComm (the call is kept in Queue state for some reason):
<RestcommResponse> <Call><Sid>CA3035142be2ac4bc1b9b00f55b165cc0d
</Sid> <DateCreated>2014-06-04T08:32:28.279-04:00
</DateCreated> <DateUpdated>2014-06-04T08:32:28.288-04:00
</DateUpdated> <ParentCallSid />
<AccountSid>ACae6e420f425248d6a26948c17a9e2acf
</AccountSid> <PhoneNumberSid />
<StartTime>2014-06-04T08:32:28.288-04:00
</StartTime> <EndTime />
<Duration />
<AnsweredBy />
<ApiVersion></ApiVersion> <ForwardedFrom />
<CallerName />
<Uri>/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Calls/CA3035142be2ac4bc1b9b00f55b165cc0d
</Uri> <SubresourceUris><Notifications>/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Calls/CA3035142be2ac4bc1b9b00f55b165cc0d/Notifications
</Notifications> <Recordings>/restcomm/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Calls/CA3035142be2ac4bc1b9b00f55b165cc0d/Recordings
</Recordings> </SubresourceUris> </Call> </RestcommResponse>
Someone has any ideas on this subject? Am i missing something?
THanks in advance.