Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-17 Thread Bogdan-Andrei Iancu
Iñaki Baz Castillo wrote:
> 2009/9/17 Alex Balashov :
>   
>> Iñaki Baz Castillo wrote:
>> 
>>> 2009/9/17 Alex Balashov :
>>>   
 insert_hf()
 
>>> But that is just for request, not for responses...
>>> There is some function in tm module to add headers in responses (AFAIR).
>>>
>>>   
>> That's not true, AFAIK:
>>
>>   http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292
>>
>> "This function [insert_hf] can be used from REQUEST_ROUTE,
>> ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. "
>> 
>
> Ops, great!
>   
probably you confused with append_to_reply() (from textops) which adds a 
header to the future localy-generated replies to the currently processed 
request.

Regards,
Bogdan

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-17 Thread Iñaki Baz Castillo
2009/9/17 Alex Balashov :
> Iñaki Baz Castillo wrote:
>> 2009/9/17 Alex Balashov :
>>> insert_hf()
>>
>> But that is just for request, not for responses...
>> There is some function in tm module to add headers in responses (AFAIR).
>>
>
> That's not true, AFAIK:
>
>   http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292
>
> "This function [insert_hf] can be used from REQUEST_ROUTE,
> ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. "

Ops, great!



-- 
Iñaki Baz Castillo


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-17 Thread Alex Balashov
Iñaki Baz Castillo wrote:
> 2009/9/17 Alex Balashov :
>> insert_hf()
> 
> But that is just for request, not for responses...
> There is some function in tm module to add headers in responses (AFAIR).
> 

That's not true, AFAIK:

   http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292

"This function [insert_hf] can be used from REQUEST_ROUTE, 
ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. "

-- 
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-17 Thread Iñaki Baz Castillo
2009/9/17 Alex Balashov :
> insert_hf()

But that is just for request, not for responses...
There is some function in tm module to add headers in responses (AFAIR).

-- 
Iñaki Baz Castillo


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-17 Thread Alex Balashov
All changes are made in openser.cfg.

priyank luthra wrote:

> Hi
> 
> Can you tell me in detail, which file to make this change in.. i am a 
> newbie to opensips I have openSER 1.3.0.
> 
> 
> 
> On Thu, Sep 17, 2009 at 12:03 PM, Alex Balashov 
> mailto:abalas...@evaristesys.com>> wrote:
> 
> insert_hf()
> 
> priyank luthra wrote:
> 
>  > Hi
>  >
>  > Can i use openser to insert Service Route header in 2xx Register
> response.
>  >
>  > If yes, how.
>  >
>  >
>  > --
>  > Regards,
>  > Priyank
>  >
>  >
>  >
> 
>  >
>  > ___
>  > Users mailing list
>  > Users@lists.opensips.org 
>  > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> --
> Alex Balashov - Principal
> Evariste Systems
> Web : http://www.evaristesys.com/
> Tel : (+1) (678) 954-0670
> Direct  : (+1) (678) 954-0671
> 
> ___
> Users mailing list
> Users@lists.opensips.org 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> 
> 
> -- 
> Regards,
> Priyank
> 
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-16 Thread priyank luthra
Hi

Can you tell me in detail, which file to make this change in.. i am a newbie
to opensips I have openSER 1.3.0.



On Thu, Sep 17, 2009 at 12:03 PM, Alex Balashov
wrote:

> insert_hf()
>
> priyank luthra wrote:
>
> > Hi
> >
> > Can i use openser to insert Service Route header in 2xx Register
> response.
> >
> > If yes, how.
> >
> >
> > --
> > Regards,
> > Priyank
> >
> >
> > 
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> --
> Alex Balashov - Principal
> Evariste Systems
> Web : http://www.evaristesys.com/
> Tel : (+1) (678) 954-0670
> Direct  : (+1) (678) 954-0671
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
Regards,
Priyank
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-16 Thread Alex Balashov
insert_hf()

priyank luthra wrote:

> Hi
> 
> Can i use openser to insert Service Route header in 2xx Register response.
> 
> If yes, how.
> 
> 
> -- 
> Regards,
> Priyank
> 
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

2009-09-16 Thread priyank luthra
Hi

Can i use openser to insert Service Route header in 2xx Register response.

If yes, how.


-- 
Regards,
Priyank
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users