TANDOM call no CLID at far end

Running freePBX on three systems.
sys1 freepbx 16 asterisk 18, sys2 freepbx 15 asterisk 18, sys3 freepbx 16 asterisk 19.

setup
sys1 IAX2 to sys2, sys3 IAX2 sys2

All calls between all systems going in any direction complete and voice cut thru. When sys1 calls sys2 CLID is correct (bidirectionally) the same is true for sys3 to sys2.

Problem with CLID when sys1 calls sys3 set on sys3 gets trunk default CLID.

Any helper ideas to try would be most appreciated!
Jeff

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII

I can not post the output?

Can I email to you?

Post the pastebin link in preformatted text

https://google.com/search

Welcome to the forum. You should be able to post links now.

Thank you please see below here is the output: I do have an endpoint which is not registered – the problem is the callerid being TANDM thru this server from xxx.xxx.xxx.180 to xxx.xxx.1.190. endpoint on xxx.xxx.1.190 is a UNISTIM endpoint.

[[email protected] ~]# tail -f /var/log/asterisk/full

[2022-05-04 09:26:49] WARNING[24474] res_pjsip_registrar.c: AOR ‘Home’ has no configured max_contacts. Endpoint ‘Home’ (192.168.0.248:5061) unable to register

[2022-05-04 09:27:23] ERROR[2311] netsock2.c: getaddrinfo(“public 192.168.0.180”, “(null)”, …): Name or service not known

[2022-05-04 09:27:23] WARNING[2311] acl.c: Unable to lookup ‘public 192.168.0.180’

[2022-05-04 09:28:49] WARNING[31414] res_pjsip_registrar.c: AOR ‘Home’ has no configured max_contacts. Endpoint ‘Home’ (192.168.0.248:5061) unable to register

[2022-05-04 09:30:49] WARNING[24474] res_pjsip_registrar.c: AOR ‘Home’ has no configured max_contacts. Endpoint ‘Home’ (192.168.0.248:5061) unable to register

[2022-05-04 09:32:23] ERROR[2311] netsock2.c: getaddrinfo(“public 192.168.0.180”, “(null)”, …): Name or service not known

[2022-05-04 09:32:23] WARNING[2311] acl.c: Unable to lookup ‘public 192.168.0.180’

[2022-05-04 09:32:49] WARNING[24474] res_pjsip_registrar.c: AOR ‘Home’ has no configured max_contacts. Endpoint ‘Home’ (192.168.0.248:5061) unable to register

[2022-05-04 09:34:49] WARNING[31301] res_pjsip_registrar.c: AOR ‘Home’ has no configured max_contacts. Endpoint ‘Home’ (192.168.0.248:5061) unable to register

[2022-05-04 09:36:49] WARNING[31301] res_pjsip_registrar.c: AOR ‘Home’ has no configured max_contacts. Endpoint ‘Home’ (192.168.0.248:5061) unable to register

[2022-05-04 09:37:23] ERROR[2311] netsock2.c: getaddrinfo(“public 192.168.0.180”, “(null)”, …): Name or service not known

[2022-05-04 09:37:23] WARNING[2311] acl.c: Unable to lookup ‘public 192.168.0.180’

[2022-05-04 09:37:29] VERBOSE[2440] chan_iax2.c: Accepting AUTHENTICATED call from 192.168.0.180:4569:

requested format = ulaw,

requested prefs = (ulaw|alaw|gsm),

actual format = ulaw,

host prefs = (ulaw|alaw|gsm),

