×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

SIP Config Help

Answered Question

I am unable to receive calls to my IP phones when I dial my DIDs.  I can make calls out just fine, just not sure why I can't call in.  To test I use my cell phone to place a call to my DID (provided my flowroute) and I just get a disconnect tone a few seconds later.  

Attached is my current config (FYI I'm new to VOIP and this is a home setup, so any modes that need to be made won't effect anything important)

Cisco 2821 / C2800NM-ADVENTERPRISEK9-M), Version 15.1(4)M8

CME 8.0

Cisco 7975

Flowroute SIP provider

 

Thank in advance for the help

Correct Answer by Suresh Hudda about 3 years 1 month ago

It messed up the dial-peers configuration, please take a deep breath and have a little walk smiley and then remove other dial peer (10,11 & 12) make sure dial-peer looks like below and then dial 9137129524, currently call is hitting to dial-peer 0 (because there is no dial-peer ocnfigured to receive 19137129524) and again it trying to go out using dial-peer 1..

dial-peer voice 1 voip
 translation-profile outgoing addlocal
 destination-pattern 1[2-9]..[2-9]......T
 no modem passthrough
 session protocol sipv2
 session target dns:sip.flowroute.com
 incoming called-number .
 translation-profile incoming GRP_1001_1002
 dtmf-relay rtp-nte
 no vad

Suresh

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (6 ratings)
Loading.
Suresh Hudda Mon, 06/30/2014 - 22:26
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Please put below command under "dial-peer voice 1 voip"

incoming called-number .

If no success, then attach the "debug voip ccapi inout"

Suresh

Daniele Giordano Wed, 07/02/2014 - 06:11
User Badges:
  • Gold, 750 points or more

Try to add this:


voice hunt-group 1 parallel
 list 1001,1002
 pilot 2000


voice translation-rule 10
 rule 1 /17852465184/ /1002/
 rule 2 /7852465184/ /1002/

voice translation-profile GRP_1002
 translate called 10

 

voice translation-rule 12
 rule 1 /9137129524/ /2000/

voice translation-profile GRP_1001_1002
 translate called 12

 

 


dial-peer voice 10 voip
 description incoming calls
 translation-profile incoming GRP_1002
 destination-pattern 17852465184
 b2bua
 modem passthrough nse codec g711alaw
 session protocol sipv2
 session target ipv4:192.168.1.2
 session transport udp
 incoming called-number 17852465184
 dtmf-relay rtp-nte
 codec g711alaw
 fax rate disable
 fax protocol pass-through g711alaw
 no vad

dial-peer voice 11 voip
 description incoming calls
 translation-profile incoming GRP_1002
 destination-pattern 7852465184
 b2bua
 modem passthrough nse codec g711alaw
 session protocol sipv2
 session target ipv4:192.168.1.2
 session transport udp
 incoming called-number 7852465184
 dtmf-relay rtp-nte
 codec g711alaw
 fax rate disable
 fax protocol pass-through g711alaw
 no vad

dial-peer voice 12 voip
 description incoming calls
 translation-profile incoming GRP_1001_1002
 destination-pattern 9137129524
 b2bua
 modem passthrough nse codec g711alaw
 session protocol sipv2
 session target ipv4:192.168.1.2
 session transport udp
 incoming called-number 9137129524
 dtmf-relay rtp-nte
 codec g711alaw
 fax rate disable
 fax protocol pass-through g711alaw
 no vad

 

 

Regards.

Suresh Hudda Wed, 07/02/2014 - 06:25
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

this time you dialed 17852465184

for this you need to make below change, because service provider is adding extra "1".

rule 2 /^17852465184/ /1002/

Suresh

Suresh Hudda Wed, 07/02/2014 - 06:31
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

could you please post latest CME config.

 

Calls are disconnecting with reason code 1 and that says "Indicates that the destination requested by the calling user cannot be reached because the number is unassigned."

Seems, Its a dial-peer issue only.

Suresh

Divjot Singh Nanda Wed, 07/02/2014 - 06:43
User Badges:
  • Cisco Employee,

Hi jwood,

 

Kindly send us the below for a non-working call:

debug ccsip message

debug voip ccapi inout

debug voip translation.

 

Thanks

DJ

Divjot Singh Nanda Wed, 07/02/2014 - 07:05
User Badges:
  • Cisco Employee,

Hi jwood,

