[SR-Users] dispatcher, get attrs on incoming request from nodes

Daniel-Constantin Mierla miconda at gmail.com
Tue Aug 27 09:38:05 CEST 2013


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 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, Oct 21-24; Miami, Nov 11-13, 2013
   - 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/20130827/10a77936/attachment.html>


More information about the sr-users mailing list