priority = mine

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] Macro(“IAX2/system2-6092”, “user-callerid,LIMIT,EXTERNAL,”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] Set(“IAX2/system2-6092”, “TOUCH_MONITOR=1651671449.706”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] Set(“IAX2/system2-6092”, “CHANCONTEXT=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] Set(“IAX2/system2-6092”, “CHANCONTEXT=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] Set(“IAX2/system2-6092”, “CHANEXTENCONTEXT=system2-6092”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] Set(“IAX2/system2-6092”, “CHANEXTEN=system2-6092”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system2-6092”, “CALLERID(number)=3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] Set(“IAX2/system2-6092”, “AMPUSER=3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Set(“IAX2/system2-6092”, “HOTDESCKCHAN=system2-6092”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:9] Set(“IAX2/system2-6092”, “HOTDESKEXTEN=system2”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:10] Set(“IAX2/system2-6092”, “HOTDESKCALL=0”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:11] ExecIf(“IAX2/system2-6092”, “0?Set(HOTDESKCALL=1)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:12] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(name)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:13] GotoIf(“IAX2/system2-6092”, “0?report”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:14] ExecIf(“IAX2/system2-6092”, “1?Set(REALCALLERIDNUM=3001)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:15] Set(“IAX2/system2-6092”, “AMPUSER=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:16] GotoIf(“IAX2/system2-6092”, “0?limit”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:17] Set(“IAX2/system2-6092”, “AMPUSERCIDNAME=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:18] ExecIf(“IAX2/system2-6092”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:19] GotoIf(“IAX2/system2-6092”, “1?report”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-user-callerid,s,28)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:28] NoOp(“IAX2/system2-6092”, “Macro Depth is 1”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:29] GotoIf(“IAX2/system2-6092”, “1?report2:macroerror”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-user-callerid,s,30)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:30] GotoIf(“IAX2/system2-6092”, “1?continue”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-user-callerid,s,49)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:49] Set(“IAX2/system2-6092”, “CALLERID(number)=3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:50] Set(“IAX2/system2-6092”, “CALLERID(name)=Jeff-sip”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:51] GotoIf(“IAX2/system2-6092”, “0?cnum”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:52] Set(“IAX2/system2-6092”, “CDR(cnam)=Jeff-sip”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:53] Set(“IAX2/system2-6092”, “CDR(cnum)=3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:54] Set(“IAX2/system2-6092”, “CHANNEL(language)=en”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] Gosub(“IAX2/system2-6092”, “sub-record-check,s,1(out,3179,dontcare)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] GotoIf(“IAX2/system2-6092”, “0?initialized”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] Set(“IAX2/system2-6092”, “__REC_STATUS=INITIALIZED”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] Set(“IAX2/system2-6092”, “NOW=1651671449”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] Set(“IAX2/system2-6092”, “__DAY=04”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] Set(“IAX2/system2-6092”, “__MONTH=05”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system2-6092”, “__YEAR=2022”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] Set(“IAX2/system2-6092”, “__TIMESTR=20220504-093729”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Set(“IAX2/system2-6092”, “__FROMEXTEN=3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:9] Set(“IAX2/system2-6092”, “__MON_FMT=wav”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:10] NoOp(“IAX2/system2-6092”, “Recordings initialized”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:11] ExecIf(“IAX2/system2-6092”, “0?Set(ARG3=dontcare)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:12] Set(“IAX2/system2-6092”, “REC_POLICY_MODE_SAVE=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:13] ExecIf(“IAX2/system2-6092”, “0?Set(REC_STATUS=NO)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:14] GotoIf(“IAX2/system2-6092”, “3?checkaction”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (sub-record-check,s,17)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:17] GotoIf(“IAX2/system2-6092”, “1?sub-record-check,out,1”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (sub-record-check,out,1)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] NoOp(“IAX2/system2-6092”, “Outbound Recording Check from 3001 to 3179”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] Set(“IAX2/system2-6092”, “RECMODE=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] ExecIf(“IAX2/system2-6092”, “1?Goto(routewins)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (sub-record-check,out,7)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] Gosub(“IAX2/system2-6092”, “recordcheck,1(dontcare,out,3179)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] NoOp(“IAX2/system2-6092”, “Starting recording check against dontcare”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] Goto(“IAX2/system2-6092”, “dontcare”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] Return(“IAX2/system2-6092”, “”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Return(“IAX2/system2-6092”, “”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] ExecIf(“IAX2/system2-6092”, “0 ?Set(CDR(accountcode)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] Set(“IAX2/system2-6092”, “_ROUTEID=11”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] Set(“IAX2/system2-6092”, “_ROUTENAME=mobile”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system2-6092”, “MOHCLASS=default”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] Set(“IAX2/system2-6092”, “_CALLERIDNAMEINTERNAL=Jeff-sip”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Set(“IAX2/system2-6092”, “_CALLERIDNUMINTERNAL=3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:9] Set(“IAX2/system2-6092”, “_EMAILNOTIFICATION=FALSE”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:10] Set(“IAX2/system2-6092”, “_NODEST=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:11] Macro(“IAX2/system2-6092”, “dialout-trunk,6,3179,off”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] Set(“IAX2/system2-6092”, “DIAL_TRUNK=6”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] ExecIf(“IAX2/system2-6092”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] GosubIf(“IAX2/system2-6092”, “0?sub-pincheck,s,1()”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(num)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] GotoIf(“IAX2/system2-6092”, “0?disabletrunk,1”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system2-6092”, “DIAL_NUMBER=3179”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] Set(“IAX2/system2-6092”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Set(“IAX2/system2-6092”, “OUTBOUND_GROUP=OUT_6”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:9] Set(“IAX2/system2-6092”, “DIAL_TRUNK_OPTIONS=T”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:10] GotoIf(“IAX2/system2-6092”, “1?nomax”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:12] GotoIf(“IAX2/system2-6092”, “0?skipoutcid”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:13] Macro(“IAX2/system2-6092”, “outbound-callerid,6”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] NoOp(“IAX2/system2-6092”, “3001”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] NoOp(“IAX2/system2-6092”, “”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] NoOp(“IAX2/system2-6092”, “off”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(name-pres)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(num-pres)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system2-6092”, “HOTDESCKCHAN=system2-6092”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] Set(“IAX2/system2-6092”, “HOTDESKEXTEN=system2”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Set(“IAX2/system2-6092”, “HOTDESKCALL=0”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:9] ExecIf(“IAX2/system2-6092”, “0?Set(HOTDESKCALL=1)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:10] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(name)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:11] Set(“IAX2/system2-6092”, “ALLOWTHISROUTE=NO”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:12] ExecIf(“IAX2/system2-6092”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:13] ExecIf(“IAX2/system2-6092”, “0?Hangup()”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:14] ExecIf(“IAX2/system2-6092”, “0?Set(REALCALLERIDNUM=3001)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:15] ExecIf(“IAX2/system2-6092”, “0?Set(AMPUSER=3001)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:16] GotoIf(“IAX2/system2-6092”, “1?normcid”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:20] Set(“IAX2/system2-6092”, “USEROUTCID=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:21] Set(“IAX2/system2-6092”, “EMERGENCYCID=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:22] ExecIf(“IAX2/system2-6092”, “0?Set(EMERGENCYCID=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:23] Set(“IAX2/system2-6092”, “TRUNKOUTCID=sys3<3>”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:24] GotoIf(“IAX2/system2-6092”, “1?trunkcid”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:30] ExecIf(“IAX2/system2-6092”, “1?Set(CALLERID(all)=sys3<3>)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:31] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(all)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:32] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(all)=)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:33] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(all)=3001)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:34] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(all)=3001)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:35] Set(“IAX2/system2-6092”, “TIOHIDE=no”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:36] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:37] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:38] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:39] ExecIf(“IAX2/system2-6092”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:40] Set(“IAX2/system2-6092”, “CDR(outbound_cnum)=3”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:41] Set(“IAX2/system2-6092”, “CDR(outbound_cnam)=sys3”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:14] GosubIf(“IAX2/system2-6092”, “0?sub-flp-6,s,1()”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:15] Set(“IAX2/system2-6092”, “OUTNUM=3179”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:16] Set(“IAX2/system2-6092”, “custom=IAX2/system3”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:17] ExecIf(“IAX2/system2-6092”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:18] ExecIf(“IAX2/system2-6092”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:19] Macro(“IAX2/system2-6092”, “dialout-trunk-predial-hook,”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] MacroExit(“IAX2/system2-6092”, “”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:20] GotoIf(“IAX2/system2-6092”, “0?skipcrm”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:21] Set(“IAX2/system2-6092”, “__CRM_DIRECTION=OUTBOUND”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:22] Set(“IAX2/system2-6092”, “__CRM_DESTINATION=3179”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:23] Set(“IAX2/system2-6092”, “__CRM_SOURCE=”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:24] AGI(“IAX2/system2-6092”, “sangomacrm.agi”) in new stack

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] res_agi.c: <IAX2/system2-6092>AGI Script sangomacrm.agi completed, returning 0

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:25] Set(“IAX2/system2-6092”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:26] NoOp(“IAX2/system2-6092”, “CRM Finished”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:27] GotoIf(“IAX2/system2-6092”, “0?bypass,1”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:28] ExecIf(“IAX2/system2-6092”, “0?Set(CONNECTEDLINE(num,i)=3179)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:29] ExecIf(“IAX2/system2-6092”, “0?Set(CONNECTEDLINE(name,i)=CID:3)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:30] ExecIf(“IAX2/system2-6092”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)3)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:31] GotoIf(“IAX2/system2-6092”, “0?customtrunk”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:32] ExecIf(“IAX2/system2-6092”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:33] Set(“IAX2/system2-6092”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:34] Dial(“IAX2/system2-6092”, “IAX2/system3/3179,300,Tb(func-apply-sipheaders^s^1,(6))U(sub-send-obroute-email^3179^3179^6^1651671449^sys3^3)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] app_stack.c: IAX2/system3-18311 Internal Gosub(func-apply-sipheaders,s,1(6)) start

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] ExecIf(“IAX2/system3-18311”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] NoOp(“IAX2/system3-18311”, “Applying SIP Headers to channel IAX2/system3-18311”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] Set(“IAX2/system3-18311”, “TECH=IAX2”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] Set(“IAX2/system3-18311”, “SIPHEADERKEYS=Alert-Info”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] While(“IAX2/system3-18311”, “1”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system3-18311”, “sipheader=unset”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] ExecIf(“IAX2/system3-18311”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] ExecIf(“IAX2/system3-18311”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:9] ExecIf(“IAX2/system3-18311”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:10] ExecIf(“IAX2/system3-18311”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:11] ExecIf(“IAX2/system3-18311”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:12] ExecIf(“IAX2/system3-18311”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:13] EndWhile(“IAX2/system3-18311”, “”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] While(“IAX2/system3-18311”, “0”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:14] Return(“IAX2/system3-18311”, “”) in new stack

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] app_stack.c: Spawn extension (, 3179, 1) exited non-zero on ‘IAX2/system3-18311’

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] app_stack.c: IAX2/system3-18311 Internal Gosub(func-apply-sipheaders,s,1(6)) complete GOSUB_RETVAL=

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] app_dial.c: Called IAX2/system3/3179

