Working with anynode for msteams

I’m trying to get asterisk happy with Ms Teams,

I have a trial of anynode sbc.

I have the call landing at the anynode sbc,
The team client picks up. then an ack goes to ms teams.
Then asterisk send a bye message.

My asterisk server is 10.123.245.20
Anynode is 10.123.244.161 this is routed network.
Microsooft is like public internet.

anyone see a reason to have the call go bye?

the invite
10/23/2023 16:32:57.491 received from 10.123.245.20:5060 using udp

INVITE sip:[email protected]:5060 SIP/2.0
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Call-Id: 1bfc2b6b-6d62-44d5-a316-b72cd48d3c98
Contact: sip:[email protected]:5060
Content-Length: 183
Content-Type: application/sdp
Cseq: 8560 INVITE
From: sip:[email protected];tag=4b8ed7d0-7324-4328-bc08-4401543c61e8
Max-Forwards: 70
Min-Se: 90
P-Asserted-Identity: sip:[email protected]
Session-Expires: 1800
Supported: 100rel, timer, replaces, norefersub, histinfo
To: sip:[email protected]
User-Agent: TFPBX-16.0.40.7(20.3.0)
Via: SIP/2.0/UDP 10.123.245.20:5060;received=10.123.245.20;branch=z9hG4bKPj3f2eddb9-b792-4bd3-99bf-d9b85989fec6
Content-Length: 183

v=0
o=- 1382475726 1382475726 IN IP4 10.123.245.20
s=Asterisk
c=IN IP4 10.123.245.20
t=0 0
m=audio 37918 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20
a=maxptime:150
a=sendrecv

10/23/2023 16:32:57.499 sent to 10.123.245.20:5060 using udp

SIP/2.0 100 Trying
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER,SUBSCRIBE,UPDATE
Allow-Events: message-summary,refer
Call-Id: 1bfc2b6b-6d62-44d5-a316-b72cd48d3c98
Cseq: 8560 INVITE
From: sip:[email protected];tag=4b8ed7d0-7324-4328-bc08-4401543c61e8
Server: anynode/4.10.11
Supported: from-change,path,privacy,replaces,timer
To: sip:[email protected];tag=18BFFFE8041F6ABF7E5040DF59DE3D0E
Via: SIP/2.0/UDP 10.123.245.20:5060;received=10.123.245.20;branch=z9hG4bKPj3f2eddb9-b792-4bd3-99bf-d9b85989fec6
Content-Length: 0

10/23/2023 16:32:58.707 sent to 10.123.245.20:5060 using udp

SIP/2.0 180 Ringing
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER,SUBSCRIBE,UPDATE
Allow-Events: message-summary,refer
Call-Id: 1bfc2b6b-6d62-44d5-a316-b72cd48d3c98
Contact: sip:anynode;maddr=10.123.244.161
Cseq: 8560 INVITE
From: sip:[email protected];tag=4b8ed7d0-7324-4328-bc08-4401543c61e8
Server: anynode/4.10.11
Supported: from-change,path,privacy,replaces,timer
To: sip:[email protected];tag=18BFFFE8041F6ABF7E5040DF59DE3D0E
Via: SIP/2.0/UDP 10.123.245.20:5060;received=10.123.245.20;branch=z9hG4bKPj3f2eddb9-b792-4bd3-99bf-d9b85989fec6
Content-Length: 0

10/23/2023 16:33:01.628 sent to 10.123.245.20:5060 using udp

SIP/2.0 200 OK
Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,REFER,SUBSCRIBE,UPDATE
Allow-Events: message-summary,refer
Call-Id: 1bfc2b6b-6d62-44d5-a316-b72cd48d3c98
Contact: sip:anynode;maddr=10.123.244.161
Content-Type: application/sdp
Cseq: 8560 INVITE
From: sip:[email protected];tag=4b8ed7d0-7324-4328-bc08-4401543c61e8
Min-Se: 90
P-Xz-Sipua-Dialog-Identifier: F40D9F56C68406566ADBE6830C104DB2
Server: anynode/4.10.11
Session-Expires: 1800;refresher=uas
Supported: from-change,path,privacy,replaces,timer
To: sip:[email protected];tag=18BFFFE8041F6ABF7E5040DF59DE3D0E
Via: SIP/2.0/UDP 10.123.245.20:5060;received=10.123.245.20;branch=z9hG4bKPj3f2eddb9-b792-4bd3-99bf-d9b85989fec6
Content-Length: 198

