No Audio In and Out Using SipML5

Description Of Problem

We are building our own web dialer, to integrate into our system. I have configure the FreePBX as guide online and I have tried multiple way to solve this issues, but failed to receive audio in and out.
This FreePBX is install into AWS Cloud and do not have issues to make call, when we use Softphone, but have issues to make call when use SipML5 or JsSIP.
I’m not sure If we are required to install the Webrtc2sip into Asterisk and then only we can make call, but I new into this and still learning. If I could get some guide to solve this, it will be great.

Confi Edit Info

http_custom.conf

[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088

rtp_custom.conf

[general]
rtpstart=19000
rtpend=21000
icesupport=true
stunaddr:19302=stun.l.google.com

sip_custom.conf

[1000]
deny=0.0.0.0/0.0.0.0
secret=1234pccw
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
defaultuser=
trustrpid=yes
user_eq_phone=no
sendrpid=pai
type=friend
session-timers=accept
nat=force_rport,comedia
port=5060
qualify=yes
qualifyfreq=60
transport=wss,udp,tcp,tls
avpf=no
force_avp=no
icesupport=yes
rtcp_mux=yes
encryption=no
namedcallgroup=
namedpickupgroup=
dial=SIP/1000
accountcode=
permit=0.0.0.0/0.0.0.0
callerid=1000 <1000>
recordonfeature=apprecord
recordofffeature=apprecord
callcounter=yes
faxdetect=no
cc_monitor_policy=generic
dtlsenable=yes
dltsverify=no
dtlscertfile=/etc/asterisk/keys/pbx.planc.co.crt
dtlsprivatekey=/etc/asterisk/keys/pbx.planc.co.key

FreePBX & Asterisk Information

Location: AWS Cloud server
Operating System: Linux
Asterisk: Asterisk 16.15.0
PBX: FreePBX 15.0.17.5

Occurred Issues

Able to make call from sipML5, but there is no audio in and out.

Screenshot of sipML5 Configuration

Screenshot 2020-12-22 113739

Asterisk Log When Log In, Make Call, Hang Up and Log Out

2 [2020-12-22 03:40:19] VERBOSE[13163] res_http_websocket.c: WebSocket connection from ‘211.24.67.59:53482’ for protocol ‘sip’ accepted using version ‘13’

3 [2020-12-22 03:40:19] VERBOSE[13163] chan_sip.c: Registered SIP ‘1000’ at 211.24.67.59:53482

4 [2020-12-22 03:40:19] NOTICE[13163] chan_sip.c: Peer ‘1000’ is now Reachable. (54ms / 2000ms)

5 [2020-12-22 03:41:03] VERBOSE[13163][C-00000001] res_rtp_asterisk.c: DTLS ECDH initialized (automatic), faster PFS enabled

6 [2020-12-22 03:41:03] VERBOSE[13163][C-00000001] netsock2.c: Using SIP RTP TOS bits 184

7 [2020-12-22 03:41:03] VERBOSE[13163][C-00000001] netsock2.c: Using SIP RTP CoS mark 5

8 [2020-12-22 03:41:03] NOTICE[13163][C-00000001] chan_sip.c: Received SAVPF profle in audio offer but AVPF is not enabled, enabling: audio 52595 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126

9 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:1] Macro(“SIP/1000-00000000”, “user-callerid,LIMIT,EXTERNAL,”) in new stack

10 [2020-12-22 03:41:03] WARNING[13381][C-00000001] app_macro.c: Macro() is deprecated and will be removed from a future version of Asterisk.

11 [2020-12-22 03:41:03] WARNING[13381][C-00000001] app_macro.c: Dialplan should be updated to use Gosub instead.

12 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/1000-00000000”, “TOUCH_MONITOR=1608608463.0”) in new stack

13 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/1000-00000000”, “AMPUSER=1000”) in new stack

14 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:3] Set(“SIP/1000-00000000”, “HOTDESCKCHAN=1000-00000000”) in new stack

15 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:4] Set(“SIP/1000-00000000”, “HOTDESKEXTEN=1000”) in new stack

16 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/1000-00000000”, “HOTDESKCALL=0”) in new stack

17 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“SIP/1000-00000000”, “0?Set(HOTDESKCALL=1)”) in new stack

18 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(name)=)”) in new stack

