Re: [SR-Users] dbtext module issue

2017-01-13 Thread Satish Patel
Any thought? Sent from my iPhone > On Jan 12, 2017, at 3:51 PM, Satish Patel wrote: > > I am trying use dbtext module instead of mysql and following is my > configuration. We are using old SER version because of custom written > module. Do you think following co

[SR-Users] dbtext module issue

2017-01-12 Thread Satish Patel
I am trying use dbtext module instead of mysql and following is my configuration. We are using old SER version because of custom written module. Do you think following config looks good. # -- permissions params -- modparam("permissions", "db_url", "dbtext:///etc/ser/dbtext") modparam("permissions"

[SR-Users] Multi-Domain dispatcher

2016-12-13 Thread Satish Patel
We have currently dispatcher running for single domain, but in future we have more domain coming so i want to do multi domain dispatching for example dispatcher redirect request for foo.com to foo.registar and bar.com to bar.registar SIP server currently we have following code in dispatcher logic.

Re: [SR-Users] regular expression question

2016-12-13 Thread Satish Patel
It works! but it doesn't work when i tried to use with wildcard (*) like if(!($ua =~ "*Foo")){ On Sat, Dec 10, 2016 at 1:24 AM, Brandon Armstead wrote: > if(!($ua =~ "")){ > On Fri, Dec 9, 2016 at 7:04 AM Satish Patel wrote: >> >> I am trying

[SR-Users] regular expression question

2016-12-09 Thread Satish Patel
I am trying to block SIP scanner so i am trying to use following logic only allow "My-UserAgent" and block rest but its throwing error, but if i use =~ regular expression which works! why negative match doesn't work? if($ua !~ "(My-UserAgent") { xlog("L_INFO","On more scriptkid

Re: [SR-Users] ERROR: sipcapture [hep.c:139]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow protocol [1]

2015-03-24 Thread Satish Patel
All kamailio Users/Developer, Please provide any suggestion, why i am getting above error in logs? Look like issue is related to kamailio. [Opensips 2.1.x]->->>[ Homer Kamailio] On Fri, Mar 13, 2015 at 11:39 AM, Satish Patel wrote: > Hello, > > Recently i ha

[SR-Users] ERROR: sipcapture [hep.c:139]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow protocol [1]

2015-03-13 Thread Satish Patel
Hello, Recently i have installed Homer capture server with kamailio. It works! but in logs i am seeing many error like following, I am using Opensips 2.1 siptrace server to send all trace to Homer. ERROR: sipcapture [hep.c:139]: hepv2_received(): ERROR: sipcapture:hep_msg_received: unknow protoco

Re: [SR-Users] 401 vs 407 UAC auth issue

2014-11-15 Thread Satish Patel
Guys please help me Look like SIP gateway is asterisk base and it is sending 401 instead of 407. How UAC handle 401? Do I need to change any hdr? -- Sent from my iPhone > On Nov 13, 2014, at 11:56 AM, Satish Patel wrote: > > We have opensip configured with UAC auth to register SI

[SR-Users] 401 vs 407 UAC auth issue

2014-11-13 Thread Satish Patel
We have opensip configured with UAC auth to register SIP provide. I have configured two provider and both got registered but very interesting thing happened. Provider "A" sending me 407 challenge for authentication - Working Provider "B" sending me 401 for authentication - its failed to auth wha

Re: [SR-Users] LCR base on call rate

2014-09-10 Thread Satish Patel
Thanks for replay, anyone did that before? Any example or sample script will help Sent from my iPhone On Sep 10, 2014, at 12:17 PM, Juha Heinanen wrote: > Satish Patel writes: > >> I heard somewhere LCR can do routing based on call rate and call >> price, does it true?

[SR-Users] LCR base on call rate

2014-09-10 Thread Satish Patel
I heard somewhere LCR can do routing based on call rate and call price, does it true? I haven't seen any config or doc which does call rate using LCR. It only does routing base on prefix scan. Am I missing something here? Sent from my iPhone ___ SIP

[SR-Users] need help - Insert_hf when Route: missing

2014-08-27 Thread Satish Patel
I have post many question on topology hiding any not get any reply back from people and developers now I don't have any option except some goofy hack When I use topology hiding it removes Route: and because of that callee doesn't able to send BYE back to opensips. I want use insert_hf to inje

[SR-Users] match_dialog not handling BYE

2014-08-26 Thread Satish Patel
I really want to use top hide using dialog module but having very difficult time.. [UA]--[Opensips]-[Asterisk] I want to hide UA so Asterisk doesn't know its IP. I have following config, Please correct me if anything wrong in my config, Problem is if callee whoever connected to asterisk h

