سلام من یک sip trunk از آسیاتک گرفتم ارتباط با بیرون برقرار نمیشه Trunk registerشده و outgoing pattern خاصی نداره با 9 آزاد میشه وقتی تماس میگیرم میگه wrong number ممنون میشم کمک کنید
login as: root
root@192.168.2.8's password:
Access denied
root@192.168.2.8's password:
Last failed login: Wed Dec 23 11:17:13 +0330 2020 from 192.168.2.4 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Wed Dec 23 11:05:50 2020 from 192.168.2.4
O @ @ Issabel is a product meant to be configured through a web browser.
@ @ O Any changes made from within the command line may corrupt the system
@ O O configuration and produce unexpected behavior; in addition, changes
O made to system files through here may be lost when doing an update.
To access your Issabel System, using a separate workstation (PC/MAC/Linux)
Open the Internet Browser using the following URL:
https://192.168.2.8
Your opportunity to give back: http://www.patreon.com/issabel
System load: 0.07 (1min) 0.03 (5min) 0.05 (15min) Uptime: 18:18 hours
Asterisk: Asterisk 16.7.0 Active Calls: 0
Memory: [=====>-------------------------------------------] 12% 472/3931M
Usage on /: [=========>---------------------------------------] 21% 3.4/18G
Swap usage: 0.0%
SSH logins: 2 open sessions
Processes: 138 total, 95 yours
[root@ITVIRTUAL ~]# asterisk -rvvvvvvv
Asterisk 16.7.0, Copyright (C) 1999 - 2018, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 16.7.0 currently running on ITVIRTUAL (pid = 2157)
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7fa91c00c960 -- Strict RTP learning after remote address set to: 86.5 7.13.69:8000
-- Executing [909306666989@from-internal:1] Macro("SIP/1003-00000044", "user -callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1003-00000044", "TOUCH_MONIT OR=1608709794.480") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/1003-00000044", "AMPUSER=100 3") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/1003-00000044", "0?report ") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/1003-00000044", "1?Set(RE ALCALLERIDNUM=1003)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1003-00000044", "AMPUSER=100 3") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1003-00000044", "0?limit" ) in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1003-00000044", "AMPUSERCIDN AME=Afarin") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/1003-00000044", "0?report ") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/1003-00000044", "AMPUSERCID= 1003") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/1003-00000044", "__DIAL_OPT IONS=tr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/1003-00000044", "CALLERID(a ll)="Afarin" <1003>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/1003-00000044", "0?limit ") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/1003-00000044", "1?Set(G ROUP(concurrency_limit)=1003)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/1003-00000044", "0?Set(C HANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/1003-00000044", "1?conti nue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/1003-00000044", "CALLERID(n umber)=1003") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/1003-00000044", "CALLERID(n ame)=Afarin") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/1003-00000044", "CDR(cnum)= 1003") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/1003-00000044", "CDR(cnam)= Afarin") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/1003-00000044", "CHANNEL(la nguage)=en") in new stack
-- Executing [909306666989@from-internal:2] Set("SIP/1003-00000044", "MOHCLA SS=default") in new stack
-- Executing [909306666989@from-internal:3] Set("SIP/1003-00000044", "_NODES T=") in new stack
-- Executing [909306666989@from-internal:4] Gosub("SIP/1003-00000044", "sub- record-check,s,1(out,909306666989,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/1003-00000044", "REC_POLICY_MOD E_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/1003-00000044", "1?check") i n new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/1003-00000044", "__MON_FMT=wav" ) in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/1003-00000044", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/1003-00000044", "0?Return() ") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/1003-00000044", "0?Set(__RE C_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/1003-00000044", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/1003-00000044", "__REC_STATUS= INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/1003-00000044", "NOW=160870979 4") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/1003-00000044", "__DAY=23") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/1003-00000044", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/1003-00000044", "__YEAR=2020") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/1003-00000044", "__TIMESTR=202 01223-111954") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/1003-00000044", "__FROMEXTEN=1 003") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/1003-00000044", "__CALLFILENAM E=out-909306666989-1003-20201223-111954-1608709794.480") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/1003-00000044", "out,1") in n ew stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/1003-00000044", "1?Set(__R EC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/1003-00000044", "0?record ,1(exten,909306666989,1003)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/1003-00000044", "") in new stack
-- Executing [909306666989@from-internal:5] Macro("SIP/1003-00000044", "dial out-trunk,1,09306666989,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1003-00000044", "DIAL_TRUNK= 1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1003-00000044", "0?sub-p incheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1003-00000044", "0?disabl etrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1003-00000044", "DIAL_NUMBER =09306666989") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1003-00000044", "DIAL_TRUNK_ OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1003-00000044", "OUTBOUND_GR OUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1003-00000044", "1?nomax" ) in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1003-00000044", "0?skipou tcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1003-00000044", "DIAL_TRUNK _OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1003-00000044", "outbound -callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1003-00000044", "0?Se t(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1003-00000044", "0?Se t(REALCALLERIDNUM=1003)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1003-00000044", "1?no rmcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/1003-00000044", "USEROUT CID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/1003-00000044", "EMERGEN CYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/1003-00000044", "TRUNKOU TCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1003-00000044", "1?tr unkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1003-00000044", "0?S et(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1003-00000044", "0?S et(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1003-00000044", "0?S et(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1003-00000044", "0?S et(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/1003-00000044", "CDR(ou tbound_cnum)=1003") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/1003-00000044", "CDR(ou tbound_cnam)=Afarin") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1003-00000044", "0?sub- flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1003-00000044", "OUTNUM=093 06666989") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1003-00000044", "custom=SIP /VOIP-Gateway") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1003-00000044", "0?Set(D IAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1003-00000044", "0?Set(D IAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/1003-00000044", "dialout- trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1003-0000 0044", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1003-00000044", "0?bypas s,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1003-00000044", "1?Set(C ONNECTEDLINE(num,i)=09306666989)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1003-00000044", "1?Set(C ONNECTEDLINE(name,i)=CID:1003)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1003-00000044", "0?custo mtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("SIP/1003-00000044", "SIP/VOIP- Gateway/09306666989,300,T") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/VOIP-Gateway/09306666989
[2020-12-23 11:19:54] WARNING[2293][C-00000026]: chan_sip.c:24308 handle_respons e_invite: Received response: "Forbidden" from '"Afarin" <sip:1003@128.65.177.109 :9080>;tag=as73abb0a1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/1003-00000044", "Dial fail ed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new s tack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1003-00000044", "0?conti nue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/1003-00000044", "RC=21") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/1003-00000044", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("SIP/1003-00000044", "continue, 1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1003-00000044", "TRU NK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other tru nks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/1003-00000044", "CALL ERID(number)=1003") in new stack
-- Executing [909306666989@from-internal:6] Macro("SIP/1003-00000044", "outi sbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/1003-00000044", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/1003-00000044", "0?emergency, 1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/1003-00000044", "0?intracompa ny,1") in new stack
-- Executing [s@macro-outisbusy:4] GotoIf("SIP/1003-00000044", "0?unallocate d,1") in new stack
-- Executing [s@macro-outisbusy:5] GotoIf("SIP/1003-00000044", "1?unallocate d,1") in new stack
-- Goto (macro-outisbusy,unallocated,1)
-- Executing [unallocated@macro-outisbusy:1] Playback("SIP/1003-00000044", " you-dialed-wrong-number") in new stack
> 0x7fa91c00c960 -- Strict RTP qualifying stream type: audio
> 0x7fa91c00c960 -- Strict RTP switching source address to 192.168.2.4:80 00
-- <SIP/1003-00000044> Playing 'you-dialed-wrong-number.gsm' (language 'en')
-- Executing [unallocated@macro-outisbusy:2] Congestion("SIP/1003-00000044", "20") in new stack
== Spawn extension (macro-outisbusy, unallocated, 2) exited non-zero on 'SIP/1 003-00000044' in macro 'outisbusy'
== Spawn extension (from-internal, 909306666989, 6) exited non-zero on 'SIP/10 03-00000044'
-- Executing [h@from-internal:1] Hangup("SIP/1003-00000044", "") in new stac k
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1003-00000044 '
-- Remote UNIX connection
-- Remote UNIX connection disconnected
ITVIRTUAL*CLI>ITVIRTUAL*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
1001/1001 5.116.26.154 D Yes Yes A 57653 OK (1502 ms)
1002/1002 192.168.2.25 D No No A 59398 OK (13 ms)
1003/1003 192.168.2.4 D Yes Yes A 64136 OK (3 ms)
1004/1004 151.241.136.31 D Yes Yes A 25510 OK (469 ms)
VOIP-Gateway/2191015739 185.98.113.220 Yes Yes 5060 OK (57 ms)