Board logo

標題: SPA 3102 as IP01 Trunk [打印本頁]

作者: yiucsw    時間: 2011-1-27 12:22     標題: SPA 3102 as IP01 Trunk

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

回復 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
複製代碼

作者: yiucsw    時間: 2011-1-28 01:55

有没有Remote host IP (dynamic) sip.conf? can you upload the SPA screenshot also.
作者: ckleea    時間: 2011-1-28 06:50

回復 3# yiucsw


    Not sure your question.

圖片附件: screenshot.28-01-2011 06.45.36.jpg (2011-1-28 06:50, 263.31 KB) / 下載次數 851
http://telecom-cafe.com/forum/attachment.php?aid=426&k=505eaf39d0c0e65d4523edde7f561f72&t=1732618716&sid=Sotqim


作者: ckleea    時間: 2011-1-28 06:51

You can enable HTTP Digest or auth at PSTN tab.
作者: yiucsw    時間: 2011-1-29 01:37

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
作者: ckleea    時間: 2011-1-29 07:13

I did it manually but not via GUI
作者: bubblestar    時間: 2011-1-29 08:50

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.
作者: bubblestar    時間: 2011-1-29 09:26

回復 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.
作者: yiucsw    時間: 2011-1-29 10:59

ok, let me try extension_custom.conf
作者: yiucsw    時間: 2011-1-29 15:59

sorry cannot put in extension_customer.conf, the trunk cannot show in GUI or outgoing rule trunk selection.
作者: bubblestar    時間: 2011-1-29 17:28

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.
作者: yiucsw    時間: 2011-2-1 15:31

After spend few day on SPA3102. finally give up SPA3102 as http authentication. use pin authentication instead
作者: bubblestar    時間: 2011-2-1 15:46

回復 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.
作者: bubblestar    時間: 2011-2-1 16:12

本帖最後由 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.

圖片附件: [HTTP TRUNK] httpd_trunk.png (2011-2-1 16:08, 38.28 KB) / 下載次數 891
http://telecom-cafe.com/forum/attachment.php?aid=441&k=83d685f5e70bd6816db39580894d5a8a&t=1732618716&sid=Sotqim



圖片附件: [OUT RULE] out_rule.png (2011-2-1 16:08, 40.63 KB) / 下載次數 891
http://telecom-cafe.com/forum/attachment.php?aid=442&k=806eadb3d803f5c29c82f0769ba30d9c&t=1732618716&sid=Sotqim


作者: bubblestar    時間: 2011-2-1 16:31

On the SPA3102 side, the settings of http authentication is as below:

sp3102httpd.png


I use Linksys old blank template as an example instead of using my own SPA3102 screeen capture here and hope I have not missed something.  Tell me if I am wrong.

圖片附件: sp3102httpd.png (2011-2-1 16:28, 221.48 KB) / 下載次數 664
http://telecom-cafe.com/forum/attachment.php?aid=443&k=f8c1752ebd1eb1ada323d2bf51fcc184&t=1732618716&sid=Sotqim


作者: yiucsw    時間: 2011-2-5 19:47

Thanks, a lot. It works. now i can dail without wait for PSTN dial tone. and do not need to remember all the number.
Not clear understand why. already upgrade to firmware 474 No Analog trunk, No ET263 Trunk.
(let me try to add the ET263 trunk and see what will happened.
作者: 角色    時間: 2011-2-5 20:33

No need to know the reson why as soon as long it is working!

哈哈!

角色
作者: bubblestar    時間: 2011-2-5 21:35

本帖最後由 bubblestar 於 2011-2-5 21:37 編輯

回復 17# yiucsw


   
If you use HTTP digest authentication method with SPA3102, you are using ATA's PSTN trunk instead of IP01's analog.  This is why you don't need to establish an analog trunk in IP01.  What you are using is SPA3KHTTPD trunk which you've just created.




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2