[asterisk-users] how can qualify=yes trigger some external event?
rjcarvalho at reit.up.pt
rjcarvalho at reit.up.pt
Fri Jun 1 09:52:42 MST 2007
Thanks to all, I guess I'll try to use the AMI with some perl
script I'll write to trigger an external event.
Other option may be using siksak or sipp with some perl script.
Wich option should be best or more straitforward?
Thanks,
Ricardo.
Quoting "Watkins, Bradley" <Bradley.Watkins at compuware.com>:
>> >
>> qualify=yes generates events that can be viewed from AMI, they are:
>> 'Event: PeerStatus'
>> 'PeerStatus: Lagged'
>>
>> 'Event: PeerStatus'
>> 'PeerStatus: Reachable'
>>
>> The other fields give the peer name and like, for more
>> details view the chan_sip.c source, the calls you are
>> interested in there are to a function called manager_event().
>>
> And so you are right, I wasn't thinking about AMI for some reason.
>
> Yes, that's an entirely plausible way to have actions performed when the
> event occurs.
>
> - Brad
>
> The contents of this e-mail are intended for the named addressee
> only. It contains information that may be confidential. Unless you
> are the named addressee or an authorized designee, you may not copy
> or use it, or disclose it to anyone else. If you received it in
> error please notify us immediately and then destroy it.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070601/3cf65fbc/attachment.htm
More information about the asterisk-users
mailing list