Unfortunately you can never guarentee that the far end has range atleast once... Session progress (on any network topology sip, h323, ss7 or even PRI) does not guarantee the far end has rang only that the switch you sent the call to has indicated that it is attempting to ring the far end... Then on top of that add any number of different user devices (softphones, hardphones, analog cordless phones whatever) who knows when they'll actually start ringing... I have had digital cordless phones that would never ring on the first ring pulse on an analog line while the old school 500 set next to them was just ringing away... All you can do is take your best guess at it... ie: wait 4 or 5 seconds after session progress then hope that was 1 ring due to typical ring cycle length K On 5/10/10 4:34 PM, "Sergey Okhapkin" <sos@sokhapkin.dyndns.org> wrote:
Unfortunately this is a wrong assumption. You can get dead air in early media and SIP error after that.
On Monday 10 May 2010, Anthony Minessale wrote:
as soon as you get the first early media signal, that is how you know.
On Mon, May 10, 2010 at 4:03 PM, Neil Patel <neilp@cs.stanford.edu> wrote:
I want to initiate a missed call from FS (via lua script). Is there anything in the early media I can check to see that the call has rung at the endpoint at least once?
Thanks, Neil
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org