星号指的是新的 IP 地址
Asterisk Refer to new IP address
我有一个 issue/trying 可以在 Asterisk 中工作。我有一个连接到 Ascom 护士呼叫系统的中继线,并且有一个从手持设备拨入病房的基本功能。我能够建立从 Asterisk 到护士呼叫服务器的呼叫。护士呼叫服务器发送 Refer 消息
到同一子网上的不同地址,但 Asterisk 找不到该设备。如果我手动键入一个拨号方案以将呼叫路由到该设备,它确实会连接,但系统可能有很多地址,并且无法分辨 Refer 消息中的地址和拨号号码
阿斯特里克 10.2.87.201
Ascom 10.2.87.1
参考消息refer-to: sip:V1003B0G65605773L0@10.2.87.11
我需要能够将 Asterisk 动态转移到该分机和域。
这是一个拨号方案告诉系统手动发送到 10.2.87.11 地址的工作示例
exten => _VX.,n,Dial(SIP/${EXTEN}@10.2.87.11)
-- Executing [201*65609848@default:2] Dial("SIP/1341-000001cd", "SIP/T6/201*65609848") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/T6/201*65609848
> 0x7fba38016560 -- Strict RTP learning after remote address set to: 10.2.87.1:8766
-- SIP/T6-000001ce answered SIP/1341-000001cd
-- Channel SIP/T6-000001ce joined 'simple_bridge' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
-- Channel SIP/1341-000001cd joined 'simple_bridge' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
> Bridge 07b9ccbf-138d-423b-87cf-ad6c41336591: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/T6-000001ce' in stack
> 0x7fb9c017aa00 -- Strict RTP learning after remote address set to: 192.168.21.82:16734
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/T6-000001ce' in stack
> 0x7fb9c017aa00 -- Strict RTP switching to RTP target address 192.168.21.82:16734 as source
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/T6-000001ce' in stack
-- Channel SIP/T6-000001ce left 'native_rtp' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
> Bridge 07b9ccbf-138d-423b-87cf-ad6c41336591: switching from native_rtp technology to simple_bridge
-- Channel SIP/1341-000001cd left 'simple_bridge' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
-- Executing [V1003B0G65609848L0@default:1] NoOp("SIP/1341-000001cd", "V1003B0G65609848L0") in new stack
-- Executing [V1003B0G65609848L0@default:2] Dial("SIP/1341-000001cd", "SIP/V1003B0G65609848L0@10.2.87.11") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/V1003B0G65609848L0@10.2.87.11
> 0x7fb9c017aa00 -- Strict RTP learning complete - Locking on source address 192.168.21.82:16734
> 0x7fba3802cb80 -- Strict RTP learning after remote address set to: 10.2.87.11:5012
-- SIP/10.2.87.11-000001cf answered SIP/1341-000001cd
-- Channel SIP/10.2.87.11-000001cf joined 'simple_bridge' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
-- Channel SIP/1341-000001cd joined 'simple_bridge' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
> Bridge 149e09d8-7d19-46fb-9135-43ffa33862e1: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/10.2.87.11-000001cf' in stack
> 0x7fba3802cb80 -- Strict RTP switching to RTP target address 10.2.87.11:5012 as source
> 0x7fba3802cb80 -- Strict RTP learning complete - Locking on source address 10.2.87.11:5012
-- Channel SIP/1341-000001cd left 'native_rtp' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
-- Channel SIP/10.2.87.11-000001cf left 'native_rtp' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
== Spawn extension (default, V1003B0G65609848L0, 2) exited non-zero on 'SIP/1341-000001cd'
使用转移拨号方案时不工作
> 0x7fb9c017aa00 -- Strict RTP learning after remote address set to: 192.168.21.82:16766
-- Executing [201*65609851@default:1] NoOp("SIP/1341-000001de", "201*65609851") in new stack
-- Executing [201*65609851@default:2] Dial("SIP/1341-000001de", "SIP/T6/201*65609851") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/T6/201*65609851
> 0x7fba4001ebf0 -- Strict RTP learning after remote address set to: 10.2.87.1:8766
-- SIP/T6-000001df answered SIP/1341-000001de
-- Channel SIP/T6-000001df joined 'simple_bridge' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
-- Channel SIP/1341-000001de joined 'simple_bridge' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
> Bridge 9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/1341-000001de' and 'SIP/T6-000001df' in stack
> 0x7fb9c017aa00 -- Strict RTP learning after remote address set to: 192.168.21.82:16766
> Locally RTP bridged 'SIP/1341-000001de' and 'SIP/T6-000001df' in stack
> 0x7fb9c017aa00 -- Strict RTP switching to RTP target address 192.168.21.82:16766 as source
> Locally RTP bridged 'SIP/1341-000001de' and 'SIP/T6-000001df' in stack
-- Channel SIP/T6-000001df left 'native_rtp' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
> Bridge 9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab: switching from native_rtp technology to simple_bridge
-- Channel SIP/1341-000001de left 'simple_bridge' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001de", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001de", "SIP/V1003B0G65609851L0") in new stack
== Using SIP RTP CoS mark 5
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001e0", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001e0", "SIP/V1003B0G65609851L0") in new stack
-- Auto fallthrough, channel 'SIP/1341-000001e0' status is 'UNKNOWN'
== Using SIP RTP CoS mark 5
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001e1", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001e1", "SIP/V1003B0G65609851L0") in new stack
-- Auto fallthrough, channel 'SIP/1341-000001e1' status is 'UNKNOWN'
== Using SIP RTP CoS mark 5
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001e2", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001e2", "SIP/V1003B0G65609851L0") in new stack
-- Auto fallthrough, channel 'SIP/1341-000001e2' status is 'UNKNOWN'
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Auto fallthrough, channel 'SIP/1341-000001de' status is 'ANSWER'
简而言之,我需要最后一个示例来动态发送到引用消息中的域。
谢谢你的帮助
我不确定这是否正确,但我通过为我需要通信的所有设备创建用户并调整我的 extensions.conf
来实现这一点
exten => _VX.,n,Dial(SIP/${EXTEN}@${SIPDOMAIN})
fullname = 10.2.87.10
secret =
hasvoicemail = no
host = 10.2.87.10
userqphone = yes
qualify = no
hassip = yes
hasiax = no
callwaiting = yes
context = default
我有一个 issue/trying 可以在 Asterisk 中工作。我有一个连接到 Ascom 护士呼叫系统的中继线,并且有一个从手持设备拨入病房的基本功能。我能够建立从 Asterisk 到护士呼叫服务器的呼叫。护士呼叫服务器发送 Refer 消息 到同一子网上的不同地址,但 Asterisk 找不到该设备。如果我手动键入一个拨号方案以将呼叫路由到该设备,它确实会连接,但系统可能有很多地址,并且无法分辨 Refer 消息中的地址和拨号号码 阿斯特里克 10.2.87.201 Ascom 10.2.87.1
参考消息refer-to: sip:V1003B0G65605773L0@10.2.87.11
我需要能够将 Asterisk 动态转移到该分机和域。
这是一个拨号方案告诉系统手动发送到 10.2.87.11 地址的工作示例
exten => _VX.,n,Dial(SIP/${EXTEN}@10.2.87.11)
-- Executing [201*65609848@default:2] Dial("SIP/1341-000001cd", "SIP/T6/201*65609848") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/T6/201*65609848
> 0x7fba38016560 -- Strict RTP learning after remote address set to: 10.2.87.1:8766
-- SIP/T6-000001ce answered SIP/1341-000001cd
-- Channel SIP/T6-000001ce joined 'simple_bridge' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
-- Channel SIP/1341-000001cd joined 'simple_bridge' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
> Bridge 07b9ccbf-138d-423b-87cf-ad6c41336591: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/T6-000001ce' in stack
> 0x7fb9c017aa00 -- Strict RTP learning after remote address set to: 192.168.21.82:16734
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/T6-000001ce' in stack
> 0x7fb9c017aa00 -- Strict RTP switching to RTP target address 192.168.21.82:16734 as source
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/T6-000001ce' in stack
-- Channel SIP/T6-000001ce left 'native_rtp' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
> Bridge 07b9ccbf-138d-423b-87cf-ad6c41336591: switching from native_rtp technology to simple_bridge
-- Channel SIP/1341-000001cd left 'simple_bridge' basic-bridge <07b9ccbf-138d-423b-87cf-ad6c41336591>
-- Executing [V1003B0G65609848L0@default:1] NoOp("SIP/1341-000001cd", "V1003B0G65609848L0") in new stack
-- Executing [V1003B0G65609848L0@default:2] Dial("SIP/1341-000001cd", "SIP/V1003B0G65609848L0@10.2.87.11") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/V1003B0G65609848L0@10.2.87.11
> 0x7fb9c017aa00 -- Strict RTP learning complete - Locking on source address 192.168.21.82:16734
> 0x7fba3802cb80 -- Strict RTP learning after remote address set to: 10.2.87.11:5012
-- SIP/10.2.87.11-000001cf answered SIP/1341-000001cd
-- Channel SIP/10.2.87.11-000001cf joined 'simple_bridge' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
-- Channel SIP/1341-000001cd joined 'simple_bridge' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
> Bridge 149e09d8-7d19-46fb-9135-43ffa33862e1: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/1341-000001cd' and 'SIP/10.2.87.11-000001cf' in stack
> 0x7fba3802cb80 -- Strict RTP switching to RTP target address 10.2.87.11:5012 as source
> 0x7fba3802cb80 -- Strict RTP learning complete - Locking on source address 10.2.87.11:5012
-- Channel SIP/1341-000001cd left 'native_rtp' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
-- Channel SIP/10.2.87.11-000001cf left 'native_rtp' basic-bridge <149e09d8-7d19-46fb-9135-43ffa33862e1>
== Spawn extension (default, V1003B0G65609848L0, 2) exited non-zero on 'SIP/1341-000001cd'
使用转移拨号方案时不工作
> 0x7fb9c017aa00 -- Strict RTP learning after remote address set to: 192.168.21.82:16766
-- Executing [201*65609851@default:1] NoOp("SIP/1341-000001de", "201*65609851") in new stack
-- Executing [201*65609851@default:2] Dial("SIP/1341-000001de", "SIP/T6/201*65609851") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/T6/201*65609851
> 0x7fba4001ebf0 -- Strict RTP learning after remote address set to: 10.2.87.1:8766
-- SIP/T6-000001df answered SIP/1341-000001de
-- Channel SIP/T6-000001df joined 'simple_bridge' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
-- Channel SIP/1341-000001de joined 'simple_bridge' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
> Bridge 9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab: switching from simple_bridge technology to native_rtp
> Locally RTP bridged 'SIP/1341-000001de' and 'SIP/T6-000001df' in stack
> 0x7fb9c017aa00 -- Strict RTP learning after remote address set to: 192.168.21.82:16766
> Locally RTP bridged 'SIP/1341-000001de' and 'SIP/T6-000001df' in stack
> 0x7fb9c017aa00 -- Strict RTP switching to RTP target address 192.168.21.82:16766 as source
> Locally RTP bridged 'SIP/1341-000001de' and 'SIP/T6-000001df' in stack
-- Channel SIP/T6-000001df left 'native_rtp' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
> Bridge 9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab: switching from native_rtp technology to simple_bridge
-- Channel SIP/1341-000001de left 'simple_bridge' basic-bridge <9b4ac0b8-3bcf-4ef3-862a-46b36a7cddab>
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001de", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001de", "SIP/V1003B0G65609851L0") in new stack
== Using SIP RTP CoS mark 5
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001e0", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001e0", "SIP/V1003B0G65609851L0") in new stack
-- Auto fallthrough, channel 'SIP/1341-000001e0' status is 'UNKNOWN'
== Using SIP RTP CoS mark 5
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001e1", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001e1", "SIP/V1003B0G65609851L0") in new stack
-- Auto fallthrough, channel 'SIP/1341-000001e1' status is 'UNKNOWN'
== Using SIP RTP CoS mark 5
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Executing [V1003B0G65609851L0@default:1] NoOp("SIP/1341-000001e2", "V1003B0G65609851L0") in new stack
-- Executing [V1003B0G65609851L0@default:2] Transfer("SIP/1341-000001e2", "SIP/V1003B0G65609851L0") in new stack
-- Auto fallthrough, channel 'SIP/1341-000001e2' status is 'UNKNOWN'
> 0x7fb9c0174940 -- Strict RTP learning after remote address set to: 192.168.21.82:16770
-- Auto fallthrough, channel 'SIP/1341-000001de' status is 'ANSWER'
简而言之,我需要最后一个示例来动态发送到引用消息中的域。
谢谢你的帮助
我不确定这是否正确,但我通过为我需要通信的所有设备创建用户并调整我的 extensions.conf
来实现这一点exten => _VX.,n,Dial(SIP/${EXTEN}@${SIPDOMAIN})
fullname = 10.2.87.10
secret =
hasvoicemail = no
host = 10.2.87.10
userqphone = yes
qualify = no
hassip = yes
hasiax = no
callwaiting = yes
context = default