This document was generated from CDN thread
Created by: vinh nguyen on 11-07-2012 12:54:16 PM
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.
Subject: RE: retrieve matched dial-peer
Replied by: vinh nguyen on 11-07-2012 05:58:32 PM
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>
Subject: RE: retrieve matched dial-peer
Replied by: Yaw-Ming Chen on 11-07-2012 03:09:50 PM
When you use "object get dial-peer" with "matchDigitsE164" it returns one of all dial-peers ?