[Serusers] Extract "from" header
Vanita Jain
vanita at vigyana.com
Tue Aug 24 19:15:16 CEST 2004
Hi,
I need similar thing. Can you tell us how you generated extra header
which has values of previous header.
For simply adding a header, I use append_to_reply().
I also need to generate NOTIFY from SER and send. How is it possible.
-Vanita
-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of Ranga
Sent: Saturday, August 21, 2004 12:29 AM
To: Bob Bob; serusers at lists.iptel.org
Subject: Re: [Serusers] Extract "from" header
Bob,
Yeah. We had a similar requirement. We have
devoloped a new module which implements our business
logic in generating extra headers.
I remember reading in ser lists about variables in
script. This was in pipeline, I believe. I am not
sure. If variables are supported in the script, it may
be possible then.
regards
Ranga
--- Bob Bob <cflerackers at yahoo.com> wrote:
> Hi,
>
> I'd like to extract the From URI from a request and
> use it to add a Call-Info header:
> From: <sip:test at test.com>;tag=fd29df3df47
> ->
> Call-Info:
>
<;purpose=icon">http://myserver.com/get.php?id=sip:test@test.com>;purpos
e=icon
>
> Can it be done with ser? There are a lot of
> functions but none of them seem to be able to
> extract headers and use the information in another
> header.
>
> Best regards,
> Chris
>
>
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!>
_______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
_______________________________________________
Serusers mailing list
serusers at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list