返回列表 發帖

在Asterisk中註冊nonoh問題

我在我的asterisk中註冊nonoh.net帳號...
但好像怎設定也是連不上的...
也是說:
"Got SIP response 400 "Bad request" back from 77.72.169.134"
但我用sip show registry看到是registered的...

嗯~最初我是用GUI註冊trunk的...
後來在CLI改也好像不行...已經試了不少方法...

現在的設定是...
  1. [trunk_4]
  2. host = sip.nonoh.net
  3. username = (loginid)
  4. secret = (password)
  5. trunkname = nonoh.net 0001 ; GUI metadata
  6. context = DID_trunk_4
  7. group = null
  8. hasexten = no
  9. hasiax = no
  10. hassip = yes
  11. registeriax = no
  12. registersip = yes
  13. trunkstyle = voip
  14. ;fromdomain = sip.nonoh.net
  15. fromuser = (loginid)
  16. insecure = no
  17. ;insecure = port,invite
  18. ;authuser = (loginid)
  19. disallow = all
  20. allow = ulaw,alaw,gsm,g726
複製代碼
錯誤碼是這個...
  1.   == Using SIP RTP CoS mark 5
  2.   == Using SIP VRTP CoS mark 6
  3.     -- Called trunk_4/
  4.     -- Got SIP response 400 "Bad request" back from 194.120.0.198
  5.     -- SIP/trunk_4-00000001 is circuit-busy
  6.   == Everyone is busy/congested at this time (1:0/1/0)
  7.     -- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/6001-00000000", "0 > 0 ?1-CONGESTION,1:1-out,1") in new stack
  8.     -- Goto (macro-trunkdial-failover-0.3,1-out,1)
  9.     -- Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup("SIP/6001-00000000", "") in new stack
  10.   == Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on 'SIP/6001-00000000' in macro 'trunkdial-failover-0.3'
複製代碼
原本是insecure = port,invite的...
是哪裡出錯呢?

而且我用xlite登入同一nonoh帳號是成功打出的...
各位可以幫忙一下嗎?
謝謝~

Basically. Qnewbie's config is ok to work [tested and confirmed]
ckleea 發表於 2010-10-7 05:54

Qnewbie的設定我放在sip.conf中好像還是不行...
不過我想問fromuser=(your verified PSTN tel. no.)是否要填在網站登記的那個電話號碼?(一定要填的嗎?)

TOP

成功了~謝謝各位前輩幫忙~
應該是在extensions.conf中的那句有問題...(GUI gen出來的...)
  1. ;exten = _00852XXXXXXXX,1,Macro(trunkdial-failover-0.3,${trunk_4}/${FILTER(,${EXTEN:0})},,trunk_4,)
複製代碼
但...原來nonoh是有次數限制的...
原本還很天真的以為可以免費用它們的IDD...

TOP

原來nonoh的免費餐也有限制啊~
http://www.nonoh.net/en/termsofuse.html
(在最底的...有誰會看到底啊...)
Free calls with Nonoh
New users can try Nonoh out for free for a total of 60 minutes. During this trial period you can only call the destinations marked as free. Register your account by buying credit in order to extend your free calls.

Registered users get max 200 minutes per week of free calls, measured over the last 7 days and per unique IP address. Unused free minutes cannot be taken to the following week(s). If limit is exceeded the normal rates apply. During your Freedays you can call all destinations listed as "Free" for free. When you have run out of Freedays, the normal rates apply. You can get new Freedays by buying credit.


還想找些可以代替0088的說...
看來還是乖乖的付鈔給李老闆了...

TOP

返回列表