[SR-Users] nat_traversal vs nathelper for mediaproxy

2014-08-21 Thread Satish Patel
I am planing to implement mediaproxy so which NAT module will be good for media proxy and why? should i use nat_traversal ro nathelper ? I haven't see any example people using nat_traversa. most of example i found on google are based on nathelper so just want to make sure which one i should use a

Re: [SR-Users] SIP Trunk

2014-08-21 Thread Satish Patel
sfully work with UAC. But As I know > 1) It statless function > 2) It read only string argumetns, and do not read variables > > > 2014-08-21 14:43 GMT+04:00 Satish Patel : > > I will give it a try again today, can you please make sure my t_relay() >> syntax is correct? >&g

Re: [SR-Users] SIP Trunk

2014-08-21 Thread Satish Patel
ug 21, 2014, at 3:53 AM, Daniel Tryba wrote: > On Thursday 21 August 2014 05:56:46 Satish Patel wrote: >>if ( $rU =~ "sip:1[0-9]@*") { > > Try $ru instead, $rU only contains the dialled "number". So > $ru =~ "sip:1[0-9]@*" >

Re: [SR-Users] SIP Trunk

2014-08-20 Thread Satish Patel
it; }; On Wed, Aug 20, 2014 at 10:04 AM, Daniel Tryba wrote: > On Wednesday 20 August 2014 14:54:42 Satish Patel wrote: > > I am new in Kamailio so could you please give me code example how to use > > t_relay() to forward traffic to Provide, I know how to use rewritehost()

Re: [SR-Users] SIP Trunk

2014-08-20 Thread Satish Patel
eed - to have right packet, > that will be relays to Provider. I have multiple providers and manually > change packets that will send to provider. > > > 2014-08-20 15:57 GMT+04:00 Satish Patel : > > Great! I registered remote Trunk using UAC module. so now i can just use >>

Re: [SR-Users] SIP Trunk

2014-08-20 Thread Satish Patel
Great! I registered remote Trunk using UAC module. so now i can just use following function to forward my call right? rewritehost() On Wed, Aug 20, 2014 at 12:33 AM, Yuriy Gorlichenko wrote: > Use UAC module for this > 20.08.2014 7:40 пользователь "Satish Patel" > на

[SR-Users] SIP Trunk

2014-08-19 Thread Satish Patel
We have setup Kamailio front and SIP Proxy, Now i want to Trunk it with other SIP provide they gave me IP, Username/Password. How do i configure username/password on Kamailio SIP Proxy? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailin

[SR-Users] unknown command , missing loadmodule?

2014-08-15 Thread Satish Patel
What is this? I have acc.so module loaded but still getting this error. I am running opensip 1.11 root@sip:~# opensips -c -f /etc/opensips/opensips.cfg Aug 14 10:42:49 [7180] CRITICAL:core:yyerror: parse error in config file /etc/opensips/opensips.cfg, line 252, column 31-32: unknown command , mi

Re: [SR-Users] freeradius Duplicate attribute name Event-Timestamp

2014-08-13 Thread Satish Patel
need to use dictionary.kamailio. > > Cheers, > Daniel > > > On 13/08/14 05:07, Satish Patel wrote: > > somehow i am getting following error, if i start radius > > Error: Errors reading dictionary: dict_init: > /etc/freeradius/dictionary.opensips[93]: dict_addattr: D

Re: [SR-Users] Kamailio + FreeRadius + MySQL Accounting STOP not updating

2014-08-13 Thread Satish Patel
radius. > > Cheers, > Daniel > > > On 13/08/14 04:50, Satish Patel wrote: > >> I have install Kamailio 4.1 with MySQL database so all users stored in >> MySQL (authentication), Later I have installed FreeRadius for accounting >> only, Just accounting (Invite/Bye)

[SR-Users] freeradius Duplicate attribute name Event-Timestamp

2014-08-12 Thread Satish Patel
somehow i am getting following error, if i start radius Error: Errors reading dictionary: dict_init: /etc/freeradius/dictionary.opensips[93]: dict_addattr: Duplicate attribute name Event-Timestamp If i remove it from /etc/freeradius/dictionary.opensips file it works! but my it screwed my time in

[SR-Users] Kamailio + FreeRadius + MySQL Accounting STOP not updating

2014-08-12 Thread Satish Patel
I have install Kamailio 4.1 with MySQL database so all users stored in MySQL (authentication), Later I have installed FreeRadius for accounting only, Just accounting (Invite/Bye). In short MySQL for authentication and FreeRadius for accounting ( CDRTool). Problems: If i register user using SIP pho