Hi Aqs,
How about putting a loop protection of some sort additionally like $si != myself.
Is there any chance the API http call is getting skipped to relay w/o getting any reply back and hence looping back to itself ?

Regards,
Sammy


On Jul 22, 2016 14:17, "Aqs Younas" <aqsyounas@gmail.com> wrote:
Hi,

I am using http_async_client and dispatcher modules of Kamailio. 
Here is scenario!

http_async_client makes calls to an API to get groupid upon which dispatcher sends calls. 

I am using SIPp to generate calls with 100 cps. I see some calls being failed with an error cause, 483 Too Many Hops. 
Taking the trace shows Kamailio routing some calls to itself. 

I think this is not a configuration issue since all calls are same(follow same logic) and some calls get failed. 

Any pointer is much appreciated. 

Best Regards.




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users