[Serusers] Extract "from" header

Jiri Kuthan jiri at iptel.org
Tue Aug 24 21:28:54 CEST 2004


At 09:24 PM 8/24/2004, Ranga wrote:
>I believe, ser can not generate a new request. 

Not without writing code. For example, the PA module
generates requests on its own to distribute NOTIFYs.

-jiri

>You may
>have to run another user agent that generates NOTIFY
>requests. You will have to forward SUBCRIBE/any other
>request that triggers NOTIFY to this UA to get NOTIFY
>back from that UA. Please correct me if I am wrong
>here.
>
>> 
>> -Vanita
>> 
>> -----Original Message-----
>> From: serusers-bounces at lists.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
>> 
>> 
>
>
>
>                
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - 50x more storage than other providers!
>http://promotions.yahoo.com/new_mail
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list