This weekend I changed all my SIP drivers to PJSIP driver and everything works with one exception.
I have custom extensions that act as proxies for real extensions on a key system that is connected to my FreePBX box through an SPA-3102 adapter. I created a trunk “panasonic” connected to the SPA-3102 that is physically wired to one of the key systems extensions so that dialed numbers pushed through that trunk look like internally initiated calls to the key system. Thus calling extension 103 on the key system, the FreePBX user would dial custom extension 2103 and it would connect to the key system extension as though it was dialed from another key system physical extension (which it actually was).
To do this before, I set the custom extension dial option to “SIP/panasonic/103” which dialed extension 103 on the key system from its extension 116 which was wired to the SPA-3102.
Now with the PJSIP driver handing the “panasonic” trunk the dial option doesn’t seem to be valid. I get a warning that this can only be used on a SIP channel. I tried “PJSIP/panasonic/103” but Asterisk complains that it can’t reach the invalid SIP URI 103 and asks if it is registered.
In both drivers this produced a dialplan line that is a hint. I’m thinking the syntax to shove some digits through the panasonic trunk to dial the extension on the key system is simply different now but I have no idea where to start looking.