19 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/1000-00000000”, “0?report”) in new stack

20 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“SIP/1000-00000000”, “1?Set(REALCALLERIDNUM=1000)”) in new stack

21 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/1000-00000000”, “AMPUSER=”) in new stack

22 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“SIP/1000-00000000”, “0?limit”) in new stack

23 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/1000-00000000”, “AMPUSERCIDNAME=”) in new stack

24 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“SIP/1000-00000000”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack

25 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“SIP/1000-00000000”, “1?report”) in new stack

26 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,23)

27 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:23] NoOp(“SIP/1000-00000000”, “Macro Depth is 1”) in new stack

28 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:24] GotoIf(“SIP/1000-00000000”, “1?report2:macroerror”) in new stack

29 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,25)

30 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:25] GotoIf(“SIP/1000-00000000”, “1?continue”) in new stack

31 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,44)

32 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:44] Set(“SIP/1000-00000000”, “CALLERID(number)=1000”) in new stack

33 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:45] Set(“SIP/1000-00000000”, “CALLERID(name)=1000”) in new stack

34 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:46] GotoIf(“SIP/1000-00000000”, “0?cnum”) in new stack

35 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:47] Set(“SIP/1000-00000000”, “CDR(cnam)=1000”) in new stack

36 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:48] Set(“SIP/1000-00000000”, “CDR(cnum)=1000”) in new stack

37 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-user-callerid:49] Set(“SIP/1000-00000000”, “CHANNEL(language)=en”) in new stack

38 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:2] Gosub(“SIP/1000-00000000”, “sub-record-check,s,1(out,01112869895,dontcare)”) in new stack

39 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/1000-00000000”, “0?initialized”) in new stack

40 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/1000-00000000”, “__REC_STATUS=INITIALIZED”) in new stack

41 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/1000-00000000”, “NOW=1608608463”) in new stack

42 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/1000-00000000”, “__DAY=22”) in new stack

43 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/1000-00000000”, “__MONTH=12”) in new stack

44 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/1000-00000000”, “__YEAR=2020”) in new stack

45 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/1000-00000000”, “__TIMESTR=20201222-034103”) in new stack

46 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/1000-00000000”, “__FROMEXTEN=1000”) in new stack

47 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/1000-00000000”, “__MON_FMT=wav”) in new stack

48 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/1000-00000000”, “Recordings initialized”) in new stack

49 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/1000-00000000”, “0?Set(ARG3=dontcare)”) in new stack

50 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/1000-00000000”, “REC_POLICY_MODE_SAVE=”) in new stack

51 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/1000-00000000”, “0?Set(REC_STATUS=NO)”) in new stack

52 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/1000-00000000”, “3?checkaction”) in new stack

53 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (sub-record-check,s,17)

54 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/1000-00000000”, “1?sub-record-check,out,1”) in new stack

55 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (sub-record-check,out,1)

56 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/1000-00000000”, “Outbound Recording Check from 1000 to 01112869895”) in new stack

57 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/1000-00000000”, “RECMODE=”) in new stack

58 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/1000-00000000”, “1?Goto(routewins)”) in new stack

59 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (sub-record-check,out,7)

60 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/1000-00000000”, “recordcheck,1(dontcare,out,01112869895)”) in new stack

61 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/1000-00000000”, “Starting recording check against dontcare”) in new stack

62 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/1000-00000000”, “dontcare”) in new stack

63 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)

64 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/1000-00000000”, “”) in new stack

65 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/1000-00000000”, “”) in new stack

66 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:3] ExecIf(“SIP/1000-00000000”, “0 ?Set(CDR(accountcode)=)”) in new stack

67 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:4] Set(“SIP/1000-00000000”, “_ROUTEID=1”) in new stack

68 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:5] Set(“SIP/1000-00000000”, “_ROUTENAME=Default”) in new stack

69 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:6] Set(“SIP/1000-00000000”, “MOHCLASS=default”) in new stack

70 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:7] Set(“SIP/1000-00000000”, “_CALLERIDNAMEINTERNAL=1000”) in new stack

71 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:8] Set(“SIP/1000-00000000”, “_CALLERIDNUMINTERNAL=1000”) in new stack

72 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:9] Set(“SIP/1000-00000000”, “_EMAILNOTIFICATION=FALSE”) in new stack

