返回列表 發帖
Are you talking the environment in same LAN ?

For me, IAX in same lan works fine but I cannot see the exact CALLER ID and the extension number of the real caller except the registered one for connection.

In IP01, when typing iax2 show registry and iax2 show peers, I can see all registered IAX peers details.  However, when in Asterisk 1.8 CLI, iax2 show registry shows nothing but it can still operate normally.

My impression is that IP01 GUI under 1.4 and Asterisk 1.8 APL connection is not perfect.
Most probably, Asterisk 1.8 still have some BUGS here and there.  Sometimes, we may encounter strange and surprise.

TOP

回復 4# 角色


   
But your previous tutorial did suggest using "friend" for IAX connection and said it can let us see the caller ID at both sides.
  1. Interconnection Between TW Asterisk Server and SZ Asterisk Server using IAX
  2. 下面用IAX,雙方都可以顯示對方電話號碼。

  3. TW Asterisk Server

  4. iax.conf

  5. [general]
  6. bindport=4569
  7. bandwidth=high
  8. jitterbuffer=yes
  9. forcejitterbuffer=yes
  10. maxjitterbuffer=1000
  11. maxjitterinterps=10
  12. resyncthreshold=1000
  13. tos=ef
  14. autokill=yes

  15. [trunk-tw-sz]
  16. type=friend
  17. host=sz.3322.org
  18. trunk=yes
  19. disallow=all
  20. allow=alaw
  21. qualify=yes
  22. context=from-sz


  23. extensions.conf

  24. exten => _20XX,1,Dial(IAX2/trunk-tw-sz/${EXTEN},,r)   ;Using IAX2

  25. [from-sz]
  26. exten => _12XX,1,Dial(SIP/${EXTEN},,r)

  27. SZ Asterisk Server

  28. iax.conf

  29. [general]
  30. bindport=4569
  31. bandwidth=high
  32. jitterbuffer=yes
  33. forcejitterbuffer=yes
  34. maxjitterbuffer=1000
  35. maxjitterinterps=10
  36. resyncthreshold=1000
  37. tos=ef
  38. autokill=yes

  39. [trunk-sz-tw]
  40. type=friend
  41. trunk=yes
  42. host=tw.3322.org
  43. disallow=all
  44. allow=alaw
  45. qualify=yes
  46. context=from-tw


  47. extensions.conf

  48. exten => _12XX,1,Dial(IAX2/trunk-sz-tw/${EXTEN},,r)

  49. [from-tw]
  50. exten => _20XX,1,Dial(SIP/${EXTEN},,r)
複製代碼
Is the above settings still valid?  Would you post your present IAX settings for our reference, please.

Many thanks

TOP

I cannot see extensions at both sides when using "friend" method.

TOP

That means your Dial out method is using IAX but Dial in is using SIP。

Haha, this blending method can now be called YH's IAX-SIP trunk.

TOP

返回列表