[PATCH] [RFC] Add function pjsip_tdata_get_dlg()

BC
b17 c0de
Fri, Oct 7, 2016 6:46 AM

Hi,
This patch adds the function pjsip_tdata_get_dlg() which is similar to
the pjsip_rdata_get_dlg() function except that it works on tdatas.
This is very useful to use from inside a module to know if a
particular outgoing request/response should be modified based on it
belonging to a dialog. I would be happy if someone from the pjsip team
could review it and apply it if they think it makes sense.

Best Regards,
Kal

Hi, This patch adds the function pjsip_tdata_get_dlg() which is similar to the pjsip_rdata_get_dlg() function except that it works on tdatas. This is very useful to use from inside a module to know if a particular outgoing request/response should be modified based on it belonging to a dialog. I would be happy if someone from the pjsip team could review it and apply it if they think it makes sense. Best Regards, Kal
M
Ming
Fri, Oct 7, 2016 8:42 AM

Hi Kal,

Thanks for the patch. We committed it in ticket #1967
(https://trac.pjsip.org/repos/ticket/1967).

Best regards,
Ming

On Fri, Oct 7, 2016 at 2:46 PM, b17 c0de b17c0de@gmail.com wrote:

Hi,
This patch adds the function pjsip_tdata_get_dlg() which is similar to
the pjsip_rdata_get_dlg() function except that it works on tdatas.
This is very useful to use from inside a module to know if a
particular outgoing request/response should be modified based on it
belonging to a dialog. I would be happy if someone from the pjsip team
could review it and apply it if they think it makes sense.

Best Regards,
Kal


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Kal, Thanks for the patch. We committed it in ticket #1967 (https://trac.pjsip.org/repos/ticket/1967). Best regards, Ming On Fri, Oct 7, 2016 at 2:46 PM, b17 c0de <b17c0de@gmail.com> wrote: > Hi, > This patch adds the function pjsip_tdata_get_dlg() which is similar to > the pjsip_rdata_get_dlg() function except that it works on tdatas. > This is very useful to use from inside a module to know if a > particular outgoing request/response should be modified based on it > belonging to a dialog. I would be happy if someone from the pjsip team > could review it and apply it if they think it makes sense. > > Best Regards, > Kal > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
BC
b17 c0de
Fri, Oct 7, 2016 8:59 AM

Hi Ming,
Thanks so much!

Kal

On Fri, Oct 7, 2016 at 10:42 AM, Ming ming@teluu.com wrote:

Hi Kal,

Thanks for the patch. We committed it in ticket #1967
(https://trac.pjsip.org/repos/ticket/1967).

Best regards,
Ming

On Fri, Oct 7, 2016 at 2:46 PM, b17 c0de b17c0de@gmail.com wrote:

Hi,
This patch adds the function pjsip_tdata_get_dlg() which is similar to
the pjsip_rdata_get_dlg() function except that it works on tdatas.
This is very useful to use from inside a module to know if a
particular outgoing request/response should be modified based on it
belonging to a dialog. I would be happy if someone from the pjsip team
could review it and apply it if they think it makes sense.

Best Regards,
Kal


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Ming, Thanks so much! Kal On Fri, Oct 7, 2016 at 10:42 AM, Ming <ming@teluu.com> wrote: > Hi Kal, > > Thanks for the patch. We committed it in ticket #1967 > (https://trac.pjsip.org/repos/ticket/1967). > > Best regards, > Ming > > On Fri, Oct 7, 2016 at 2:46 PM, b17 c0de <b17c0de@gmail.com> wrote: >> Hi, >> This patch adds the function pjsip_tdata_get_dlg() which is similar to >> the pjsip_rdata_get_dlg() function except that it works on tdatas. >> This is very useful to use from inside a module to know if a >> particular outgoing request/response should be modified based on it >> belonging to a dialog. I would be happy if someone from the pjsip team >> could review it and apply it if they think it makes sense. >> >> Best Regards, >> Kal >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org