Hi Ali, unfortunately there is no standard way of sending test indications to the UAC. sl_send_reply() is for sending SIP replies to the UAC and not text indications. Some clients may display the text reason from the SIP reply, so you might try sending ("100","Call Going To PSTN" ), but it is up to the client to display.
Regards, Bogdan Ali Jawad wrote: > Dear Bodgan > > I am using something like the below, I could be all wrong about this > > > route[2] > { > # pstn handling, simply route out to pstn. > xlog("L_INFO","rewritehostport to Splendor_VOIP_GW:5065"); > sl_send_reply("Call Going To PSTN"); <===== I would like to > send this to the Voip client display window. > sethostport("xx.xx.xx.xx"); > route(1); > } > > > -----Original Message----- > From: Bogdan-Andrei Iancu [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 05, 2008 5:52 PM > To: Ali Jawad > Cc: users@lists.openser.org > Subject: Re: [OpenSER-Users] Sending Text Response from Openser to > client > > Hi Ali, > > You are referring to the messages that are sent back from openser. Can > you give an example of such messages (already existing)? > > Regards, > Bogdan > > Ali Jawad wrote: > >> Dear All >> >> >> >> I would like to change the messages that are sent back from the >> openser server to the client is this possible using sl_send_reply for >> > > >> example ? >> >> I have tried sl_send_reply in the route[1] but it pops up a dialog box >> > > >> and it seems to break the calls. >> >> >> >> Can anyone tell me where to get more info about such a scenario. Or >> suggest any solutions ? >> >> >> >> Thanks >> >> >> > ------------------------------------------------------------------------ > >> _______________________________________________ >> Users mailing list >> Users@lists.openser.org >> http://lists.openser.org/cgi-bin/mailman/listinfo/users >> >> > > > _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users