返回列表 發帖

SPA 3102 as IP01 Trunk

不知道原因,最近的SPA3102有多ECHO,要尝试了SPA3102 的HTTP Authentication 但不成功。有没有比HKEPC 更详细的说明。用AG188N可以Direct Ip 到 SPA3102,只是IP01不成。
Trunk的名字是不是同SPA user name, HTTP Authentication 一样的?
我已有ET263的VOIPtrunk,有没有影响?

回復 1# yiucsw
I put the following in the sip.conf and config the spa for http auth.
  1. [pstn-spa3k-d1]
  2. type = peer
  3. secret = pass
  4. username = user
  5. host = 192.168.xxx.xx
  6. fromuser = user
  7. port = 5061
  8. dtmfmode = rfc2833
  9. qualify = yes
  10. nat = yes
  11. context = default
  12. disallow = all
  13. allow = g729
  14. allow = ulaw
  15. allow = alaw

  16. [pstn-spa3k-d6]
  17. type = peer
  18. secret = pass1
  19. username = user6
  20. host = 192.168.xxx.xxx
  21. fromuser = user6
  22. port = 5061
  23. dtmfmode = rfc2833
  24. qualify = yes
  25. nat = yes
  26. context = default
  27. disallow = all
  28. allow = g729
  29. allow = ulaw
  30. allow = alaw
複製代碼

TOP

有没有Remote host IP (dynamic) sip.conf? can you upload the SPA screenshot also.

TOP

回復 3# yiucsw


    Not sure your question.

screenshot.28-01-2011 06.45.36.jpg (263.31 KB)

screenshot.28-01-2011 06.45.36.jpg

TOP

You can enable HTTP Digest or auth at PSTN tab.

TOP

I cannot find the trunk information under sip.conf, but there is trunk info from user. conf.
But the format seems different:
-GSPSTN
  context=DID_GDPSTN
  host=gd.homeip.net
  username=GDPSTN
  authuser=GDPSTN
  fromuser=GDPSTN
  fromdomain=gd.homeip.net
  secret=xxxxxx
  insecure=very
  contact=
  port=5061
  qualify=2000
  trunkname=GDPSTN
  hasiax=no
  registeriax=no
  hassip=yes
  registersip=no
  trunkstyle=voip
  hasexten=no
  disallow=all
  allow=all

TOP

I did it manually but not via GUI

TOP

If do it manully instead of using GUI, we may see the Trunk name in Red color with question mark (?) under the Dial Plan Section.  One may not want to live with it if he/she is not comfortable to see this sign in the GUI.

TOP

回復 8# bubblestar


   
Just like Elastix and Trixbox, I think the new extension_custom.conf in the latest release of Switchfin is desgined for accommodating our own Code and custom trunks.  That may resolve / eliminate the RED question ? problem.

TOP

ok, let me try extension_custom.conf

TOP

sorry cannot put in extension_customer.conf, the trunk cannot show in GUI or outgoing rule trunk selection.

TOP

I'm still using SVN432.  extensions_custom.conf also not function as I wish.  Think that it is still in its infant stage.  Hope the new feautre can come into effect soonest.

TOP

After spend few day on SPA3102. finally give up SPA3102 as http authentication. use pin authentication instead

TOP

回復 13# yiucsw


   
Sometimes, there is some DTMF detection problem for using PIN.  HTTP digest is a much better solution.  I will show you my settings later.  Don't give up.

TOP

本帖最後由 bubblestar 於 2011-2-1 16:13 編輯

IP01 using SPA3102 http digest to dial out PSTN call Settiings.

Settings on the side of Switchfin IP01

httpd_trunk.png

out_rule.png

Edit the user file under Admin/File Editor as below:

Change registersip=yes to registersip=no


Last, don't forget to tick your Dial Plan to make the DP work.

TOP

返回列表