[2022-05-04 09:37:30] VERBOSE[2439][C-000001bd] chan_iax2.c: Call accepted by 192.168.1.190:4569 (format ulaw)

[2022-05-04 09:37:30] VERBOSE[2439][C-000001bd] chan_iax2.c: Format for call is (ulaw)

[2022-05-04 09:37:30] VERBOSE[5509][C-000001bd] app_dial.c: IAX2/system3-18311 is ringing

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] chan_iax2.c: Hungup ‘IAX2/system3-18311’

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] app_macro.c: Spawn extension (macro-dialout-trunk, s, 34) exited non-zero on ‘IAX2/system2-6092’ in macro ‘dialout-trunk’

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Spawn extension (from-internal, 3179, 11) exited non-zero on ‘IAX2/system2-6092’

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] Macro(“IAX2/system2-6092”, “hangupcall”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] GotoIf(“IAX2/system2-6092”, “1?theend”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx_builtins.c: Goto (macro-hangupcall,s,3)

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] ExecIf(“IAX2/system2-6092”, “0?Set(CDR(recordingfile)=)”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] Hangup(“IAX2/system2-6092”, “”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘IAX2/system2-6092’ in macro ‘hangupcall’

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘IAX2/system2-6092’

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] app_stack.c: IAX2/system2-6092 Internal Gosub(crm-hangup,s,1) start

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:1] NoOp(“IAX2/system2-6092”, “Sending Hangup to CRM”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:2] NoOp(“IAX2/system2-6092”, “HANGUP CAUSE: 16”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:3] ExecIf(“IAX2/system2-6092”, “0?Set(__CRM_VOICEMAIL=)”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:4] NoOp(“IAX2/system2-6092”, “MASTER CHANNEL: 1651671449.706 = 1651671449.706”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:5] GotoIf(“IAX2/system2-6092”, “0?return”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:6] Set(“IAX2/system2-6092”, “__CRM_HANGUP=1”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:7] AGI(“IAX2/system2-6092”, “sangomacrm.agi”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] res_agi.c: <IAX2/system2-6092>AGI Script sangomacrm.agi completed, returning 0

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:8] Return(“IAX2/system2-6092”, “”) in new stack

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘IAX2/system2-6092’

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] app_stack.c: IAX2/system2-6092 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

