How to use voice source-group command in cisco router ( gateway with more then one PSTN carrier)

Unanswered Question
Aug 13th, 2010

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;}


Can someone help me to deploy the below :


I want to match the inbound calls from call manager to cisco router based on source ip address.  i have already using answer-address however i need to match source ip address . Due to call forward issues in asterix call manager i need to match the inbound calls in cisco router based on source ip address and forward to specific pstn carrier.

I have read the topic voice source-group command but no idea how to use it. 
Your early response would be appreciated.
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jiri Solc Tue, 08/24/2010 - 02:53

Try something like this...

! ACL 1 matches IP of CallManager (, deny all other IP's, which is permited by source group
access-list 1 permit
access-list 1 deny   any

! ACL 2 matches any IP which is rejected by source group
access-list 2 permit any

! Define voice source-groups to permit/reject calls
voice source-group voip-allow
  access-list 1

voice source-group voip-block
  access-list 2
  disconnect-cause call-reject

The result should be if call is sourced from ACL1, then its permitted. If call is sourced from any other IP location, it's rejected (call-reject).

Voice source-group is checked before matching incoming dial-peer.

Hope this helps!


Steven Holl Tue, 08/24/2010 - 06:52

You should be able to do this with 15.1(2)T.  There is a new dial-peer bind feature.

The command is under the dial-peer:

bind source-ip



This Discussion