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


    是否 package 有問題?

TOP

回復 89# 雯雯


    Try to add both in your context

requirecalltoken = no
calltokenoptional = 0.0.0.0/0.0.0.0

TOP

回復 93# 角色


    In my asterisk, I have only one iax.conf

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

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

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

try something like this
  1. [6002]
  2. type = friend
  3. username = 6002
  4. host = dynamic
  5. qualify = yes
  6. secret = password
  7. disallow = all
  8. allow = ulaw
  9. allow = alaw
  10. allow = g729
  11. requirecalltoken = no
  12. calltokenoptional = 0.0.0.0/0.0.0.0
複製代碼

TOP

返回列表