[Asterisk-Users] Asterisk 1.2.1 Type of Service

Steve Beaumont steveb at asbc.demon.co.uk
Wed Jan 4 03:35:56 MST 2006



Armin Schindler wrote:

>On Tue, 3 Jan 2006, Steve Beaumont wrote:
>  
>
>>All,
>>
>>I seem to have a problem with Asterisk 1.2.1.
>>
>>Version 1.0.?? used to allow me to set the Type of Service bits to ef  I.e.
>>tos=0xb8 Diffserv EF (Expedited Forwarding) bits. This seems not to be working
>>with 1.2.1:-
>>
>>
>>Jan  3 19:26:26 VERBOSE[2702] logger.c:   == Using TOS bits 0
>>Jan  3 19:26:36 WARNING[2701] rtp.c: Unable to set TOS to 184
>>Jan  3 19:33:01 WARNING[18290] rtp.c: Unable to set TOS to 184
>>Jan  3 19:37:18 VERBOSE[2702] logger.c:   == Using TOS bits 0
>>Jan  3 19:37:34 WARNING[2701] rtp.c: Unable to set TOS to 184
>>Jan  3 19:46:25 VERBOSE[2702] logger.c:   == Using TOS bits 0
>>Jan  3 19:46:38 WARNING[2701] rtp.c: Unable to set TOS to 184
>>
>>
>>Any help would be appreciated as its playing havoc with the call quality :-(
>>    
>>
>
>Do you run Asterisk as non-root ?
>On Linux, only root has the default capability to set the high bits of
>TOS byte.
>
>Armin
>
>
>
>  
>
Armin,

Thanks for the response yes, asterisk is running as user 'asterisk':-

asterisk  2670  2629  0 08:25 ?        00:00:07 /usr/sbin/asterisk -U 
asterisk -G asterisk -vvvg -c

This is an asterisk at home distribution Version 2.2

Any idea's how I can runn asterisk as root with asterisk at home ?

Best Regards
Steve Beaumont



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.12/220 - Release Date: 03/01/2006




More information about the asterisk-users mailing list