[2022-05-04 09:37:40] VERBOSE[5509][C-000001bd] chan_iax2.c: Hungup ‘IAX2/system2-6092’

[

Sharing dumps of unformatted log lines is not the best way to get assistance. Sharing a link to pastebin is preferred.

This is the line that sets CID for the outbound call:

[2022-05-04 09:37:29] VERBOSE[5509][C-000001bd] pbx.c: Executing [[email protected]:30] ExecIf(“IAX2/system2-6092”, “1?Set(CALLERID(all)=sys3<3>)”) in new stack

Which is setting the caller id number for the call as just “3”. As it’s happening in the outbound cid macro, this is an outbound route or trunk config that is setting this value.

The CLID “3” is in the trunk config and I have it set to allow any clid.

sys1 is xxx.180
sys2 is xxx.220
sys3 is 1.190

network is flat one subnet.

when I call from sys1 to sys2 no problem when I call from sys3 to sys2 no problem both work bidirectionally as well referring to CLID as well as voice. When I call from sys1 to sys3 (thru sys2) I loose CLID but voice is good. What setting would I change to enable / disable to allow CLID to flow?

Thanks Jeff

I tried removing the “outbound CLID” in TRUNK configuration in sys2 for both trunks got a warning that it is not recommended but did it anyway.

Now CLID and voice flows end to end works perfectly!

thanks for your help
Jeff

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