cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2962
Views
0
Helpful
1
Replies

Re: permission term

Jontheuser
Level 1
Level 1

Trying to understand how this command works,

Syntax Description

orig

This dial peer is permitted to originate calls. Thus, the access server can accept incoming calls from the dial peer.

term

This dial peer is permitted to terminate calls. Thus, the access server can send outgoing calls to the dial peer.

both

This dial peer is permitted to originate and terminate calls. Both incoming and outgoing calls are permitted (default).

none

No incoming or outgoing calls can be made to or from this dial peer.

Usage Guidelines

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

1 Reply 1

Brandon Buffin
VIP Alumni
VIP Alumni

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: