08-29-2014 02:33 PM - edited 03-16-2019 11:57 PM
I have CME setup with voip.ms on my 2800 router, my outgoing calls are working but my incoming calls are not. Below is my config, please let me know if it is something with my config:
voice translation-rule 3
rule 1 /^9142281\(...\)$/ /\1/
voice translation-profile INCOMING_CALL_1
translate called 3
dial-peer voice 1 voip
translation-profile incoming INCOMING_CALL_1
session protocol sipv2
session target sip-server
incoming called-number .%
voice-class codec 1
dtmf-relay rtp-nte
no vad
08-29-2014 10:24 PM
Dear, Please attach 'debug voip ccapi inout' for an incoming test call & sh run.
Suresh
08-30-2014 07:57 AM
08-30-2014 08:10 AM
Did you check the same doing 'show log' ? and Can you check below debug for one call as well.
deubg ccsip messages
If you will not get any debug messages, that means call is not hitting to router and in that case you need to ask to service provider.
Suresh
08-30-2014 08:52 PM
08-30-2014 09:15 PM
Dear, You have configured below translation profile wrongly. It should be "translate called 3" so modify it once and try. If still issue persists then attach 'debug voip ccapi inout'
voice translation-profile INCOMING_CALL_1 translate calling 3
Suresh
08-31-2014 05:37 AM
I made the change, but I am getting no output from debug voip ccapi inout. What does concern me from debug ccsip messages is:
Aug 31 12:42:04.195: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 400 Bad Request - 'Invalid Host'
Via: SIP/2.0/UDP 107.6.67.238:5060;branch=z9hG4bK000d3c36;rport
From: "+19144410197" <sip:9144410197@107.6.67.238>;tag=as7439b9c1
To: <sip:9142281462@108.54.238.199:1061>;tag=829C8-2532
Date: Sun, 31 Aug 2014 12:42:04 GMT
Call-ID: 2b4b66bd109bfeea6f4e15b403fb5514@107.6.67.238:5060
CSeq: 102 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=100
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
I also am getting this:
voicertr2#debug ccsip error
SIP Call error tracing is enabled
voicertr2#
Aug 31 12:45:07.359: //-1/xxxxxxxxxxxx/SIP/Error/sipSPI_validate_own_ip_addr: ReqLine IP addr does not match with host IP addr
Aug 31 12:45:07.359: //-1/78AE76E98009/SIP/Error/sact_idle_new_message_invite: Invalid URL in incoming INVITE
08-31-2014 08:09 PM
I found the issue, I had to put a destination in my config for the dial-peer. Below is the config for the incoming dial-peer
dial-peer voice 1 voip
translation-profile incoming INCOMING_CALL_1
destination-pattern .T
session protocol sipv2
session target sip-server
incoming called-number .%
voice-class sip bind control source-interface FastEthernet0/0.50
voice-class sip bind media source-interface FastEthernet0/0.50
dtmf-relay rtp-nte
codec g711ulaw
no vad
08-30-2014 09:27 AM
according to your config
voice translation-rule 2 rule 1 /^.*/ /9142281462/ ! voice translation-rule 3 rule 1 /^9142281\(...\)$/ /\1/
incoming called number is 9142281462
and it is translated to 1462
but you have two numbers 462 462
so you can fix it, making it simple and easy to understand
voice translation-rule 3
rule 1 /^9142281462/ /462/
rule 2 /^9142281463/ /463/
if it is not helps
so do
clea logg
deb ccsip mess
make call
sh logg
and dont forget to rate post
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide