Hi,
Is there any configuration to fetch SIP response body received?.
My requirement is to fetch the SIP response body and save it into database.
Thanks, Vivek
Won't accessing $mb in an onreply_route work?
On Thu, Mar 16, 2017 at 08:25:48PM +0530, vivek@advaitamtech.com wrote:
Hi,
Is there any configuration to fetch SIP response body received?.
My requirement is to fetch the SIP response body and save it into database.
Thanks, Vivek
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Yes. It worked.
Thank you.
-----Original Message----- From: "Alex Balashov" abalashov@evaristesys.com Sent: Thursday, 16 March, 2017 8:32pm To: "Kamailio (SER) - Users Mailing List" sr-users@lists.sip-router.org Subject: Re: [SR-Users] Configuration to fetch SIP response body.
Won't accessing $mb in an onreply_route work?
On Thu, Mar 16, 2017 at 08:25:48PM +0530, vivek@advaitamtech.com wrote:
Hi,
Is there any configuration to fetch SIP response body received?.
My requirement is to fetch the SIP response body and save it into database.
Thanks, Vivek
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Note there are two variables that you may have to check:
$mb - full SIP message (request/response) - headers and body
https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#mb_-_sip_messa...
$rb - only the body for sip request/response (no headers)
https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#rb_-_body_of_r...
Cheers, Daniel
On 17/03/2017 06:51, vivek@advaitamtech.com wrote:
Yes. It worked.
Thank you.
-----Original Message----- From: "Alex Balashov" abalashov@evaristesys.com Sent: Thursday, 16 March, 2017 8:32pm To: "Kamailio (SER) - Users Mailing List" sr-users@lists.sip-router.org Subject: Re: [SR-Users] Configuration to fetch SIP response body.
Won't accessing $mb in an onreply_route work?
On Thu, Mar 16, 2017 at 08:25:48PM +0530, vivek@advaitamtech.com wrote:
Hi,
Is there any configuration to fetch SIP response body received?.
My requirement is to fetch the SIP response body and save it into
database.
Thanks, Vivek
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users