4 jul 2013 kl. 09:32 skrev Alex Balashov <abalas...@evaristesys.com>:
> Kamailio is a proxy, and not designed to originate requests. > > If you really, really want to generate a request, you can use uac_req_send(): > > http://kamailio.org/docs/modules/4.0.x/modules/uac.html#idp1686632 > > But, you'll have to spoof all the parameters, including the pertinent branch > ID, From tag and CSeq, correctly. I'm not sure if $uac_req(...) lets you do > that. > > This is a very bad idea. CANCELs -- like most requests -- are for user > agents to send, not proxies. Alex, Who sends a CANCEL on a fork? ;-) That's the proxy's job. (Sorry could not resist) But you are right that if you cancel ALL branches in the proxy so that the UA suddenly gets a 487 and is not aware of the CANCEL that can be messy. /O _______________________________________________ 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