I am not using DB, so I am writing my dispatcher list file manually like below:

0 sip:10.233.20.171:5060;transport=udp A 1 bijan=zxy;td=1

0 sip:10.233.20.106:5060;transport=tcp A 2 bijan=xyz;td=1

 

But kamailio does not interpret flags and priority as I hoped. What would be correct syntax for writing flag and priority in the dispatcher list file?

 

entering fifo_cmd ds_list

SET_NO:: 2

SET:: 1

        URI:: sip:166.20.21.97:5060;transport=udp flag=A priority=0 attrs=A

SET:: 0

        URI:: sip:10.233.20.106:5060;transport=tcp flag=A priority=0 attrs=A

        URI:: sip:10.233.20.171:5060;transport=udp flag=A priority=0 attrs=A