incoming calls on sip trunk

Answered Question
Feb 5th, 2009
User Badges:

cisco 2651XM router

IOS: c2600-adventerprisek9-mz.124-15.T8.bin

cme: 4.1

four ip phones:7940G

I have four 7940 phones, two of which (ephone 3 and 4) I use to make PSTN calls over sip trunk. In order for the two phones to be able to call out, both have to be configured with my sip number, but the problem is that when I get an incoming sip call both ephone-4 and ephone-3 rings (naturally) and I'd like it to be that only ephone 3 rings, but both can call out.

attached is the ephone section of my running config. Thanks for any advice.

Correct Answer by Nicholas Matthews about 8 years 4 months ago

Sorry about that,

add 'voice' behind translation-rule 1

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
paolo bevilacqua Thu, 02/05/2009 - 12:36
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

You're not explaining your full setup.

You want two phones to call via sip, and the others ?

Nicholas Matthews Thu, 02/05/2009 - 12:45
User Badges:
  • Red, 2250 points or more

This actually isn't the best way to do this.

You would give phones 3 and 4 different DNs, and only phone 3 has the correct DN. Phone 4 would have a dummy DN configured.

And then you do one of two things:

1) sip-ua

calling-info pstn-to-sip from number set

2) outgoing translation profile

translation-rule 1

rule 1 /.*/ /5551234/

translation-profile set-sip-number

translate calling 1

dial-peer voice 1 voip

destination-pattern 9.T

translation-profile outgoing set-sip-number



tonyspcrepairs Fri, 03/06/2009 - 14:18
User Badges:

thanks for the info, I was following your instructions but when I got to..

vpn(config)#translation-rule 1

vpn(config-translate)#rule 1 /.*/ /5551234/

Incorrect format for Translation Match Pattern

regular expression must be of the form ^(\^)?(\+)?([0-9,A-F.*%?#]+)$

Invalid match pattern string input /.*/

Correct Answer
Nicholas Matthews Fri, 03/06/2009 - 14:20
User Badges:
  • Red, 2250 points or more

Sorry about that,

add 'voice' behind translation-rule 1

tonyspcrepairs Fri, 03/06/2009 - 14:51
User Badges:

ah yes thanks nick I did your config instructions and it now works the way I want. This is great and thanks for your help.


This Discussion