Регистрация агента в порядке, но что-то не так с звонками друг другу. мост после. Лучший способ повесить трубку - это продолжать звонить по кругу.
В диалплане я изменил:
<condition field="destination_number" expression="^(10[01][0-9])$">
мост к ips opensips
<action application="bridge" data="sofia/internal/$1@${domain_name}:7060"/>
msg вот так:
2019-07-04 10:50:06.711880 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@ip:8060 [fdf21545-f5a7-4310-b599-93d98e06b3e6]
2019-07-04 10:50:06.711880 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1002 in context public
2019-07-04 10:50:06.711880 [NOTICE] switch_ivr.c:2201 Transfer sofia/internal/1001@ip:8060 to XML[1002@default]
2019-07-04 10:50:06.711880 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1002 in context default
2019-07-04 10:50:06.711880 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1002@ip:8060 [6f1d5f8c-7040-41b7-ac2c-379a6b5f4888]
2019-07-04 10:50:06.731871 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1001@ip [50136227-8a62-4318-bd04-44b5e568db17]
2019-07-04 10:50:06.731871 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1002 in context public
2019-07-04 10:50:06.731871 [NOTICE] switch_ivr.c:2201 Transfer sofia/internal/1001@ip to XML[1002@default]
2019-07-04 10:50:06.731871 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1002 in context default
2019-07-04 10:50:06.731871 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1002@ip:8060 [b2e4b095-dbe0-4cd1-967f-bdfb404c50fa]