How to correctly generate a 181 Call is being forwarded reply?

Benoit Panizzon via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Organization ImproWare AG
Message-ID <[email protected]>
Hi Gang

One of our IC partner complained we do not correctly indicate calls
being forwarded by sending a 181 Call is being forwarded reply back
to the caller according to RFC5359.

So something like

sl_send_reply("181","Call is being forwarded");
have $ru point to CFW destination.
append_hf("Diversion: ....
record_route();
route(RELAY);

I don't seem to get it working as expected - still trying to figure out
what and where the call fails. I have cycled through sl_send_reply()
which looks right as I guess 181 is always sent stateless, sl_reply()
and t_reply().

Which one would be the right function to use? Is there anything else I
could have missed.

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.