[Kamailio-Users] [Kamailio-Devel] New module : PURPLE - IM/Presence multi-protocol gateway

Iñaki Baz Castillo ibc at aliax.net
Thu Jan 29 16:11:55 CET 2009


2009/1/29 Victor Pascual Ávila <victor.pascual.avila at gmail.com>:

> If we are to live with such a limitation I would suggest sending back
> a 202 response instead. It doesn't make a big difference but the
> return code might be relevant in some scenarios:
>
> -If the UAC receives a 200 OK response it may assume the message has
> been delivered to the final destination
> -If the UAC receives a 202 Accepted response it may assume the message
> has been delivered to a gateway but has no information whether the
> message has been delivered to the final destination or not.

Good point.
However, note that the response code is choosen in the Kamailio
script, it's not hardcoded in the module source, so the only needed
change is in the módule documentation example :)
-- 
Iñaki Baz Castillo
<ibc at aliax.net>




More information about the sr-users mailing list