73 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:10] Set(“SIP/1000-00000000”, “_NODEST=”) in new stack

74 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [01112869895@from-internal:11] Macro(“SIP/1000-00000000”, “dialout-trunk,2,+601112869895,off”) in new stack

75 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/1000-00000000”, “DIAL_TRUNK=2”) in new stack

76 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/1000-00000000”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack

77 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/1000-00000000”, “0?sub-pincheck,s,1()”) in new stack

78 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(num)=)”) in new stack

79 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/1000-00000000”, “0?disabletrunk,1”) in new stack

80 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/1000-00000000”, “DIAL_NUMBER=+601112869895”) in new stack

81 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“SIP/1000-00000000”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack

82 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“SIP/1000-00000000”, “OUTBOUND_GROUP=OUT_2”) in new stack

83 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“SIP/1000-00000000”, “DIAL_TRUNK_OPTIONS=T”) in new stack

84 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/1000-00000000”, “1?nomax”) in new stack

85 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)

86 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/1000-00000000”, “0?skipoutcid”) in new stack

87 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“SIP/1000-00000000”, “outbound-callerid,2”) in new stack

88 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“SIP/1000-00000000”, “1000”) in new stack

89 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“SIP/1000-00000000”, “”) in new stack

90 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“SIP/1000-00000000”, “off”) in new stack

91 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERPRES(name-pres)=)”) in new stack

92 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERPRES(num-pres)=)”) in new stack

93 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“SIP/1000-00000000”, “HOTDESCKCHAN=1000-00000000”) in new stack

94 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“SIP/1000-00000000”, “HOTDESKEXTEN=1000”) in new stack

95 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“SIP/1000-00000000”, “HOTDESKCALL=0”) in new stack

96 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“SIP/1000-00000000”, “0?Set(HOTDESKCALL=1)”) in new stack

97 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(name)=)”) in new stack

98 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“SIP/1000-00000000”, “ALLOWTHISROUTE=NO”) in new stack

99 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/1000-00000000”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack

100 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/1000-00000000”, “0?Hangup()”) in new stack

101 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/1000-00000000”, “0?Set(REALCALLERIDNUM=1000)”) in new stack

102 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/1000-00000000”, “0?Set(AMPUSER=1000)”) in new stack

103 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“SIP/1000-00000000”, “1?normcid”) in new stack

104 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)

105 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“SIP/1000-00000000”, “USEROUTCID=”) in new stack

106 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“SIP/1000-00000000”, “EMERGENCYCID=”) in new stack

107 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/1000-00000000”, “0?Set(EMERGENCYCID=)”) in new stack

108 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:23] Set(“SIP/1000-00000000”, “TRUNKOUTCID=”) in new stack

109 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf(“SIP/1000-00000000”, “1?trunkcid”) in new stack

110 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)

111 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(all)=)”) in new stack

112 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(all)=)”) in new stack

113 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(all)=)”) in new stack

114 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERID(all)=1000)”) in new stack

115 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:34] Set(“SIP/1000-00000000”, “TIOHIDE=no”) in new stack

116 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack

117 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack

118 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack

119 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf(“SIP/1000-00000000”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack

120 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:39] Set(“SIP/1000-00000000”, “CDR(outbound_cnum)=1000”) in new stack

121 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-outbound-callerid:40] Set(“SIP/1000-00000000”, “CDR(outbound_cnam)=1000”) in new stack

122 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/1000-00000000”, “0?sub-flp-2,s,1()”) in new stack

123 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/1000-00000000”, “OUTNUM=+601112869895”) in new stack

124 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“SIP/1000-00000000”, “custom=SIP/Hitch-On”) in new stack

125 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/1000-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack

126 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/1000-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack

127 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“SIP/1000-00000000”, “dialout-trunk-predial-hook,”) in new stack

128 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1000-00000000”, “”) in new stack

129 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/1000-00000000”, “0?skipcrm”) in new stack

130 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:21] Set(“SIP/1000-00000000”, “__CRM_DIRECTION=OUTBOUND”) in new stack

131 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/1000-00000000”, “__CRM_DESTINATION=+601112869895”) in new stack

132 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:23] Set(“SIP/1000-00000000”, “__CRM_SOURCE=”) in new stack

