Thanks for answer. Could you explain how to backport the patch to my local
copy? I want to try.
From: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of
Daniel-Constantin Mierla
Sent: Tuesday, August 27, 2013 11:38 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] dispatcher, get attrs on incoming request from nodes
Hello,
the feature was implemented in the development version:
-
http://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.
attrs_pvname
You will have to backport the patch to your local copy or find another
solution (e.g., store ip/port/attrs in address table and use permissions)
until the next major release.
Cheers,
Daniel
On 8/27/13 9:23 AM, I.Pavlov wrote:
Hi all. We use kamailio v.3.3.3 with dispatcher and some nodes:
#pstn gw group
1 sip:10.189.19.1:5060 0 2 weight=80;limit=120,node=sv6 # SV6
1 sip:10.189.19.29:5060 0 1 weight=20;limit=120;node=mr64 # MR64
I use ds_is_from_list:
if (ds_is_from_list("1")) {
route(FROM_PSTN);
};
route[FROM_PSTN] {
xlog("L_INFO","dsattrs: $avp(dsattrs) $avp(i:271) $avp(i:272)
$avp(i:273)");
...
};
Result: INFO: <script>: dsattrs: <null> <null> <null>
<null>
My question - Is it possible to get attrs on incoming request from GW ?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)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, Oct 21-24; Miami, Nov 11-13, 2013
- more details about Kamailio trainings at
http://www.asipto.com -