[sr-dev] How to get source and destination ip and port details in corex module

Olle E. Johansson oej at edvina.net
Wed Jun 22 12:19:59 CEST 2016


> On 21 Jun 2016, at 13:03, Niraj <niraj.r at sabsebolo.com> wrote:
> 
> Hi Olle,
>   Thanks for your reply. But I beg to differ that any other pseudo variable available in this module apart from $mb and msg_avp. I have already tried to use those variables but they all give <null> value.
I think we must be talking about two different things. I talk about the script language - are you talking about
C source code development?

/O
> 
> Thanks,
> Niraj
> On Tuesday 21 June 2016 04:23 PM, Olle E. Johansson wrote:
>>> On 21 Jun 2016, at 12:19, Niraj <niraj.r at sabsebolo.com> wrote:
>>> 
>>> Hi,
>>>  Corex module has only raw SIP message and no other pseudo variables available. Can anybody shade some light on how to get source and destination IP and port details for that particular SIP message?
>> I think you need to read through the pseudovariable cookbook
>> http://www.kamailio.org/wiki/cookbooks/4.4.x/pseudovariables
>> 
>> You will find all you ask for and much more in that document!
>> 
>> /O
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> 
> -- 
> Thanks & Regards,
> Niraj Roy
> Mob: +91 9426554400
> 




More information about the sr-dev mailing list