Chan.replaced
From Yate Documentation
chan.replaced is used to notify other modules when the topology of a chain of circuits has changed. Currently only the callfork module emits this message.
This message should be sent as broadcast, multiple modules may need to handle it.
Parameters
- id
- ID of the channel being replaced
- newid
- ID of the new channel being connected
- peerid
- ID of the peer channel to those being changed (optional)
Additional parameters
For efficiency reason more than one channel replacement can be notified in a single message.
Additional indexed parameters id.1, newid.1, peerid.1, id.2, newid.2 and so on can be added. The index must increment by exactly one - there can be no gaps or duplicates.
Example
0000538.045312 <callfork:CALL> Call 'sip/8' answered on 'fork/2/2' by 'sip/9' Sniffed 'chan.replaced' time=1300967364.045343 (broadcast) thread=0x1439eb0 'Engine Worker' data=(nil) retval='(null)' param['id'] = 'fork/2' param['newid'] = 'sip/9' param['peerid'] = 'sip/8' param['id.1'] = 'fork/2/2' param['newid.1'] = 'sip/8' param['peerid.1'] = 'sip/9'