[Users] Adding headers to the CANCEL messages generated by openser

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 18 12:55:59 CEST 2007


Hi Ardjan,

well...you will need to do some work in TM module because it is 
responsible for CANCEL generation, but I cannot make any kind of estimation.

Regards,
bogdan

Ardjan Zwartjes wrote:
> Hi Bogdan,
>
> Thanks for your quick answer, though it's not what I hoped for ;). I
> assume you mean that this message is unaccessible from within the
> configuration script, do you know how much work it would be to access
> this message from within the source code? Is it possible to write a
> module that does this or do I really need to modify the core?
>
> Kind regards,
> Ardjan.
>
>   
>> -----Original Message-----
>> From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro] 
>> Sent: woensdag 18 april 2007 10:51
>> To: Ardjan Zwartjes
>> Cc: users at openser.org
>> Subject: Re: [Users] Adding headers to the CANCEL messages 
>> generated by openser
>>
>>
>> Hi Ardjan,
>>
>> you cannot do this as the CANCEL is automatically internally 
>> generated 
>> and you do not have any access to it.
>>
>> regards,
>> bogdan
>>
>> Ardjan Zwartjes wrote:
>>     
>>> Hello openser users,
>>>
>>> I'm trying to do something with openser but I haven't been able to 
>>> figure out how to do this. So I hope somebody on the list knows the
>>> answer:
>>> In my configuration script I use append_hf to add 
>>>       
>> application data to
>>     
>>> the SIP messages, this works great until the moment where I do a
>>> parallel branch. The invites work just fine since I can do 
>>>       
>> the append_hf
>>     
>>> in the branch_route. The problem arises when one of the branches is
>>> answered, at this point OpenSER will generate CANCEL 
>>>       
>> messages for the
>>     
>>> other branches and I have no clue on how to add header fields with
>>> information about the original invite to those messages. 
>>> So my question is: Does somebody know how you can add 
>>>       
>> headers with data
>>     
>>> to the CANCEL messages generated by SER in a parallel 
>>>       
>> branch? Thanks in
>>     
>>> advance.
>>>
>>> Kind regards,
>>> Ardjan Zwartjes.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>   
>>>       
>>     
>
>   





More information about the Users mailing list