Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Voice Gateway API (VGAPI) Developer Center
Overview
Documentation
Community
Testing
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to TCL-API
retrieve matched dial-peer
Threads [
Previous
|
Next
]
vinh nguyen
Posts:
27
Join Date:
5/21/10
Recent Posts
retrieve matched dial-peer
Answer
7/26/12 5:59 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Yaw-Ming Chen
Posts:
477
Join Date:
4/9/08
Recent Posts
RE: retrieve matched dial-peer
Answer
7/11/12 8:09 PM as a reply to vinh nguyen.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
When you use "object get dial-peer" with "matchDigitsE164" it returns one of all dial-peers ?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
vinh nguyen
Posts:
27
Join Date:
5/21/10
Recent Posts
RE: retrieve matched dial-peer
Answer
7/11/12 10:58 PM as a reply to Yaw-Ming Chen.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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>
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top