10-24-2010 02:13 PM - edited 03-21-2019 03:10 AM
Trying to understand how this command works,
After a dial peer is associated with an incoming call, the permission is checked to determine whether incoming calls are permitted on the dial peer. If permission is not set to orig or both, the incoming call is blocked.
After a dial peer is matched for an outgoing call, the permission is checked to determine whether outgoing calls are permitted on the dial peer. If permission is not set to term or both, the outgoing call using this dial peer fails.
Is this dial-peer allowed to terminate incoming call from the sip server, or, only permits outgoing call to the sip server referenced somewhere in the configuration ?
dial-peer voice 1000 voip
permission term
description ** Incoming call from SIP trunk **
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
session protocol sipv2
session target sip-server
incoming called-number .%
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
10-25-2010 06:44 AM
The following link contains an example of toll fraud prevention using this command. The example indicates that you would use the command on the incoming SIP dial peer to allow only inbound calls from the remote SIP server.
http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_tech_note09186a00809dc487.shtml
It is my understanding that "permission term" would allow the dial peer to function as an inbound dial peer, but not as an outbound dial peer. This matches the example above, but does not seem to match the wording of the command syntax/usage guidelines. Seems to be a discrepancy. Generally, the terms "incoming" and "outgoing" when used in the context of a dial peer are used from the vantage point of the gateway. Maybe this description is referring to "incoming" and "outgoing" with respect to the access server.
Hope this helps.
Brandon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide