简体   繁体   中英

get status of SIP invite of Freeswitch

I am new to Freeswitch. I have successfully connected two FSs. First FS redirects to second FS. Now I would like to get the information about the SIP invite; whether it is received at 2nd FS or not programmatically, when call is made to 1st FS. I am open to scripting option as well apart from configuring the xml files.

You can write script which will listen for channel states on ESL interface of second Freeswitch, when call will hit extension of it you should get CHANNEL_CREATE event:

https://wiki.freeswitch.org/wiki/Event_List#Channel_events

More about ESL:

https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM