[OpenSIPS-Users] Query ..

Sasmita Panda spanda at 3clogic.com
Wed Dec 2 09:20:24 CET 2015


Hi All ,


      I am trying to find the C line of the sdp of a INVITE request .

if (is_method("INVITE"))

   {
      $var(aline) = $(rb{sdp.line,a,1});
      xlog("The second a line in the SDP body is $var(aline)\n");
    }

        I got the entire C line in this case as "c=IN IP4  x.x.x.x". But if
I wanted to get the IP of the C line then what should I do . Is there any
comparison to get get the IP only . Please help me . Any kind of help is
appreciated .


*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151202/fec17380/attachment.htm>


More information about the Users mailing list