返回列表 發帖
回復 90# 角色

試了都係唔得!
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 89# 雯雯


    Try to add both in your context

requirecalltoken = no
calltokenoptional = 0.0.0.0/0.0.0.0

TOP

回復 92# ckleea

Please put the above settings in the following configuration file.

To fix the problem, add the following entries to /etc/asterisk/iax_general_custom.conf:

TOP

回復 93# 角色


    In my asterisk, I have only one iax.conf

TOP

回復 92# ckleea

Qnap試了都仲係唔得.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 95# 雯雯

Then not sure for your problem but you may try to copy mine
  1. [general]
  2. bindport = 4569
  3. bindadd = 0.0.0.0
  4. adsi = no
  5. authdebug = no
  6. bandwidth = medium
  7. codecpriority = reqonly
  8. delayreject = no
  9. forcejitterbuffer = no
  10. iaxcompat = no
  11. iaxmaxthreadcount = 100
  12. iaxthreadcount = 10
  13. jitterbuffer = yes
  14. maxjitterbuffer = 1000
  15. maxjitterinterps = 10
  16. maxregexpire = 60
  17. minexcessbuffer =
  18. minregexpire = 60
  19. mohinterpret = default
  20. nochecksums = no
  21. resyncthreshold = 1000
  22. trunkfreq = 20
  23. trunktimestamps = no
  24. requirecalltoken = no
  25. disallow = all
  26. allow = ulaw
  27. allow = alaw
  28. allow = g729
  29. quality = yes
  30. maxcallnumbers = 128
  31. maxcallnumbers_nonvalidated = 2048
  32. tos = ef
複製代碼

TOP

It is in the general section of iax.conf

TOP

I use the following in individual phone setting
  1. [uiphone1](!)
  2. type = friend
  3. host = dynamic
  4. qualify = yes
  5. disallow = all
  6. allow = ulaw
  7. allow = alaw
  8. allow = g729
  9. requirecalltoken = no
  10. calltokenoptional = 0.0.0.0/0.0.0.0
複製代碼
Please note I use template. You may not be able to copy to your system

Remember to reload either iax reload at command line or service asterisk restart

TOP

回復 96# ckleea

試了都係唔得.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

Please explain what is the dialplan you are using. I am not clear on the log you showed

TOP

回復 100# ckleea

個log係IP04既, 當香港條PSTN有電話打入來時, IP04會以IAX方式將call同時forward去5001 (Synology)和5003 (Qnap), 現在問題是Qnap不會響.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

那么可能你要把那些settings放入QNAP那里,还有把QNAP那个log的message显示出来,然后大家看看。

TOP

回復 102# 角色

就是把那些settings放了落Qnap, Qnap log明天補上.
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

回復 101# 雯雯


    So it is

PSTN --> IP04 ---> IAX  ---> synology and QNAP

Please try to login in IP04 and dial to QNAP. Show us the log in this dialing event to see

You need to make sure you have correct in and out settings between IP04 and synology; IP04 and QNAP; synology and QNAP

TOP

回復 104# ckleea

Qnap log:
Qnap.jpg
Welcome to my TaoBao shop: http://mandymak520.taobao.com/

TOP

返回列表