12-19-2015 06:31 AM - edited 03-17-2019 05:18 AM
dear all,
I`m trying to do test sip voip call using sip protocol and i faced sip error, don`t know the cause if it is nat or other.
Scenario is:
ip phone(111)-->VoipGW_1(192.168.2.240)-->internet modem_1(192.168.2.254)--------->internet modem_2(192.168.2.2)-->VoipGW_2(192.168.2.1)
internet mdoem_2 has public ip 82.114.181.235 and nated to VoipGW_2(192.168.2.1).
I want the call which initiated from extension 111 to be received by VoipGW_2 and then being send out of it as configured in the dial-peer 45 (sh run attached in debug files). Unfortunaltely the call is rejected by the VoipGW_2 and doesnt process the call and send it out. Error is shown as
SIP/2.0 400 Bad Request - 'Malformed/Missing Contact field'
Via: SIP/2.0/UDP 10.101.103.220:16839:5060;
Attached is debug and show run gathered from VoipGW_2 and also show run and dial-peer for VoipGW_1.
please advice.
thanks.
12-19-2015 09:45 PM
Hi Mohammed,
After reviewing the logs, In the INVITE I see:
Contact: <sip:111@10.101.103.220:16839:5060>
Why do we have two port numbers in contact field?
Working contact field:
Contact: <sip:4153490879@10.1.254.6:5060>
You can check this post:
https://supportforums.cisco.com/discussion/11689411/normalization-script#3810453
Regards,
Chakshu Piplani
-Rate helpful posts-
12-20-2015 12:24 AM
12-21-2015 11:28 AM
Hi again Chankshu,
i do check the ip address and now it is ok.
I did test calls by calling 967730452427,967730456693 and others using both sip and h323.
in the debug files, i started using sip as show also in the dial peer, it shows the below error.
SIP/2.0 400 Bad Request - 'Invalid IP Address'
Via: SIP/2.0/UDP 104.251.178.102:5060;
From: <sip:atelecom@104.251.178.102>;
i removed dialpeer 45(sip) and i switch to h323 dialpeer 44 and i did test call with the error
DisconnectText=no route to destination (3) ..
please go thorugh the attached files and tell me where is the error and did the call get moved from VoiceGW_2 to the sim box(192.168.1.104) or no?????????
please advice. (sh call history voice is in the debug ccsip file)
thanks.
12-22-2015 10:38 AM
Hi again,
thanks for your time, can you go please again through the logs and replay to my last post.
regards
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