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