[OpenSER-Users] Insert a Header into ACK message
Klaus Darilion
klaus.mailinglists at pernau.at
Thu Jun 21 15:11:30 CEST 2007
The suspect message is generated by openser internally (8).
Thus the max-fwd module wont help - I guess.
regards
klaus
Bogdan-Andrei Iancu wrote:
> Hi,
>
> maybe the simplest way will be to use the maxfwd module. See:
> http://www.openser.org/docs/modules/1.2.x/maxfwd.html#AEN70
>
> regards,
> bogdan
>
> nick wrote:
>> 凌芳瑜 wrote:
>>
>>> Dear All:
>>> I've tried many methods to add Max-Forwarsd header into ACK message
>>> (message 8), all methods I tried were fail.
>>> According to RFC 3261 8.1.1.6, Max-Forwards must exist in this ACK
>>> message. Can anyone tell me how to add a header into ACK message?
>>> Thank you very much.
>>>
>>> UA11 : NUT(Proxy 1) : UA12
>>> | : | : |
>>> |-------:------->| : | 1. INVITE
>>> |<------:--------| : | 2. 407
>>> |-------:------->| : | 3. ACK
>>> | : | : |
>>> |-------:------->| : | 4. INVITE
>>> | : |-------:------->| 5. INVITE
>>> |<------:--------| : | 6. 100
>>> | : | : |
>>> | : |<------:--------| 7. 486 (Busy Here)
>>> | : | : |
>>> | : |-------:------->| 8. ACK
>>> | : | : |
>>> |<------:--------| : | 9. 486
>>> | : | : |
>>> |-------:------->| : |10. ACK
>>> | : | : |
>>>
>>> Best Regards,
>>> Fangyu Ling
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> if(is_method "ACK") && !search(Max-Forwards:)){
>> insert_hf("Max-Forwards: X ", "" )
>> };
>>
>> Something like this (I guess you'll need a number in the max forwards
>> header, etc)in the correct place (look at the documentation for
>> insert_hf()) should do the job..
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list