[Freeswitch-users] how do I detect a call has rung once?

Neil Patel neilp at cs.stanford.edu
Mon May 10 18:35:42 PDT 2010


What's the channel variable I monitor for? Is it good practice to poll for
it, or is there another option? Also, does 180 and/or 183 come back for
non-sip calls (I'm dialing out over PRI/openzap).

Thanks,
Neil

On Mon, May 10, 2010 at 2:49 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> Unfortunately it's not an assumption.
>
> You have to consider that things are sane.  If they are.  When you place a
> call and you get either a 180 or 183 it denotes that ringing has been
> indicated by the far end.  If you want to get into the gory details they map
> over to a very specific set of ISDN signals that indicate that the phone has
> rung or not both with and without media.  In either case both with and
> without audio if FreeSWITCH gets the early media indication it means someone
> has told us there is ringing.
>
> If things are not sane, you cannot do anything but find another route.
>
>
>
>
>
> On Mon, May 10, 2010 at 4:34 PM, Sergey Okhapkin <sos at 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100510/048e1b04/attachment-0001.html 


More information about the FreeSWITCH-users mailing list