« Back to TCL-API

retrieve matched dial-peer

Combination View Flat View Tree View
Threads [ Previous | Next ]
is it possible to retrieve the matched dial-peer? I mean to retrieve the dial-peer that the leg is used to send call.
 
i know u can create an dial-peer handle with destination #, but this handle will contain ALL dial-peer that matches destination #. what I need to know is the one that is used.
 
thanks.

When you use "object get dial-peer" with "matchDigitsE164" it returns one of all dial-peers ?

i haven't try the command yet, but from what I read - the command requires an dial-peer handle which is the resulted dial-peers that matched the destination #


object create dial-peer
Creates a list of dial-peer handles using <peer_handle_spec> as the prefix of the handle name.

Syntax

object create dial-peer <peer_handle_spec> <destination_number>

object get dial-peer
Returns dial peer information of a dial peer item or a set of dial peers.

Syntax

object get dial-peer { <handle> | <handle_spec> } <attribute_name>