133 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:24] AGI(“SIP/1000-00000000”, “agi://127.0.0.1/sangomacrm.agi”) in new stack

134 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] res_agi.c: <SIP/1000-00000000>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0

135 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“SIP/1000-00000000”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack

136 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp(“SIP/1000-00000000”, “CRM Finished”) in new stack

137 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/1000-00000000”, “0?bypass,1”) in new stack

138 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/1000-00000000”, “0?Set(CONNECTEDLINE(num,i)=+601112869895)”) in new stack

139 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:29] ExecIf(“SIP/1000-00000000”, “0?Set(CONNECTEDLINE(name,i)=CID:1000)”) in new stack

140 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:30] ExecIf(“SIP/1000-00000000”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)1000)”) in new stack

141 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“SIP/1000-00000000”, “0?customtrunk”) in new stack

142 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf(“SIP/1000-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack

143 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:33] Set(“SIP/1000-00000000”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack

144 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/1000-00000000”, “SIP/Hitch-On/+601112869895,300,Tb(func-apply-sipheaders^s^1,(2))U(sub-send-obroute-email^+601112869895^01112869895^2^1608608463^1000^1000)”) in new stack

145 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] netsock2.c: Using SIP RTP TOS bits 184

146 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] netsock2.c: Using SIP RTP CoS mark 5

147 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] app_stack.c: SIP/Hitch-On-00000001 Internal Gosub(func-apply-sipheaders,s,1(2)) start

148 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/Hitch-On-00000001”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack

149 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“SIP/Hitch-On-00000001”, “Applying SIP Headers to channel SIP/Hitch-On-00000001”) in new stack

150 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“SIP/Hitch-On-00000001”, “TECH=SIP”) in new stack

151 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“SIP/Hitch-On-00000001”, “SIPHEADERKEYS=Alert-Info”) in new stack

152 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/Hitch-On-00000001”, “1”) in new stack

153 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:6] Set(“SIP/Hitch-On-00000001”, “sipheader=unset”) in new stack

154 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf(“SIP/Hitch-On-00000001”, “1?SIPRemoveHeader(Alert-Info:)”) in new stack

155 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf(“SIP/Hitch-On-00000001”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack

156 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf(“SIP/Hitch-On-00000001”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack

157 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“SIP/Hitch-On-00000001”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack

158 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:11] ExecIf(“SIP/Hitch-On-00000001”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack

159 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:12] ExecIf(“SIP/Hitch-On-00000001”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack

160 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:13] EndWhile(“SIP/Hitch-On-00000001”, “”) in new stack

161 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:5] While(“SIP/Hitch-On-00000001”, “0”) in new stack

162 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] pbx.c: Executing [s@func-apply-sipheaders:14] Return(“SIP/Hitch-On-00000001”, “”) in new stack

163 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] app_stack.c: Spawn extension (from-trunk-sip-Hitch-On, 01112869895, 1) exited non-zero on ‘SIP/Hitch-On-00000001’

164 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] app_stack.c: SIP/Hitch-On-00000001 Internal Gosub(func-apply-sipheaders,s,1(2)) complete GOSUB_RETVAL=

165 [2020-12-22 03:41:03] VERBOSE[13381][C-00000001] app_dial.c: Called SIP/Hitch-On/+601112869895

166 [2020-12-22 03:41:04] VERBOSE[13381][C-00000001] app_dial.c: SIP/Hitch-On-00000001 is making progress passing it to SIP/1000-00000000

167 [2020-12-22 03:41:05] VERBOSE[13381][C-00000001] app_dial.c: SIP/Hitch-On-00000001 is ringing

168 [2020-12-22 03:41:05] VERBOSE[13381][C-00000001] app_dial.c: SIP/Hitch-On-00000001 is making progress passing it to SIP/1000-00000000

169 [2020-12-22 03:41:07] VERBOSE[13381][C-00000001] app_dial.c: SIP/Hitch-On-00000001 is making progress passing it to SIP/1000-00000000

170 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] app_dial.c: SIP/Hitch-On-00000001 answered SIP/1000-00000000

171 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] app_stack.c: SIP/Hitch-On-00000001 Internal Gosub(sub-send-obroute-email,s,1(+601112869895,01112869895,2,1608608463,1000,1000)) start

