Re: [SR-Users] Potential ip_addr_match_net bug

2015-07-08 Thread Kyle Kurz
f you confirm it works, then I will backport. > > Cheers, > Daniel > > > On 30/06/15 01:21, Kyle Kurz wrote: > > I'm using allow_address function of the permissions module and I'm seeing > strange behavior with network masks not divisible by 8. I have > 172.1

[SR-Users] Potential ip_addr_match_net bug

2015-06-30 Thread Kyle Kurz
g Kam 4.1.6. Thanks, Kyle -- *Kyle Kurz* Digium, Inc. · Senior Software Engineer 9115 Brown Deer Rd · San Diego, CA 92121 · US direct +1 858.537.1166 Check us out at: http://digium.com · http://asterisk.org <http://www.asterisk.org/> ___ SI

Re: [SR-Users] is_present_hf error on select

2015-03-30 Thread Kyle Kurz
Perfect, thank you so much Javi. On Mon, Mar 30, 2015 at 12:40 AM, Javi Gallart wrote: > Hi > On 27/03/15 16:37, Kyle Kurz wrote: > > Thanks guys, that worked. Follow-up question, I want to reroute the > incoming packet to the sip URI in that header, but Kamailio is complaining

Re: [SR-Users] is_present_hf error on select

2015-03-27 Thread Kyle Kurz
way to accomplish this? $var(a) = $hdr(X-Digium-AppServer-Response-URI); $var(b) = $(var(a){s.strip,4}); if (!t_relay_to_udp($var(b), "5060")) { sl_reply_error(); } Thanks, Kyle On Fri, Mar 27, 2015 at 8:21 AM, Javi Gallart wrote: > Hi > On 27/03/15 16:09, Kyle Kurz wrote

[SR-Users] is_present_hf error on select

2015-03-27 Thread Kyle Kurz
I'm trying to use the is_present_hf function to detect the presence of a user-defined header and getting the following errors in my Kamailio logs: 2(12149) BUG: [select.c:426]: run_select(): Select structure has not been resolved 2(12149) ERROR: [lvalue.c:416]: lval_assign(): assignment failed a