返回列表 發帖
Add ET263 as usual sip trunk in IP01, then modify two files:
1. In sip.conf add a line to auth.:
register=588xxxxxx:password@sip.etelephone.net:10002/588xxxxxx
2. In user.conf:
registersip=no   ;changed from registersip=yes

Using CLI command sip show peers, which confirmed that ET263 can be reached. However, I cannot dial out thru ET263 as circuit busy was returned.

TOP

本帖最後由 Qnewbie 於 2011-3-24 17:17 編輯

Sip show peers in the web emulator:
Name/username              Host            Dyn Nat ACL Port     Status               
588xxxxxx/588xxxxxx        211.150.115.14       N      10002    OK (344 ms)

Dial rule:
exten=_0086xx.,1,Macro(trunkdial-failover-0.3,${588xxxxxx}/0${EXTEN:4},,588xxxxxx,,${CALLERID(num)},${EXTEN:0})

Debug info from CLI:
[Mar 24 10:00:30] NOTICE[376]: chan_sip.c:13457 handle_response_peerpoke: Peer '588xxxxxx' is now Reachable. (347ms / 2000ms)

   -- Executing [008675512345678@DLPN_internal:1] Macro("SIP/2000-0000000d", "trunkdial-failover-0.3|SIP/588xxxxxx/075512345678||588xxxxxx||2000|008675512345678") in new stack
    -- Executing [s@macro-trunkdial-failover-0.3:1] Set("SIP/2000-0000000d", "CALLERID(num)=2000") in new stack
    -- Executing [s@macro-trunkdial-failover-0.3:2] Set("SIP/2000-0000000d", "TOUCH_MIXMONITOR=2000-008675512345678-20110324-100436") in new stack
    -- Executing [s@macro-trunkdial-failover-0.3:3] Set("SIP/2000-0000000d", "TOUCH_MIXMONITOR_FORMAT=wav49") in new stack
    -- Executing [s@macro-trunkdial-failover-0.3:4] GotoIf("SIP/2000-0000000d", "0?1-dial|1") in new stack
    -- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/2000-0000000d", "CALLERID(all)=") in new stack
    -- Executing [s@macro-trunkdial-failover-0.3:6] Goto("SIP/2000-0000000d", "1-dial|1") in new stack
    -- Goto (macro-trunkdial-failover-0.3,1-dial,1)
    -- Executing [1-dial@macro-trunkdial-failover-0.3:1] Dial("SIP/2000-0000000d", "SIP/588xxxxxx/075512345678||") in new stack
    -- Called 588xxxxxx/075512345678
[Mar 24 10:04:37] WARNING[376]: chan_sip.c:13120 handle_response_invite: Received response: "Forbidden" from '"asterisk" <sip:asterisk@xxx.xxx.xxx.xxx>;tag=as2425966a'
    -- SIP/588xxxxxx-0000000e is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/2000-0000000d", "0 > 0 ?1-CONGESTION|1:1-out|1") in new stack
    -- Goto (macro-trunkdial-failover-0.3,1-out,1)
    -- Executing [1-out@macro-trunkdial-failover-0.3:1] Hangup("SIP/2000-0000000d", "") in new stack
  == Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited non-zero on 'SIP/2000-0000000d' in macro 'trunkdial-failover-0.3'
  == Spawn extension (DLPN_internal, 008675512345678, 1) exited non-zero on 'SIP/2000-0000000d'

TOP

I set up the account according to post 5 in this thread and the following:
ET263.png

TOP

Modify the outbound rule with Dial:
  1. exten=_0086x.,1,Dial(SIP/588xxxxxx/0${EXTEN:4},,r)
  2. exten=_0086x.,n,Hangup()
複製代碼
Got 503, "Service unavailable" back

TOP

回復 12# bradyzhu


    What is the patch? Would you kindly give us a link or release it in this forum? TIA!

TOP

回復 14# bradyzhu


    Thanks!

One more thing, I am wondering if you can dial out/in with ET263 after this patch?

I use currently 437M based on asterisk1.4.3x(?) which cannot apply the patch. The registration with ET263 does work but not dial in/out.

The latest Asterisk1.4.4x(?) can use this patch. However, 506M from bubblestar C-hing and my own restarts frequently in my IP01 for unknown reason

TOP

本帖最後由 Qnewbie 於 2011-5-17 23:09 編輯

Sorry, delete.

TOP

返回列表