[SR-Users] How to get cause from reason header?

Luis Rojas G. luis.rojas at sixbell.com
Fri May 8 18:31:39 CEST 2020


Hello,

I am sure that this is very easy to do, but I have been googling and I 
can't find a way.

Having a Reason header, for instance :

Reason: SIP;cause=Some_Cause;text="Some_text"

How can I get the value of "Some_Cause"? I need to compare it to some 
specific numeric values...

Thanks in advance,

Luis

-- 
Luis Rojas
Software Architect
Sixbell
Los Leones 1200
Providencia
Santiago, Chile
Phone: (+56-2) 22001288
mailto:luis.rojas at sixbell.com
http://www.sixbell.com




More information about the sr-users mailing list