[OpenSIPS-Users] external applications

Ben Newlin Ben.Newlin at genesys.com
Tue Apr 2 15:05:00 UTC 2024


The start of the call would be when you call “create_dialog”. The dialog state for that is “UNCONFIRMED”. I’m not sure whether a dialog state change event is raised for creation. It may only be raised when the state changes after creation. But since you control the dialog creation, you can just take whatever action you desire at that time.

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of Prathibha B <prathibhab.tvm at gmail.com>
Date: Tuesday, April 2, 2024 at 8:05 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] external applications
 EXTERNAL EMAIL - Please use caution with links and attachments

________________________________
I tried is_method("INVITE"), but it is getting called only at the start of RINGING.

On Tue, 2 Apr 2024 at 15:09, Prathibha B <prathibhab.tvm at gmail.com<mailto:prathibhab.tvm at gmail.com>> wrote:
I am able to capture the trying status also. But not getting the START of the call...

On Tue, 2 Apr 2024 at 14:59, Prathibha B <prathibhab.tvm at gmail.com<mailto:prathibhab.tvm at gmail.com>> wrote:
How do I identify the START and TRYING state of the call?

 I am able to capture RINGING, ANSWER and TERMINATED states.

On Tue, 2 Apr 2024 at 14:51, Prathibha B <prathibhab.tvm at gmail.com<mailto:prathibhab.tvm at gmail.com>> wrote:
I tried
event_route[E_DLG_STATE_CHANGED] {

}

I am getting syntax error.

On Tue, 2 Apr 2024 at 14:45, Prathibha B <prathibhab.tvm at gmail.com<mailto:prathibhab.tvm at gmail.com>> wrote:
How to use  E_DLG_STATE_CHANGED to identify the start of the call?


On Wed, 20 Mar 2024 at 19:46, Ben Newlin <Ben.Newlin at genesys.com<mailto:Ben.Newlin at genesys.com>> wrote:
You can also use the REST client. And there are many other ways, as well.

There is no single correct answer to the vague question of connecting to any generic “external application”. You must understand your systems and decide the best approach depending on the needs and capabilities of both the external application and OpenSIPS.

Ben Newlin

From: Users <users-bounces at lists.opensips.org<mailto:users-bounces at lists.opensips.org>> on behalf of Bogdan-Andrei Iancu <bogdan at opensips.org<mailto:bogdan at opensips.org>>
Date: Wednesday, March 20, 2024 at 10:06 AM
To: OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>, Prathibha B <prathibhab.tvm at gmail.com<mailto:prathibhab.tvm at gmail.com>>
Subject: Re: [OpenSIPS-Users] external applications
 EXTERNAL EMAIL - Please use caution with links and attachments

________________________________
Use the dialog events:
    https://opensips.org/html/docs/modules/3.4.x/dialog.html#event_E_DLG_STATE_CHANGED<https://opensips.org/html/docs/modules/3.4.x/dialog.html#event_E_DLG_STATE_CHANGED>

And you subscribe from outside OpenSIPS for such events:
    https://www.opensips.org/Documentation/Interface-Events-3-4<https://www.opensips.org/Documentation/Interface-Events-3-4>

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com<https://www.opensips-solutions.com>

  https://www.siphub.com<https://www.siphub.com>
On 20.03.2024 12:16, Prathibha B wrote:
No. I want to pass START, CONNECT, END messages from OpenSIPS to external application.

On Wed, 20 Mar 2024 at 15:42, Marcin Groszek <marcin at voipplus.net<mailto:marcin at voipplus.net>> wrote:

Well, to execute external command from opensips you may want to use EXEC module.

this is a manual for v3.2:

https://opensips.org/html/docs/modules/3.2.x/exec.html<https://opensips.org/html/docs/modules/3.2.x/exec.html>


On 3/20/2024 5:00 AM, Prathibha B wrote:
How to integrate OpenSIPS with external applications?

--
Regards,
B.Prathibha


_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>

--

Best Regards:

Marcin Groszek

Business Phone Service

https://www.voipplus.net<https://www.voipplus.net>
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


--
Regards,
B.Prathibha


_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>



--
Regards,
B.Prathibha


--
Regards,
B.Prathibha


--
Regards,
B.Prathibha


--
Regards,
B.Prathibha


--
Regards,
B.Prathibha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240402/5b013a4c/attachment-0001.html>


More information about the Users mailing list