Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
468 views
in Technique[技术] by (71.8m points)

Freeswitch 如何在主叫挂断后检测到 挂断状态 或者事件?

请教个问题

Freeswitch内呼叫命令

originate {execute_on_answer='lua my_script.lua',hangup_after_bridge=true,origination_caller_id_number=12345}sofia/gateway/gw43/54321 &echo

这样执行后,如果被叫 挂断了,脚本内 session:ready()还是true,如何检测下 被叫挂断呢,能让脚本感知到?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...