Cisco 7960 sip strange outbound failures

This is strange. I’ve installed a clean version of Freepbx16 asterisk 18.20.2 all mods updated. Have old cisco 7960s and 7940s most the G versions. firmware P0S3-8-12-00
Yealink T46 phones dial out fine but the ciscos can’t dial out specific numbers and I can’t fine a pattern to this error

Cisco 7960G asterisk/full log
[2025-04-10 16:44:03] VERBOSE[15997] netsock2.c: Using SIP RTP Audio TOS bits 184
[2025-04-10 16:44:03] VERBOSE[15997] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2025-04-10 16:44:03] VERBOSE[15997] netsock2.c: Using SIP RTP Audio CoS mark 5
[2025-04-10 16:44:03] VERBOSE[23491][C-00000013] pbx.c: Executing [5200952@from-internal:1] ResetCDR(“PJSIP/214-0000002b”, “”) in new stack
[2025-04-10 16:44:03] VERBOSE[23491][C-00000013] pbx.c: Executing [5200952@from-internal:2] NoCDR(“PJSIP/214-0000002b”, “”) in new stack
[2025-04-10 16:44:03] VERBOSE[23491][C-00000013] pbx.c: Executing [5200952@from-internal:3] Progress(“PJSIP/214-0000002b”, “”) in new stack
[2025-04-10 16:44:03] VERBOSE[23491][C-00000013] pbx.c: Executing [5200952@from-internal:4] Wait(“PJSIP/214-0000002b”, “1”) in new stack
[2025-04-10 16:44:04] VERBOSE[23491][C-00000013] pbx.c: Executing [5200952@from-internal:5] Playback(“PJSIP/214-0000002b”, "silence/1&cannot-complete-as-dialed&check-number-dial-again,noansw
[2025-04-10 16:44:04] VERBOSE[23491][C-00000013] file.c: <PJSIP/214-0000002b> Playing ‘silence/1.ulaw’ (language ‘en’)
[2025-04-10 16:44:05] VERBOSE[23491][C-00000013] file.c: <PJSIP/214-0000002b> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2025-04-10 16:44:06] VERBOSE[23491][C-00000013] pbx.c: Spawn extension (from-internal, 5200952, 5) exited non-zero on ‘PJSIP/214-0000002b’

Yealink T46 SIP asterisk/full log
2025-04-11 00:52:46] VERBOSE[29481] netsock2.c: Using SIP RTP Audio TOS bits 184
[2025-04-11 00:52:46] VERBOSE[29481] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2025-04-11 00:52:46] VERBOSE[29481] netsock2.c: Using SIP RTP Audio CoS mark 5
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [5200952@from-internal:1] Macro(“PJSIP/214-00000036”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/214-00000036”, “TOUCH_MONITOR=1744350766.77”) in new stack
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/214-00000036”, “CHANCONTEXT=”) in new stack
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [s@macro-user-callerid:3] Set(“PJSIP/214-00000036”, “CHANCONTEXT=”) in new stack
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/214-00000036”, “CHANEXTENCONTEXT=214-00000036”) in new stack
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/214-00000036”, “CHANEXTEN=214-00000036”) in new stack
[2025-04-11 00:52:46] VERBOSE[26535][C-00000021] pbx.c: Executing [s@macro-user-callerid:6] Set(“PJSIP/214-00000036”, “CALLERID(number)=214”) in new stack

You can see that the cisco phone does not trigger the macro and go outbound. What would be my next step besides throwing the ciscos in the trash.

Any ideas would be much appreciated

More info: On these cisco phones dial any 8 digit number with the last 2 digits being 97 the phone sends before the 8th digit is entered.. This sounds like a ghost or corrupt firmware.

You need to dig into the dial patterns in the Cisco config files. Those dial lrules determine what happens when you dial.

kenn10 was right. I simplified the dialplan.xml to just TEMPLATE MATCH=“*” Timeout=“5”
If you have or know of a dialplan.xml that is nice please share it with me
THANKS

Cleaning up the dialplan.xml to simply TEMPLATE MATCH=“*” Timeout=“5” fixed the 97 funny problem but I still get the “pbx.c: Executing ResetCDR” rather the “pbx.c: Executing Macro” when the cisco phones dial several phone numbers. 3451979, 5200952 and 3461360 Does the same thing if I dial 10 digits for the phone numbers or 7 or 10 digits. Can dial other number and the pbx.c: Executing Macro is run and the call is completed. Does anyone see a pattern in these numbers that may be causing the problem?

If you dial those numbers on the Cisco phone and the PBX log shows them being received exactly like that, then I’d say there is now a problem with your outbound route(s) on the PBX or the call is being rejected by your ISP. If they aren’t received on the PBX the same as dialed, then there is still a problem with your dial plan on the phone,

I like Cisco phones but I hate trying to make them work with non-Cisco phone systems. It is cheaper to buy a Yealink if you value the wasted time trying to make the Cisco phone work. That 7960 is at least 20 years old.

This might help with creating correct dial plans in the phone’s xml file. Skip down to “Creating Dial Plans”

Solution. I backed up the freepbx. Clean install freepbx16 updates done. restore and the problem persisted. I have 3 other installations that work so I took a image of a working installation. rebuilt it for this customer. checked the outgoing freq during setup and it continues to work. I have no idea where in the original setup that failed.