[OpenSIPS-Users] Users Digest, Vol 131, Issue 58

Liviu Chircu liviu at opensips.org
Tue Jun 25 12:18:58 EDT 2019


Yes it has, since it means: we've gone stateful, a transaction is being 
created,
let's announce this to any modules which have subscribed to this 
creation event.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 25.06.2019 19:13, Олег Подгуйко via Users wrote:
> Hey Liviu,
>
> Thank you for information.
>
> Could you explaiin what does it means "run_reqin_callbacks" at the 
> debug log. It looks like
>
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: MIME part from 
> INVITE was delete
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: DBG:tm:t_newtran: 
> transaction on entrance=(nil)
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: 
> DBG:core:parse_headers: flags=ffffffffffffffff
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: 
> DBG:core:parse_headers: flags=78
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: 
> DBG:tm:t_lookup_request: start searching: hash=25168, isACK=0
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: 
> DBG:tm:matching_3261: RFC3261 transaction matching failed
> Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: 
> DBG:tm:t_lookup_request: no transaction found
>
> *Jun 23 07:05:55 xx-xxx-1 /usr/sbin/opensips[18398]: 
> DBG:tm:run_reqin_callbacks: trans=0x7fd9e490a6a0, callback type 1, id 
> 0 entered*
>
>
> Does this function has any relation to statefull mode of opensips?
>
>     Понедельник, 24 июня 2019, 19:00 +03:00 от
>     users-request at lists.opensips.org:
>
>     Send Users mailing list submissions to
>     users at lists.opensips.org <mailto:users at lists.opensips.org>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     or, via email, send a message with subject or body 'help' to
>     users-request at lists.opensips.org
>     <mailto:users-request at lists.opensips.org>
>
>     You can reach the person managing the list at
>     users-owner at lists.opensips.org <mailto:users-owner at lists.opensips.org>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Users digest..."
>
>
>     Today's Topics:
>
>        1. Opensips 3.0 segfault on opensips-cli -x mi reload_routes
>           (Kirill Galinurov)
>        2. Re: Understanding statefuli proxy mode opensips. (Liviu Chircu)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Mon, 24 Jun 2019 09:58:19 +0300
>     From: Kirill Galinurov <k.galinurov at gmail.com
>     <mailto:k.galinurov at gmail.com>>
>     To: OpenSIPS users mailling list <users at lists.opensips.org
>     <mailto:users at lists.opensips.org>>
>     Subject: [OpenSIPS-Users] Opensips 3.0 segfault on opensips-cli -x mi
>     reload_routes
>     Message-ID:
>     <CAPDUut-ohr4kybnH7qkhY1O8Z002ZrfobiOX7JybA_RJWYWCVg at mail.gmail.com
>     <mailto:CAPDUut-ohr4kybnH7qkhY1O8Z002ZrfobiOX7JybA_RJWYWCVg at mail.gmail.com>>
>     Content-Type: text/plain; charset="utf-8"
>
>     Hi all. Latest opensips from night build.
>     I try command - opensips-cli -x mi reload_routes
>     And get errors::
>      INFO:core:routes_reload_per_proc: dropping reload cmd due out of
>     sequence
>     reason
>     Jun 24 02:53:14 callout-msk /usr/sbin/opensips[14198]:
>     CRITICAL:core:sig_usr: segfault in process pid: 14198, id: 5
>     Jun 24 02:53:14 callout-msk kernel: opensips[14198]: segfault at 1 ip
>     00000000004652b0 sp 00007ffd7cf54050 error 4 in opensips[400000+1
>     f1000]
>     Jun 24 02:53:15 callout-msk /usr/sbin/opensips[14193]:
>     INFO:core:handle_sigs: child process 14198 exited by a signal 11
>     Jun 24 02:53:15 callout-msk /usr/sbin/opensips[14193]:
>     INFO:core:handle_sigs: core was not generated
>     Jun 24 02:53:15 callout-msk /usr/sbin/opensips[14193]:
>     INFO:core:handle_sigs: terminating due to SIGCHLD
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     <http://lists.opensips.org/pipermail/users/attachments/20190624/54891b0f/attachment-0001.html>
>
>     ------------------------------
>
>     Message: 2
>     Date: Mon, 24 Jun 2019 18:04:29 +0300
>     From: Liviu Chircu <liviu at opensips.org <mailto:liviu at opensips.org>>
>     To: OpenSIPS users mailling list <users at lists.opensips.org
>     <mailto:users at lists.opensips.org>>
>     Subject: Re: [OpenSIPS-Users] Understanding statefuli proxy mode
>     opensips.
>     Message-ID: <013fa54d-2eed-11d0-e1ea-e8af750d7fc3 at opensips.org
>     <mailto:013fa54d-2eed-11d0-e1ea-e8af750d7fc3 at opensips.org>>
>     Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
>     Hey Oleg,
>
>     When processing a SIP request, you can create the SIP transaction (go
>     stateful)
>     using either t_newtran() [1] or t_relay() [2].  Replies will be
>     automatically
>     intercepted, matched and handled afterwards.  To obtain script-level
>     access to
>     them, you must install a t_on_reply() [3] route callback.
>
>     Regards,
>
>     [1]:
>     https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_newtran
>     [2]: https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay
>     [3]:
>     https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_on_reply
>     <https://opensips.org/html/docs/modules/3.0.x/tm.html#func_t_relay>
>
>     Liviu Chircu
>     OpenSIPS Developer
>     http://www.opensips-solutions.com
>
>     On 23.06.2019 12:13, Олег Подгуйко via Users wrote:
>     > How to make opensips when accepting INVITE immediately start
>     working
>     > as a statefull proxy?
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     <http://lists.opensips.org/pipermail/users/attachments/20190624/92402913/attachment-0001.html>
>
>     ------------------------------
>
>     Subject: Digest Footer
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     ------------------------------
>
>     End of Users Digest, Vol 131, Issue 58
>     **************************************
>
>
>
> -- 
> Олег Подгуйко
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190625/47d61d68/attachment.html>


More information about the Users mailing list