Hello,
I wondered if anyone could shed any light on an issues I am having with auto-answer between PJSIP extensions between two sites which are interconnected via an IAX2 trunk.
Site 1 has PJSIP extensions (1XX), and one SIP extension (9XX)
Site 2 has PJSIP extensions (2XX)
When I intercom within PJSIP extensions at Site 1, normal behavior is observed and the Yealink phones auto-answer.
Ditto at Site 2 (as long is it stays within Site 2)
However, if I attempt to intercom from Site 1 to Site 2, the extension at Site 2 rings instead of auto-answer.
The peculiar thing is that if I use a legacy SIP extension at either site the intercom auto-answer works as expected across the IAX trunk. So for example, from Site 1 with SIP extension 909 across the IAX trunk to Site 2 at PJSIP extension 201 the call auto-answers. However, Site 1 PJSIP extension 102 to Site 2 PJSIP extension 201 will only ring, not auto-answer.
Here are some logs observed from Site 2:
Successful:
https://pastebin.freepbx.org/view/97d7cd22
Unsuccessful:
https://pastebin.freepbx.org/view/c05a7102
Thank you for any advice/thoughts.