In the debugs I can see that Incoming dial-peer 0 was matched as there is no incoming dial-peer match for the dialed number that is 19137129524.

Kindly collect all the debugs listed above for one call (all together) and dial 17852465184 as there is an incoming dial-peer for the same.

For the call you made there is no incoming dial-peer matched and hence the router chose dial-peer 0 which is default dial-peer and hence no translation.

For the same reason the call was sent back to the provider using dial-peer 1 matching the destination-pattern.

Divjot Singh Nanda Wed, 07/02/2014 - 07:12
User Badges:
  • Cisco Employee,

Hi Jwood,

If you would like to get the 19137129524 number working kindly create another dial-peer as below:

 

dial-peer voice 13 voip
 description incoming calls
 translation-profile incoming GRP_1001_1002
 modem passthrough nse codec g711alaw
 session protocol sipv2
 session transport udp
 incoming called-number 19137129524
 dtmf-relay rtp-nte
 codec g711alaw
 fax rate disable
 fax protocol pass-through g711alaw
 no vad

 

 

Divjot Singh Nanda Wed, 07/02/2014 - 10:33
User Badges:
  • Cisco Employee,

If you are talking about the description at the left bottom of the phone then you can use the below:

conf t

telephony-service

system message XYZ

 

where XYZ is anything that you want the phone to display

EG: system message MY PHONE

 

Please rate useful posts.

Can you help me with background too:

CME#dir
Directory of flash:/Desktops/320x216x16/

  155  -rw-         184   Jul 2 2014 12:18:30 -05:00  List.xml
   49  -rw-      571118   Jul 2 2014 05:51:50 -05:00  7975G-Wallpaper.png
   50  -rw-       53964   Jul 2 2014 05:56:04 -05:00  7975G-Wallpaper-Thumb.png

________________________________________________________________

tftp-server flash:/Desktops/320x216x16/7975G-Wallpaper.png
tftp-server flash:/Desktops/320x216x16/7975G-Wallpaper-Thumb.png
tftp-server flash:/Desktops/320x216x16/LIST.xml alias Desktops/320x216x16/List.xml

______________________________________________________________

Jul  2 17:20:27.988: TFTP: Looking for Desktops/320x216x16/List.xml
Jul  2 17:20:31.980: TFTP: Looking for Desktops/320x216x16/List.xml
Jul  2 17:20:35.980: TFTP: Looking for Desktops/320x216x16/List.xml
Jul  2 17:20:39.980: TFTP: Looking for Desktops/320x216x16/List.xml

 

From what I understand, I have everything configured correctly, but my 7975G  isn't loading the xml file...  Any ideas.

Divjot Singh Nanda Wed, 07/02/2014 - 10:58
User Badges:
  • Cisco Employee,

Hi,

It looks like there is a difference in the List.xml

 

In the below you have entered list in CAPITAL:

tftp-server flash:/Desktops/320x216x16/LIST.xml alias Desktops/320x216x16/List.xml

 

Kindly change it to list.xml and try again

Thanks

DJ

 

**Please rate useful posts.

Correct Answer
Suresh Hudda Wed, 07/02/2014 - 07:11
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

It messed up the dial-peers configuration, please take a deep breath and have a little walk smiley and then remove other dial peer (10,11 & 12) make sure dial-peer looks like below and then dial 9137129524, currently call is hitting to dial-peer 0 (because there is no dial-peer ocnfigured to receive 19137129524) and again it trying to go out using dial-peer 1..

dial-peer voice 1 voip
 translation-profile outgoing addlocal
 destination-pattern 1[2-9]..[2-9]......T
 no modem passthrough
 session protocol sipv2
 session target dns:sip.flowroute.com
 incoming called-number .
 translation-profile incoming GRP_1001_1002
 dtmf-relay rtp-nte
 no vad

Suresh

Suresh Hudda Wed, 07/02/2014 - 07:29
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Good to know that, add below translation rules under "voice translation-rule 12" and then check..

rule 4 /^17852465184/ /2000/
 rule 5 /17852465184/ /2000/

 

Suresh

Divjot Singh Nanda Wed, 07/02/2014 - 07:39
User Badges:
  • Cisco Employee,

Try this for ringing only on 1002.

voice translation-rule 12
 rule 1 /^19137129524/ /2000/
 rule 2 /19137129524/ /2000/
 rule 3 /9137129524/ /2000/