v=0
o=- 6662507377614169601 1 IN IP4 10.123.244.161
s=-
c=IN IP4 10.123.244.161
t=0 0
m=audio 36540 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:20
a=rtcp:28168 IN IP4 10.123.244.161
a=sendrecv

10/23/2023 16:33:01.630 received from 10.123.245.20:5060 using udp

ACK sip:anynode;maddr=10.123.244.161 SIP/2.0
Call-Id: 1bfc2b6b-6d62-44d5-a316-b72cd48d3c98
Content-Length: 0
Cseq: 8560 ACK
From: sip:[email protected];tag=4b8ed7d0-7324-4328-bc08-4401543c61e8
Max-Forwards: 70
To: sip:[email protected];tag=18BFFFE8041F6ABF7E5040DF59DE3D0E
User-Agent: TFPBX-16.0.40.7(20.3.0)
Via: SIP/2.0/UDP 10.123.245.20:5060;received=10.123.245.20;branch=z9hG4bKPj62fe0b79-75c1-440e-8866-17be9a1537c0
Content-Length: 0

10/23/2023 16:33:02.112 received from 10.123.245.20:5060 using udp

BYE sip:anynode;maddr=10.123.244.161 SIP/2.0
Call-Id: 1bfc2b6b-6d62-44d5-a316-b72cd48d3c98
Content-Length: 0
Cseq: 8561 BYE
From: sip:[email protected];tag=4b8ed7d0-7324-4328-bc08-4401543c61e8
Max-Forwards: 70
Reason: Q.850;cause=16
To: sip:[email protected];tag=18BFFFE8041F6ABF7E5040DF59DE3D0E
User-Agent: TFPBX-16.0.40.7(20.3.0)
Via: SIP/2.0/UDP 10.123.245.20:5060;received=10.123.245.20;branch=z9hG4bKPj263fd4ed-5acd-4782-a591-e43afdc26911
Content-Length: 0

Is this a mismatch? or a trunk settng.

Its a pjsip trunk.

I have set to use ulaw only. so should be codec issue.

The other item is the ports are within allowed range.

so What am I missing?

You need to show the actual Asterisk console output.

-- Remote UNIX connection
-- Remote UNIX connection disconnected

== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio CoS mark 5
– Executing [832897@from-internal:1] Macro(“PJSIP/32897-00000067”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“PJSIP/32897-00000067”, “TOUCH_MONITOR=1698085368.103”) in new stack
– Executing [s@macro-user-callerid:2] Set(“PJSIP/32897-00000067”, “CHANCONTEXT=”) in new stack
– Executing [s@macro-user-callerid:3] Set(“PJSIP/32897-00000067”, “CHANCONTEXT=”) in new stack
– Executing [s@macro-user-callerid:4] Set(“PJSIP/32897-00000067”, “CHANEXTENCONTEXT=32897-00000067”) in new stack
– Executing [s@macro-user-callerid:5] Set(“PJSIP/32897-00000067”, “CHANEXTEN=32897-00000067”) in new stack
– Executing [s@macro-user-callerid:6] Set(“PJSIP/32897-00000067”, “CALLERID(number)=32897”) in new stack
– Executing [s@macro-user-callerid:7] Set(“PJSIP/32897-00000067”, “AMPUSER=32897”) in new stack
– Executing [s@macro-user-callerid:8] Set(“PJSIP/32897-00000067”, “HOTDESCKCHAN=32897-00000067”) in new stack
– Executing [s@macro-user-callerid:9] Set(“PJSIP/32897-00000067”, “HOTDESKEXTEN=32897”) in new stack
– Executing [s@macro-user-callerid:10] Set(“PJSIP/32897-00000067”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:11] ExecIf(“PJSIP/32897-00000067”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/32897-00000067”, “0?report”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/32897-00000067”, “1?Set(REALCALLERIDNUM=32897)”) in new stack
– Executing [s@macro-user-callerid:15] Set(“PJSIP/32897-00000067”, “AMPUSER=32897”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“PJSIP/32897-00000067”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:17] Set(“PJSIP/32897-00000067”, “AMPUSERCIDNAME=Daniel Siemens”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/32897-00000067”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/32897-00000067”, “0?report”) in new stack
– Executing [s@macro-user-callerid:20] Set(“PJSIP/32897-00000067”, “AMPUSERCID=32897”) in new stack
– Executing [s@macro-user-callerid:21] Set(“PJSIP/32897-00000067”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-user-callerid:22] Set(“PJSIP/32897-00000067”, “CALLERID(all)=“Daniel Siemens” <32897>”) in new stack
– Executing [s@macro-user-callerid:23] ExecIf(“PJSIP/32897-00000067”, “0?Set(CUSDIAL=)”) in new stack
– Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(all)=“Daniel Siemens” <32897>)”) in new stack
– Executing [s@macro-user-callerid:25] GotoIf(“PJSIP/32897-00000067”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:26] ExecIf(“PJSIP/32897-00000067”, “1?Set(GROUP(concurrency_limit)=32897)”) in new stack
– Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/32897-00000067”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:28] NoOp(“PJSIP/32897-00000067”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:29] GotoIf(“PJSIP/32897-00000067”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/32897-00000067”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,49)
– Executing [s@macro-user-callerid:49] Set(“PJSIP/32897-00000067”, “CALLERID(number)=32897”) in new stack
– Executing [s@macro-user-callerid:50] Set(“PJSIP/32897-00000067”, “CALLERID(name)=Daniel Siemens”) in new stack
– Executing [s@macro-user-callerid:51] GotoIf(“PJSIP/32897-00000067”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:52] Set(“PJSIP/32897-00000067”, “__MCNUM=32897”) in new stack
– Executing [s@macro-user-callerid:53] Set(“PJSIP/32897-00000067”, “__MCNAME=Daniel Siemens”) in new stack
– Executing [s@macro-user-callerid:54] Set(“PJSIP/32897-00000067”, “__MCEXTEN=32897”) in new stack
– Executing [s@macro-user-callerid:55] Set(“PJSIP/32897-00000067”, “__MCORGCHAN=PJSIP/32897-00000067”) in new stack
– Executing [s@macro-user-callerid:56] Set(“PJSIP/32897-00000067”, “CDR(cnam)=user”) in new stack
– Executing [s@macro-user-callerid:57] Set(“PJSIP/32897-00000067”, “CDR(cnum)=32897”) in new stack
– Executing [s@macro-user-callerid:58] Set(“PJSIP/32897-00000067”, “CHANNEL(language)=en”) in new stack
– Executing [832897@from-internal:2] Gosub(“PJSIP/32897-00000067”, “sub-record-check,s,1(out,832897,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“PJSIP/32897-00000067”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“PJSIP/32897-00000067”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“PJSIP/32897-00000067”, “NOW=1698085368”) in new stack
– Executing [s@sub-record-check:4] Set(“PJSIP/32897-00000067”, “__DAY=23”) in new stack
– Executing [s@sub-record-check:5] Set(“PJSIP/32897-00000067”, “__MONTH=10”) in new stack
– Executing [s@sub-record-check:6] Set(“PJSIP/32897-00000067”, “__YEAR=2023”) in new stack
– Executing [s@sub-record-check:7] Set(“PJSIP/32897-00000067”, “__TIMESTR=20231023-132248”) in new stack
– Executing [s@sub-record-check:8] Set(“PJSIP/32897-00000067”, “__FROMEXTEN=32897”) in new stack
– Executing [s@sub-record-check:9] Set(“PJSIP/32897-00000067”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“PJSIP/32897-00000067”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“PJSIP/32897-00000067”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“PJSIP/32897-00000067”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“PJSIP/32897-00000067”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“PJSIP/32897-00000067”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“PJSIP/32897-00000067”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“PJSIP/32897-00000067”, “Outbound Recording Check from 32897 to 832897”) in new stack
– Executing [out@sub-record-check:2] Set(“PJSIP/32897-00000067”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“PJSIP/32897-00000067”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“PJSIP/32897-00000067”, “recordcheck,1(dontcare,out,832897)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/32897-00000067”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/32897-00000067”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“PJSIP/32897-00000067”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“PJSIP/32897-00000067”, “”) in new stack
– Executing [832897@from-internal:3] NoOp(“PJSIP/32897-00000067”, “TRACE Calling Out Route: 8toingate”) in new stack
– Executing [832897@from-internal:4] ExecIf(“PJSIP/32897-00000067”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [832897@from-internal:5] Set(“PJSIP/32897-00000067”, “_ROUTEID=51”) in new stack
– Executing [832897@from-internal:6] Set(“PJSIP/32897-00000067”, “_ROUTENAME=8toingate”) in new stack
– Executing [832897@from-internal:7] Set(“PJSIP/32897-00000067”, “MOHCLASS=default”) in new stack
– Executing [832897@from-internal:8] Set(“PJSIP/32897-00000067”, “_CALLERIDNAMEINTERNAL=Daniel Siemens”) in new stack
– Executing [832897@from-internal:9] Set(“PJSIP/32897-00000067”, “_CALLERIDNUMINTERNAL=32897”) in new stack
– Executing [832897@from-internal:10] Set(“PJSIP/32897-00000067”, “_EMAILNOTIFICATION=FALSE”) in new stack
– Executing [832897@from-internal:11] Set(“PJSIP/32897-00000067”, “_NODEST=”) in new stack
– Executing [832897@from-internal:12] Macro(“PJSIP/32897-00000067”, “dialout-trunk,3,32897,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“PJSIP/32897-00000067”, “DIAL_TRUNK=3”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/32897-00000067”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/32897-00000067”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(num)=32897)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/32897-00000067”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“PJSIP/32897-00000067”, “DIAL_NUMBER=32897”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“PJSIP/32897-00000067”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“PJSIP/32897-00000067”, “OUTBOUND_GROUP=OUT_3”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“PJSIP/32897-00000067”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/32897-00000067”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:11] GotoIf(“PJSIP/32897-00000067”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/32897-00000067”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/32897-00000067”, “outbound-callerid,3”) in new stack
– Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/32897-00000067”, “32897”) in new stack
– Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/32897-00000067”, “”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/32897-00000067”, “all”) in new stack
– Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“PJSIP/32897-00000067”, “HOTDESCKCHAN=32897-00000067”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“PJSIP/32897-00000067”, “HOTDESKEXTEN=32897”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“PJSIP/32897-00000067”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/32897-00000067”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“PJSIP/32897-00000067”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/32897-00000067”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/32897-00000067”, “0?Hangup()”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/32897-00000067”, “0?Set(REALCALLERIDNUM=32897)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/32897-00000067”, “0?Set(AMPUSER=32897)”) in new stack
– Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/32897-00000067”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Executing [s@macro-outbound-callerid:20] Set(“PJSIP/32897-00000067”, “USEROUTCID=9132676897”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“PJSIP/32897-00000067”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/32897-00000067”, “0?Set(EMERGENCYCID=)”) in new stack
– Executing [s@macro-outbound-callerid:23] Set(“PJSIP/32897-00000067”, “TRUNKOUTCID=9134512400”) in new stack
– Executing [s@macro-outbound-callerid:24] GotoIf(“PJSIP/32897-00000067”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,30)
– Executing [s@macro-outbound-callerid:30] ExecIf(“PJSIP/32897-00000067”, “1?Set(CALLERID(all)=9134512400)”) in new stack
– Executing [s@macro-outbound-callerid:31] ExecIf(“PJSIP/32897-00000067”, “1?Set(CALLERID(all)=9132676897)”) in new stack
– Executing [s@macro-outbound-callerid:32] ExecIf(“PJSIP/32897-00000067”, “1?Set(CALLERID(all)=9134512400)”) in new stack
– Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(all)=32897)”) in new stack
– Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(all)=32897)”) in new stack
– Executing [s@macro-outbound-callerid:35] Set(“PJSIP/32897-00000067”, “TIOHIDE=no”) in new stack
– Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:38] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/32897-00000067”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:40] Set(“PJSIP/32897-00000067”, “CDR(outbound_cnum)=9134512400”) in new stack
– Executing [s@macro-outbound-callerid:41] Set(“PJSIP/32897-00000067”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/32897-00000067”, “1?sub-flp-3,s,1()”) in new stack
– Executing [s@sub-flp-3:1] ExecIf(“PJSIP/32897-00000067”, “1?Return()”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“PJSIP/32897-00000067”, “OUTNUM=32897”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“PJSIP/32897-00000067”, “custom=PJSIP”) in new stack
– Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/32897-00000067”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/32897-00000067”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/32897-00000067”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/32897-00000067”, “”) in new stack
– Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/32897-00000067”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/32897-00000067”, “1?Set(CONNECTEDLINE(num,i)=32897)”) in new stack
– Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/32897-00000067”, “1?Set(CONNECTEDLINE(name,i)=CID:9134512400)”) in new stack
– Executing [s@macro-dialout-trunk:23] ExecIf(“PJSIP/32897-00000067”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)9134512400)”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/32897-00000067”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:25] ExecIf(“PJSIP/32897-00000067”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
– Executing [s@macro-dialout-trunk:26] Set(“PJSIP/32897-00000067”, “CIDSFSCHEME=QUxMfEFMTA==”) in new stack
– Executing [s@macro-dialout-trunk:27] Set(“PJSIP/32897-00000067”, “temp1=”) in new stack
– Executing [s@macro-dialout-trunk:28] Set(“PJSIP/32897-00000067”, “CALLERID(name)=”) in new stack
– Executing [s@macro-dialout-trunk:29] Set(“PJSIP/32897-00000067”, “temp2=Xnnnnnnnn”) in new stack
– Executing [s@macro-dialout-trunk:30] Set(“PJSIP/32897-00000067”, “CALLERID(number)=32897”) in new stack
– Executing [s@macro-dialout-trunk:31] AGI(“PJSIP/32897-00000067”, “agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi”) in new stack
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Executing Scheme…
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Scheme Asked is: ALL
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: The DID is: s
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNUM is: 32897
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: The CNAME is: unknown
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi:
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Starting scheme Default
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Caller ID before mb_substr: , length: 0, mb_strlen: 0
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Caller ID after mb_substr: , length: 0, mb_strlen: 0
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: No callerid found
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting channel variable SUPERFECTA_NEW: unknown
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Setting channel variable SUPERFECTA_OLD: unknown
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Determined to be: ‘unknown’
agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi: Attempting to set lookupcid
– <PJSIP/32897-00000067>AGI Script agi://127.0.0.1//var/www/html/admin/modules/superfecta/agi/superfecta.agi completed, returning 0
– Executing [s@macro-dialout-trunk:32] Set(“PJSIP/32897-00000067”, “CALLERID(name)=”) in new stack
– Executing [s@macro-dialout-trunk:33] Set(“PJSIP/32897-00000067”, “CALLERID(number)=9134512400”) in new stack
– Executing [s@macro-dialout-trunk:34] Set(“PJSIP/32897-00000067”, “CDR(userfield,r)=unknown”) in new stack
[2023-10-23 13:22:50] WARNING[21507]: app.c:3114 parse_options: Unrecognized option: ‘r’
– Executing [s@macro-dialout-trunk:35] Set(“PJSIP/32897-00000067”, “CONNECTEDLINE(name,i)=unknown”) in new stack
– Executing [s@macro-dialout-trunk:36] Set(“PJSIP/32897-00000067”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
– Executing [s@macro-dialout-trunk:37] Dial(“PJSIP/32897-00000067”, “PJSIP/32897@anynode,300,Tb(func-apply-sipheaders^s^1,(3))U(sub-send-obroute-email^32897^832897^3^1698085368^^9134512400)”) in new stack
– PJSIP/anynode-00000068 Internal Gosub(func-apply-sipheaders,s,1(3)) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/anynode-00000068”, “Applying SIP Headers to channel PJSIP/anynode-00000068”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/anynode-00000068”, “localchan=anynode-00000068”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/anynode-00000068”, “DialMCEXT=anynode”) in new stack
– Executing [s@func-apply-sipheaders:4] Set(“PJSIP/anynode-00000068”, “CHANNEL(hangup_handler_push)=app-missedcall-hangup,anynode,1”) in new stack
– Executing [s@func-apply-sipheaders:5] Set(“PJSIP/anynode-00000068”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:6] Set(“PJSIP/anynode-00000068”, “SIPHEADERKEYS=Alert-Info”) in new stack
– Executing [s@func-apply-sipheaders:7] While(“PJSIP/anynode-00000068”, “1”) in new stack
– Executing [s@func-apply-sipheaders:8] Set(“PJSIP/anynode-00000068”, “sipheader=unset”) in new stack
– Executing [s@func-apply-sipheaders:9] ExecIf(“PJSIP/anynode-00000068”, “1?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2023-10-23 13:22:50] ERROR[554]: res_pjsip_header_funcs.c:717 remove_header: No headers had been previously added to this session.
– Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/anynode-00000068”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
– Executing [s@func-apply-sipheaders:11] ExecIf(“PJSIP/anynode-00000068”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
– Executing [s@func-apply-sipheaders:12] ExecIf(“PJSIP/anynode-00000068”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
– Executing [s@func-apply-sipheaders:13] EndWhile(“PJSIP/anynode-00000068”, “”) in new stack
– Executing [s@func-apply-sipheaders:7] While(“PJSIP/anynode-00000068”, “0”) in new stack
– Executing [s@func-apply-sipheaders:14] Return(“PJSIP/anynode-00000068”, “”) in new stack
== Spawn extension (func-apply-sipheaders, s, 14) exited non-zero on ‘PJSIP/anynode-00000068’
– PJSIP/anynode-00000068 Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
– Called PJSIP/32897@anynode
– PJSIP/anynode-00000068 is ringing
– PJSIP/anynode-00000068 answered PJSIP/32897-00000067
– PJSIP/anynode-00000068 Internal Gosub(sub-send-obroute-email,s,1(32897,832897,3,1698085368,9134512400)) start
– Executing [s@sub-send-obroute-email:1] GotoIf(“PJSIP/anynode-00000068”, “0?sendEmail”) in new stack
– Executing [s@sub-send-obroute-email:2] NoOp(“PJSIP/anynode-00000068”, “email notifications disabled…exiting.”) in new stack
– Executing [s@sub-send-obroute-email:3] Return(“PJSIP/anynode-00000068”, “”) in new stack
== Spawn extension (sub-send-obroute-email, s, 3) exited non-zero on ‘PJSIP/anynode-00000068’
– PJSIP/anynode-00000068 Internal Gosub(sub-send-obroute-email,s,1(32897,832897,3,1698085368,9134512400)) complete GOSUB_RETVAL=
– Channel PJSIP/anynode-00000068 joined ‘simple_bridge’ basic-bridge
– Channel PJSIP/32897-00000067 joined ‘simple_bridge’ basic-bridge
– Channel PJSIP/32897-00000067 left ‘simple_bridge’ basic-bridge
== Spawn extension (macro-dialout-trunk, s, 37) exited non-zero on ‘PJSIP/32897-00000067’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 832897, 12) exited non-zero on ‘PJSIP/32897-00000067’
– Executing [h@from-internal:1] Macro(“PJSIP/32897-00000067”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] Set(“PJSIP/32897-00000067”, “__MCVMSTATUS=”) in new stack
– Executing [s@macro-hangupcall:2] Gosub(“PJSIP/32897-00000067”, “app-missedcall-hangup,s,1()”) in new stack
– Executing [s@app-missedcall-hangup:1] NoOp(“PJSIP/32897-00000067”, “Dialed: s”) in new stack
– Executing [s@app-missedcall-hangup:2] NoOp(“PJSIP/32897-00000067”, “Caller: 32897”) in new stack
– Executing [s@app-missedcall-hangup:3] GotoIf(“PJSIP/32897-00000067”, “0?exit”) in new stack
– Executing [s@app-missedcall-hangup:4] Set(“PJSIP/32897-00000067”, “EXTENNUM=s”) in new stack
– Executing [s@app-missedcall-hangup:5] Set(“PJSIP/32897-00000067”, “FEXTENNUM=s”) in new stack
– Executing [s@app-missedcall-hangup:6] GotoIf(“PJSIP/32897-00000067”, “0?exit”) in new stack
– Executing [s@app-missedcall-hangup:7] AGI(“PJSIP/32897-00000067”, “agi://127.0.0.1/missedcallnotify.php,s,s,0,PJSIP/32897-00000067,ANSWER,”) in new stack
– Channel PJSIP/anynode-00000068 left ‘simple_bridge’ basic-bridge
– PJSIP/anynode-00000068 Internal Gosub(app-missedcall-hangup,anynode,1) start
– Executing [anynode@app-missedcall-hangup:1] NoOp(“PJSIP/anynode-00000068”, “Dialed: anynode”) in new stack
– Executing [anynode@app-missedcall-hangup:2] NoOp(“PJSIP/anynode-00000068”, “Caller: 32897”) in new stack
– Executing [anynode@app-missedcall-hangup:3] GotoIf(“PJSIP/anynode-00000068”, “0?exit”) in new stack
– Executing [anynode@app-missedcall-hangup:4] Set(“PJSIP/anynode-00000068”, “EXTENNUM=anynode”) in new stack
– Executing [anynode@app-missedcall-hangup:5] Set(“PJSIP/anynode-00000068”, “FEXTENNUM=anynode”) in new stack
– Executing [anynode@app-missedcall-hangup:6] GotoIf(“PJSIP/anynode-00000068”, “0?exit”) in new stack
– Executing [anynode@app-missedcall-hangup:7] AGI(“PJSIP/anynode-00000068”, “agi://127.0.0.1/missedcallnotify.php,anynode,anynode,0,PJSIP/anynode-00000068,”) in new stack
– <PJSIP/anynode-00000068>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
– Executing [anynode@app-missedcall-hangup:8] Return(“PJSIP/anynode-00000068”, “”) in new stack
== Spawn extension (app-missedcall-hangup, anynode, 8) exited non-zero on ‘PJSIP/anynode-00000068’
– PJSIP/anynode-00000068 Internal Gosub(app-missedcall-hangup,anynode,1) complete GOSUB_RETVAL=
– <PJSIP/32897-00000067>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
– Executing [s@app-missedcall-hangup:8] Return(“PJSIP/32897-00000067”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“PJSIP/32897-00000067”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,5)
[2023-10-23 13:22:55] ERROR[21507]: cdr.c:3397 ast_cdr_getvar: Unable to find CDR for channel PJSIP/32897-00000067
– Executing [s@macro-hangupcall:5] ExecIf(“PJSIP/32897-00000067”, “0?Set(CDR(recordingfile)=)”) in new stack
[2023-10-23 13:22:55] ERROR[21507]: cdr.c:3397 ast_cdr_getvar: Unable to find CDR for channel PJSIP/32897-00000067
– Executing [s@macro-hangupcall:6] Hangup(“PJSIP/32897-00000067”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/32897-00000067’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/32897-00000067’

Your problem would be with device “32897” it seems in some way. Looking at that SIP signaling may give more info.

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