I am created bi-directional G711 calls between UAC and UAS using the following 
commands:

    UAC (IP 192.168.0.3): ./sipp -sf uacG711alaw.xml 192.168.0.2 -users 2 -mi 
192.168.0.3 -i 192.168.0.3 -max_socket 65535 -t un
    UAS (IP 192.168.0.2): ./sipp -sn uasG711alaw.xml -mi 192.168.0.2 -i 
192.168.0.2 -t un

Now I am enabling QoS using the following commands:

    iptables -t mangle -A OUTPUT -p udp -m udp --sport 5060 -j DSCP 
--set-dscp-class cs3 # mark SIP UDP packets with CS3
    iptables -t mangle -A OUTPUT -p udp -m udp --sport 6000:8887 -j DSCP 
--set-dscp-class ef # mark RTP packets with EF
    iptables -t mangle -A OUTPUT -p udp -m udp --sport 8888:65535 -j DSCP 
--set-dscp-class cs3 # mark local control port number and onwards with CS3


My questions is the following:

1) As you can notice I am using the '-t un' option to open one UDP socket for 
each call. For example this means that calls generated by the UAC can use a SIP 
port such as 50000, however I noticed that the UAS is using SIP port 5060 for 
all calls. Is that normal?

2) In regards to applying QoS, am I correct assigning DSCP value CS3 to ports 
ranging from 8888 to 65535?

Thanks,
Antoine



      
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to