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
凌芳瑜 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@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..
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@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
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@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Klaus,
you are right - I wasn't paying enough attention - I thought it was about a relayed ACK. I guess the problem is in TM when generating ACK - it should put a MF header.
regards, Bogdan
Klaus Darilion wrote:
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@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Nick,
I made a fix on SVN trunk - TM will include a Max-Forwards header in the local generated ACK and CANCEL. Let me know if works ok for you.
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@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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
my mistake - wrong level in the thread :).
regards, bogdan
nick wrote:
Bogdan-Andrei Iancu wrote:
Hi Nick,
I made a fix on SVN trunk - TM will include a Max-Forwards header in the local generated ACK and CANCEL. Let me know if works ok for you.
Regards, bogdan
Thanks, but it wasn't my problem but that of Fangyu Ling.
I'm sure he'll be happy though!!
Hi Bogdan-Andrei: Thank you very much. It's very helpful for me.
Hi Nick: I'm "she", not "he" : )
Best Regards, Fangyu Ling
my mistake - wrong level in the thread :).
regards, bogdan
nick wrote:
Bogdan-Andrei Iancu wrote:
Hi Nick,
I made a fix on SVN trunk - TM will include a Max-Forwards header in the local generated ACK and CANCEL. Let me know if works ok for you.
Regards, bogdan
Thanks, but it wasn't my problem but that of Fangyu Ling.
I'm sure he'll be happy though!!
凌芳瑜 wrote:
Hi Bogdan-Andrei: Thank you very much. It's very helpful for me.
Hi Nick: I'm "she", not "he" : )
Best Regards, Fangyu Ling
my mistake - wrong level in the thread :).
regards, bogdan
nick wrote:
Bogdan-Andrei Iancu wrote:
Hi Nick,
I made a fix on SVN trunk - TM will include a Max-Forwards header in the local generated ACK and CANCEL. Let me know if works ok for you.
Regards, bogdan
Thanks, but it wasn't my problem but that of Fangyu Ling.
I'm sure he'll be happy though!!
My apologies!