[OpenSIPS-Devel] Getting header field values as single

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Sep 22 11:22:49 CEST 2008


Hi Gürkan,

You mean only the username part of the FROM or TO headers?

Regards,
Bogdan

Gürkan Aslan wrote:
> 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
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list