I figured out the correct syntax:
URI:: sip:10.233.20.106:5060;transport=tcp flag=A priority=2
attrs='bijan=xyz;td=1'
Now the remaining question is: can dispatcher pass the priority to kamailio, for instance
over an AVP?
thanks
From: sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
On Behalf Of Karimi-Cherkandi, Bizhan
Sent: Friday, September 27, 2013 10:58 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] dispatcher: what is the syntax for dispatcher list file
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