opensips proxy freeswitch实现负载平衡

时间:2019-07-04 02:56:42

标签: freeswitch opensips

代理注册是可以的,但相互调用有问题。挂断电话。挂断电话的最佳方法是保持通话。 在Dialplan中,我更改了:

<condition field="destination_number" expression="^(10[01][0-9])$">

桥接到opensips的IP

<action application="bridge" data="sofia/internal/$1@${domain_name}:7060"/>

这样的味精:

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]

0 个答案:

没有答案