Tim Connolly wrote:

"accounting-${TIMESTAMP}-${CALLERIDNUM}". I'd like to do a changemonitor()
to make the filename "accounting-${TIMESTAMP}-${CALLERIDNUM}-<ext>" where
<ext> is the extension number of the SIP client who actually answered. Keep
in mind, its dialing multiple destinations, so I don't know what number
picks up beforehand.

From doc/README.variables:

${BRIDGEPEER}        bridged peer

This will contain the channel name of the channel that answered the call; it will not contain an 'extension number', as there is no such thing at point (since you could have dialed a peer that doesn't even _have_ an extension number in your dialplan).
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to