[SR-Users] dispatcher: what is the syntax for dispatcher list file

Daniel-Constantin Mierla miconda at gmail.com
Fri Nov 1 20:22:35 CET 2013


Hello,

On 9/27/13 6:10 PM, Karimi-Cherkandi, Bizhan wrote:
>
> 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?
>
no. Maybe you can write its value again in the attrs field. Or write a 
patch for that.

Cheers,
Daniel

> thanks
>
> *From:*sr-users-bounces at lists.sip-router.org 
> [mailto:sr-users-bounces at 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 
> <sip:10.233.20.171:5060;transport=udp> A 1 bijan=zxy;td=1
>
> 0 sip:10.233.20.106:5060;transport=tcp 
> <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 
> <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 
> <sip:10.233.20.106:5060;transport=tcp> flag=A priority=0 attrs=A
>
>         URI:: sip:10.233.20.171:5060;transport=udp 
> <sip:10.233.20.171:5060;transport=udp> flag=A priority=0 attrs=A
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
   - more details about Kamailio trainings at http://www.asipto.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131101/8453063c/attachment.html>


More information about the sr-users mailing list