Call must not be forwarded to Interface FXO, should be forwarded to the Controller E1

Announcement

Jan 6, 2016 5:30 AM
willribeiro Jan 6th, 2016

In my environment, I have the following configuration:

2 controller E1:
controller E1 0/0/0 is up.
controller E1 0/0/1 is up.

3 interface FXO:
voice-port 0/1/1
trunk-group PORT_FXO_outgoing
cptone BR
timeouts call-disconnect 0
connection plar xxxx
description -------------[Saida CELL-xx xxxxx-xxxx]
!
voice-port 0/1/2
trunk-group PORT_FXO_outgoing
cptone BR
timeouts call-disconnect 0
connection plar xxxx
description -------------[Saida CELL-xx xxxxx-xxxx]
!
voice-port 0/1/3
trunk-group PORT_FXO_outgoing
cptone BR
timeouts call-disconnect 0
connection plar xxxx
shutdown
description -------------[Saida CELL-04]

Incoming Dial-peer=4001
dial-peer voice 4001 voip
  description -------------[dialplan-to-CCM]
  preference 1
  destination-pattern 4...
  session protocol sipv2
  session target ipv4:xx.x.xxx.x
  voice-class codec 1
  dtmf-relay rtp-nte
  fax-relay ecm disable
  no fax-relay sg3-to-g3
  fax protocol pass-through g711ulaw

Outgoing Dial-peer=2
dial-peer voice 2 pots
  trunkgroup PORT_FXO_outgoing
  description -------------[MOVEL-LOCAL]
  preference 1
  destination-pattern 09[1-9].......T
  no digit-strip


Calls to a mobile number coming out of mobile interface (FXO) (voice-port 1/0/1, 0/voice-port 1/2, 0/voice-port 1/3).

However I would like some extensions, more specifically 7 extensions, when they call phone, call must not be forwarded to Interface FXO, should be forwarded to the Controller E1.

How can I implement this?

Actions

This Announcement