[Asterisk-Users] post-dial variable for whoever answered?
    Kevin P. Fleming 
    kpfleming at digium.com
       
    Sun May  1 18:44:30 MST 2005
    
    
  
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).
    
    
More information about the asterisk-users
mailing list