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
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
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:bogdan@voice-system.ro] 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
On Wednesday 06 February 2008 09:19:03 Ali Jawad wrote:
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); }
sl_send_reply() should have "code" and "reason", for example:
sl_send_reply("404", "Not found"); sl_send_reply("302", "Moved temporaly"); sl_send_reply("100", "Trying");
In your case I'd use:
sl_send_reply("100", "Call Going To PSTN");
but obviously this is pure SIP, nothing says that your VoIP client will display the reason of a "100" reply.
Iñaki Baz Castillo wrote:
In your case I'd use:
sl_send_reply("100", "Call Going To PSTN");
but obviously this is pure SIP, nothing says that your VoIP client will display the reason of a "100" reply.
Exactly. There is nothing in the SIP specification(s) that says: If you send a message with this reason code and body, a "VoIP client" (what do you mean by that, exactly? A UAC?) will somehow "display" it. That is entirely an application-specific matter. Some clients doubtless implement this over a NOTIFY transport or what have you, but otherwise, that's not specified.
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:bogdan@voice-system.ro] 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
Dear Bogdan
Thank you for your support and Alex too, I understand that there is no standard way, but in this particular case your example worked.
Thanks alot
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Wednesday, February 06, 2008 10:59 AM To: Ali Jawad Cc: users@lists.openser.org Subject: Re: [OpenSER-Users] Sending Text Response from Openser to client
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:bogdan@voice-system.ro] 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
Dear Bodgan-Andrei
Thanks for your help it has brought me a step closer to the solution.
In the auth_db module the following is stated.
Passwords can be either stored as plain text or pre-calculated HA1 strings.
The passwords I want to import were encrypted using 3DES this is most likely going to cause problem am I right ?
Thanks -----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] 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