[OpenSIPS-Devel] Getting header field values as single

Gürkan Aslan gurkan.aslan at comturk.com
Tue Sep 16 17:31:39 CEST 2008


Hi everybody,

I'm implementing memcache to acc module of Opensips. I need to get the
value of "to" and "from" fields in the acc_db_request function of acc.c
file. I'm trying to use rq->from.s but it returns whole data of header.
I only need single data of "from" and "to" fields like "555434323". How
can i fetch this data? I'm searching something in parser files but
nothing in return.

Could you please help me about this?

Best Regards
Gurkan ASLAN




More information about the Devel mailing list