172 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-send-obroute-email:1] GotoIf(“SIP/Hitch-On-00000001”, “0?sendEmail”) in new stack

173 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-send-obroute-email:2] NoOp(“SIP/Hitch-On-00000001”, “email notifications disabled…exiting.”) in new stack

174 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] pbx.c: Executing [s@sub-send-obroute-email:3] Return(“SIP/Hitch-On-00000001”, “”) in new stack

175 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] app_stack.c: Spawn extension (from-trunk-sip-Hitch-On, , 1) exited non-zero on ‘SIP/Hitch-On-00000001’

176 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] app_stack.c: SIP/Hitch-On-00000001 Internal Gosub(sub-send-obroute-email,s,1(+601112869895,01112869895,2,1608608463,1000,1000)) complete GOSUB_RETVAL=

177 [2020-12-22 03:41:11] VERBOSE[13415][C-00000001] bridge_channel.c: Channel SIP/Hitch-On-00000001 joined ‘simple_bridge’ basic-bridge <48b6f885-5755-444b-ba17-28a6a0d5faef>

178 [2020-12-22 03:41:11] VERBOSE[13381][C-00000001] bridge_channel.c: Channel SIP/1000-00000000 joined ‘simple_bridge’ basic-bridge <48b6f885-5755-444b-ba17-28a6a0d5faef>

179 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] bridge_channel.c: Channel SIP/1000-00000000 left ‘simple_bridge’ basic-bridge <48b6f885-5755-444b-ba17-28a6a0d5faef>

180 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] app_macro.c: Spawn extension (macro-dialout-trunk, s, 34) exited non-zero on ‘SIP/1000-00000000’ in macro ‘dialout-trunk’

181 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Spawn extension (from-internal, 01112869895, 11) exited non-zero on ‘SIP/1000-00000000’

182 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [h@from-internal:1] Macro(“SIP/1000-00000000”, “hangupcall”) in new stack

183 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/1000-00000000”, “1?theend”) in new stack

184 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-hangupcall,s,3)

185 [2020-12-22 03:41:17] VERBOSE[13415][C-00000001] bridge_channel.c: Channel SIP/Hitch-On-00000001 left ‘simple_bridge’ basic-bridge <48b6f885-5755-444b-ba17-28a6a0d5faef>

186 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/1000-00000000”, “0?Set(CDR(recordingfile)=)”) in new stack

187 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“SIP/1000-00000000”, "SIP/Hitch-On-00000001 montior file= ") in new stack

188 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“SIP/1000-00000000”, “1?skipagi”) in new stack

189 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx_builtins.c: Goto (macro-hangupcall,s,7)

190 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“SIP/1000-00000000”, “”) in new stack

191 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/1000-00000000’ in macro ‘hangupcall’

192 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/1000-00000000’

193 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] app_stack.c: SIP/1000-00000000 Internal Gosub(crm-hangup,s,1) start

194 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:1] NoOp(“SIP/1000-00000000”, “Sending Hangup to CRM”) in new stack

195 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/1000-00000000”, “HANGUP CAUSE: 16”) in new stack

196 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/1000-00000000”, “0?Set(__CRM_VOICEMAIL=)”) in new stack

197 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/1000-00000000”, “MASTER CHANNEL: 1608608463.0 = 1608608463.0”) in new stack

198 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/1000-00000000”, “0?return”) in new stack

199 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/1000-00000000”, “__CRM_HANGUP=1”) in new stack

200 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/1000-00000000”, “agi://127.0.0.1/sangomacrm.agi”) in new stack

201 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] res_agi.c: <SIP/1000-00000000>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0

202 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] pbx.c: Executing [s@crm-hangup:8] Return(“SIP/1000-00000000”, “”) in new stack

203 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/1000-00000000’

204 [2020-12-22 03:41:17] VERBOSE[13381][C-00000001] app_stack.c: SIP/1000-00000000 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

205 [2020-12-22 03:41:20] VERBOSE[13163] chan_sip.c: Unregistered SIP ‘1000’

206 [2020-12-22 03:41:52] VERBOSE[2116] res_http_websocket.c: WebSocket connection from ‘211.24.67.59:53482’ closed

Got NAT ? You might look into running your own media-proxying TURN server on direct public IPs instead of using somebody else’s STUN server.

That doesn’t look right…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.