no rule 4 /^17852465184/ /2000/
 no rule 5 /17852465184/ /2000/
 rule 4 /^17852465184/ /1002/
 rule 5 /17852465184/ /1002/
 rule 6 /7852465184/ /1002/

 

That did it...

 When I dial out, will 1002 show that 785 # and 1001 show 913? 

Later on when I add more phones, do I simply just modify the voice-translation rule to point to the extension I want? For example:

voice hunt-group 1 parallel
 list 1001,1002,1003  <---- 1003 being future line
 pilot 2000

voice translation-rule 12
 rule 1 /^19137129524/ /2000/
 rule 2 /19137129524/ /2000/
 rule 3 /9137129524/ /2000/

 rule 4 /^17852465184/ /1002/
 rule 5 /17852465184/ /1002/
 rule 6 /7852465184/ /1002/

Divjot Singh Nanda Wed, 07/02/2014 - 08:32
User Badges:
  • Cisco Employee,

Hi,

Yes that is correct.

Instead if you want all the calls to ring a particular number for instance 2000 which is the pilot for the hunt-group.

 

you can just use a single translation-pattern

rule 1 /^.*/ /2000/

Which means any number will be matched and will be converted to 2000, which will be the pilot of voice hunt group.

Tagir Temirgaliyev Wed, 07/02/2014 - 07:52
User Badges:
  • Silver, 250 points or more
ephone-dn  1
 number 1001
 label Home
 name Home
!
!
ephone-dn  2
 number 1002
 label Office
 name Office
!
!
ephone  1
 device-security-mode none
 description Home Line
 mac-address C062.6B62.143A
 button  1:1
!
!
!
ephone  2
 device-security-mode none
 description Office
 mac-address E8BA.70FB.36E2
 button  1:1


bold replace by 2
!
Suresh Hudda Wed, 07/02/2014 - 07:54
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

You can put below command as "GRP_1002 & PROVIDER_in" profiles are not associated anywhere.


no voice translation-rule 10
no voice translation-profile GRP_1002
no voice translation-profile PROVIDER_in

As per logs, calling number and called number are +17024011492 & 19137129524  respectively for internal call to CME.What caller ID you are getting on Cisco phone and what you want ? I am asking this because you said 9 digits but there are 10 digits number if we exclude 1.

 

Suresh

 

Suresh

 

 

 

Tagir Temirgaliyev Wed, 07/02/2014 - 07:57
User Badges:
  • Silver, 250 points or more

to have the caller ID drop the +1 and only show the 9 digit phone number?

 

as I told you need

for incoming calling number

1. incoming translation rule

2. incoming traslation profile

Divjot Singh Nanda Wed, 07/02/2014 - 07:32
User Badges:
  • Cisco Employee,

Hi,

 

Kindly do the below and the other number will work too.

voice translation-rule 12
 rule 1 /^19137129524/ /2000/
 rule 2 /19137129524/ /2000/
 rule 3 /9137129524/ /2000/
 rule 4 /^17852465184/ /1002/
 rule 5 /17852465184/ /1002/
 rule 6 /7852465184/ /1002/

 

 

Divjot Singh Nanda Wed, 07/02/2014 - 06:50
User Badges:
  • Cisco Employee,

Hi jwood,

Also kindly remove the "destination-pattern" command from the dial-peer

 

dial-peer voice 10 voip

no destination-pattern 17852465184

 

Tagir Temirgaliyev Tue, 07/01/2014 - 02:08
User Badges:
  • Silver, 250 points or more

you need 

1. incoming translation rule

2. incoming traslation profile

3. incoming dial-peer

 

post here incomong number and I will do

Tagir Temirgaliyev Wed, 07/02/2014 - 02:43
User Badges:
  • Silver, 250 points or more

voice translation-rule 10
 rule 1 /^9137129524/ /1001/
 rule 2 /^7852465184/ /1002/


voice translation-profile PROVIDER_in
 translate called 10

dial-peer voice 10 voip
 translation-profile incoming PROVIDER_in
 incoming called-number .
 session protocol sipv2
 session target dns:sip.flowroute.com
 voice-class codec 1
 dtmf-relay rtp-nte
 no vad
!

Suresh Hudda Wed, 07/02/2014 - 06:12
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

please make a small change in translation rule which is posted by ttemirgaliyev (+5) as below and then check

rule 1 /^19137129524/ /1001/

 

Suresh

Actions

This Discussion

Related Content