2014-02-18 54 views
2

我正在使用mod_xml_curl在FreeSwitch服務器上註冊SIP用戶。我可以從My-SQL數據庫獲取用戶信息,現在我遇到了FreeSwitch dialplan問題。當我打電話給另一個註冊用戶時,它會發出hold_music聲音。FreeSwitch - 使用mod_xml_curl撥號計劃

它不會打電話給其他註冊用戶。

Case 1 
* No mod_xml_curl for directory 
* No mod_xml_curl for dialplan 
Result - It works fine, but I cannot use user information in My-SQL database. 

Case 2 
* using mod_xml_curl for directory 
* No mod_xml_curl for Dialplan 
Result - Registeration is working using My-SQL database, but call is failed. 

Case 3 
* using mod_xml_curl for directory 
* using mod_xml_curl for Dialplan 
Result - Registeration is working using My-SQL database, but call makes hold_music sound. 

當我使用xml_curl for dialplan時是否有任何信息?

謝謝。

回答

-1

當使用xml_curl作爲撥號方案時,你要爲撥號方案返回什麼?如果您要返回播放音樂的撥號方案,則可以使用。

您可以使用命令xml_curl debug_on在freeswitch中啓用調試,以查看Web服務器返回的dialplan。