Cisco Unified Routing Rules XML Interface

« Back to Routing Rules API Questions

RE: Unable to Receive CURRI Messages

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi All
 
We want to use the external call control feature of the call manager. We started simply and wrote a simple application that only sends responses to keep-alive messages that recieved from CUCM (8.6.2.21011-1).
 

 
Our appliaction is an ASP.Net web site, on Page_load event, we configured the response header and sent the response. Also we added a small log that writes the incoming request header fields when the page is called. But, it seems to be there's no call to web application. We are also pretty sure that the translation pattern works coreectly, our test call hit the translation pattern. But at least, CUCM must send keepalive messages to application where there's no sign of messages.
 
Note that, the server that hosts tha application does not have an IP address with a zero in any of the octets.
 
Any ideas?
 
Thanks
Ergin

Hi Ergin,

does your primary web service URL in the eccp has a port specified? Something like http://application:8080/default.aspx?

Regards Michael

Hi Michael

Thanks for the quick reply. No, I did not specified port ont he URL. Is it a must?
 
Edit: We opened External Call Routing trace, in the command line interface we see
 
 
|HttpHandler - sendRoutingRej profile registered app is undefined
!!ERROR!! -ConnectionManager- wait_AuDisconnectRequest :CI NOT FOUND IN TABLE,CI(32364269,0),discType=1,IFCreated(0,0),PID(0-0,0-0),IFHandling(0,0),MCNode(0,0)|1,100,56,1.82981^IPADDRESS^MACADDRESS
 
Thanks

Hi Ergin,

Yes it is. When there is no port specified you can find an error in the eccp traces. The port is mandatory although you can create an eccp without one.

Regards Michael

Michael

Thank you very much for the information. Are there any constraints about the port number?

I used

http://applicationName:80/default.aspx

but still no movement..
 
Edit : I can call the web site from my browser with this link and I have no problem. But no keepalive messages from CUCM right now.
CM detailed logs changed, after adding port number, I started to get log:
 
15:57:43.772 |HttpHandler - sendRoutingRej profile registered app is undefined|1,100,56,1.83625^IPADDRESS^MACADDRESS
15:57:43.772 |HttpHandler - wait_RoutingReq no connection available/in service or handler not in active, send back routing rej |1,100,56,1.83625^IPADDRESS^MACADDRESS
 
 
Thanks

We removed and re-created the ECC profile, on creation process, we got a log like this:

16:17:39.860 |HttpConnection - reset existing connection, threadId=11318/123497360, URL http://APPNAME:80/default.aspx|*^*^*
16:17:39.862 |ConnectionFailureToPDP - A connection request from Unified CM to the policy decision point failed Policy Decision Point:http://APPNAME:80/default.aspx The cause of the connection failure:No response from PDP App ID:Cisco CallManager Cluster ID:StandAloneCluster Node ID:CUCMNAME|Alarm^*^*

It seems to send connection request, but the request failed because of no response. But, we cannot see any incoming request on web application site.

I'd suggest that you change the URL in the profile to use an IP address instead, to check that the problem isn't in name resolution.

Hi Ergin,

have you switched to debug trace level? When you create traces with this level you can see your response in the trace. This might help you with formating errors.

I experienced that correct format of your request is important. In our system the cucms received the response, wrote it into the traces and then noted that he got no response although he wrote it into the trace. If this happens, it might be a problem of a not properly formated response.

I small question: You can watch the traces with command line interface without rtmt?

Regards Michael

Hi All

Thanks for your responses. Now we have a URL with http://applicationName:80 and we saw that while resolving the url from dns server, call manager sends queries with AAAA type which means the request type is IPV6 but the problem is, IPV6 is disabled on call manager. Because of that, our dns servers returns a response with failure because it does not support IPV6. We are unable to understand why call manager behaves like this.

Also, now we are unable to call this application via IP address, but tomorrow we are going to request a new server and deploy the application on it, in order to call the application via IP address.

Any ideas about this IPV6 issue? Did you faced with that problem before?


@Michael:
Yes our traces are open and we are watching them with command line interface. While making a call, it says that "profile registered app is undefined". I think this is because, there's not a clear HEAD messaging between web application and CUCM.


Thanks

Very interesting...can you provide a network packet capture of the traffic to/from UCM showing this? 

If there's no handshake using HEAD, Unified CM will never send a route request. Going to have to resolve the other issue first.

I don't have access to my lab at the moment, and all my URIs are currently set up as IP addresses. Will try DNS when I have a chance.

Hi Mark

It behaves as you mentioned.


We opened a TAC case about the issue. We are also going to try to use it with ip of the server. I'll share the results.

If there's someone suffering from same problem, or if there's some one who can use application name in url such as http://applicationName:80, kindly share the situation here, so we may know whether this is a general problem or not.

Thanks

I switched my URI to use a domain name instead of IP address and it works fine.

http://userver2.mytest.org:80/block1

(not a real domain name, but served by a normal BIND server)

Two things:

1. Did you enable DNS client on your Unified CM server when you installed it? That's your one shot at enabling DNS on a cluster.

2. I try to keep my URIs pretty simple to alleviate issues. Let the web server take care of the work of mapping a simple URL to the complexity of your web server. The acutal path to my appliciation is /var/www/wsgi-scripts/sampleBlockApp.wsgi, but I let Apache alias it to /block1 instead. This works much more reliably...

Mark

Hi Mark

DNS is enabled, we have no problem with address resolution, for example while sending a ping. We have opened a TAC case about the issue. We are using ip address instead of application name and it works now. I'll share the result of the case.

Thank you all for your support