I am sorry but I am from data networking backgroud and new to VOIP. I need your assistance to resolve an issue with one of my client with inbound call through SIP router. Pelase forgive me if I am unable to expalin it clearly.
My client has a Cisco 2811 router to terminate SIP calls at their premises. They are using thrid party Call agent which is hosted with services provider. All configuration seems ok on SP side. The problem is they can place calls but can't receive Inboud calls. They are getting error: (400 Bad Request==> invalid Host)
I have the current configuration for your analysis. I would appreciate it if could someone please check and advise.
First SIP is not bound to an interface and that may be causing the issue by itself.
Additionally it would be very helpful to see the output off a debug ccsip messages when a call is placed.
Also please do a debug voip dialpeer as well and post the output.
Thanks very much for your reply. Could you please port the SIP configuartion. How can I bind it to the interface please?
Your assistance will be highly appreciated.
See the link below:
In your situation you want to bind the protocol to whatever address the far-end device is trying to send to - in your case I think it would be your outside NAT address.
voice service voip
bind all source-interface Loopback1
I've associated external serail 0/3/0 interface with SIP, but still not getting through. the invite message contains the IP address of the ISP side after @ sign, which seems like rejected by the router because it is not its IP (it seems logical). I am try to get debug outputs , but could you please verify which IP should be in the invite message of SIP negociation?
It would be very helpful if you would please post the entire error you are seeing and also the debug ccsip message output. I am hesitant to try and answer any further without seeing more information to try and make a call.
I trying to get debug results from CPE (Cisco 2811), meanwhile could you please check the debug out put from taken from SIP proxy server. Attached are the packets sequence when we spoof an INVITE to them and put their IP 184.108.40.206 as the realm in the INVITE line and in the To: line instead of 220.127.116.11. They accept this and send us a 100 Trying, then a 180 Ringing and after a bit a 500 Internal Server error (probably because its facked).
We spoof sending from src IP 18.104.22.168 to them, we are not really sending from 22.214.171.124.
INVITE_126.96.36.199.txt (Spoof src 188.8.131.52-> 184.108.40.206) 100_Trying.txt 180_Ringing.txt 500_Internal_Server_Eror.txt.
After reviewing the SIP debug it appears that the call gets all the way to "rininging" before failing. That means it is beyond the handshake and is very close to connecting, whiuch also means H.323 is involved by now. Try checking the "Media Termination Required" checkbox on the H.323 gateway in CCM.
Additionallly, if requiring the MTP does not work input the following in the gateway:
voice service voip
and after a call perform a:
show call history voice
you should see a couple lines that look like this:
DisconnectCause=10 DisconnectText=normal call clearing
Please forward the cause code.
Thanks very much for your assistance. I am really impressed!
We have fixed this with your assistance. Yes it was H323 signalling misconfiguration of UCM which is now fixed by the customer.
Could you please advice us in one more issue, As I have mentioned earlier, that yesterday we were getting Error 400 (Bad Request - Invalid host) and we have changed this in the SIP address command on our proxy server (......@x.x.x.x) in the INVITE line and To line with the destination IP of the customer's SIP gateway to fix this issues. But we want to change it back to our normal configuration, which is our proxy IP address in the INVITES message.
Could you please give me an idea that what is the cause of this error and what I can suggest to the customer to fix this issue?
your assistance would be highly appreciated.
I'm don't fully understand what you need, but please do the following:
Change the configuration to what you want it to look like
Run another debug ccsip
Copy the output and I will take a look at it.