Re: [SR-Users] Siremis installation with postgresql.

2016-12-15 Thread jungle Boogie
On 15 December 2016 at 10:01, Daniel-Constantin Mierla wrote: > On 15/12/2016 17:30, jungle Boogie wrote: >> Hi Jose, >> On 12 May 2016 at 09:19, José Seabra wrote: >>> Hi there, >>> >>> I'm facing some issues trying to install siremis with postgresql. >>> The file Config.xml has the correct conf

Re: [SR-Users] Siremis installation with postgresql.

2016-12-15 Thread Daniel-Constantin Mierla
On 15/12/2016 17:30, jungle Boogie wrote: > Hi Jose, > On 12 May 2016 at 09:19, José Seabra wrote: >> Hi there, >> >> I'm facing some issues trying to install siremis with postgresql. >> The file Config.xml has the correct configuration for postgresql driver but >> It seems that during installatio

Re: [SR-Users] Siremis installation with postgresql.

2016-12-15 Thread jungle Boogie
Hi Jose, On 12 May 2016 at 09:19, José Seabra wrote: > Hi there, > > I'm facing some issues trying to install siremis with postgresql. > The file Config.xml has the correct configuration for postgresql driver but > It seems that during installation phase siremis can't create database > structure f

Re: [SR-Users] ACK not routed to destination

2016-12-15 Thread Jan Hazenberg
Wim, Looks like your ACK is missing the Route header, since ACK is a new transaction kamailio needs to route it based on a preloaded route. When you receive the 200OK in sipp you should save the record route set and use it in the ACK with the "[routes]" statement. Take a look at the SIPP doc

Re: [SR-Users] ACK not routed to destination

2016-12-15 Thread Diego Nadares
Hi Wim, Check this: Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm [t_lookup.c:485]: matching_3261(): DEBUG: *RFC3261 transaction matching failed* Maybe is related rrs. Add it to your sipp scenarios. Diego 2016-12-15 11:13 GMT-03:00 Wim Van Cauwenbergh : > Hi, I

[SR-Users] ACK not routed to destination

2016-12-15 Thread Wim Van Cauwenbergh
Hi, I have setup kamailio with the dispatcher module and have a problem with the ACK in response to 200OK not being forwarded by kamailio: Scenario is very simple: sipp(.219) --> kamailio (.220) --> sipp(.239) SIP trace: root@DNS-enum-8Gb-3:/var/log# ngrep -W byline -d eth0 port 5060 interface:

Re: [SR-Users] Forwarding Emergency calls based on caller IP address

2016-12-15 Thread M. Salman
Hi João, Refer to kamailio cookbooks: https://www.kamailio.org/wiki/cookbooks/4.3.x/pseudovariables You can get source IP: $si Try test/log most of the pseudo variables in the docs to develop better understanding. Regards, Salman On Thu, Dec 15, 2016 at 4:52 PM, João Vitor Torres wrote: > H

[SR-Users] Forwarding Emergency calls based on caller IP address

2016-12-15 Thread João Vitor Torres
Hello all, I am looking for a solution to forward emergency calls inside an enterprise network. Is there any way to forward calls based on the IP address of caller device? The requirement is that calls to a unique emergency number must be forwarded to specific local numbers in each building, a

[SR-Users] R: htable lock - unlock

2016-12-15 Thread Marino Mileti
Hi Daniel, but I see the first line of log: xlog("L_INFO","Before assignment.."); My idea was to lock the slot...write something...unlock the slot. But it seems that when I lock the slot I can't write anything.. Da: sr-users [mailto:sr-users-boun...@lists.sip-router.org] Per conto di

Re: [SR-Users] Updating to SIREMIS 4.3

2016-12-15 Thread Daniel-Constantin Mierla
Hello, you can also set the default timezone for siremis via siremis/bin/app.inc file: https://github.com/asipto/siremis/blob/master/siremis/bin/app.inc#L100 Cheers, Daniel On 15/12/2016 03:41, Cibin Paul wrote: > Hi, > > Looks like the default timezone is not set for php. Can you check > wethe

Re: [SR-Users] htable lock - unlock

2016-12-15 Thread Daniel-Constantin Mierla
Hello, the log message you refer to is inside the if block: if ($sht(pht=>$ci)!=$null) { ... } but you don't set the item in memory, no assignment like: $sht(pht=>$ci) = ...; The sht_lock(pht=>$ci) is just locking the slot where the value of $sht(pht=>$ci) will be stored, but don't store any

[SR-Users] htable lock - unlock

2016-12-15 Thread Marino Mileti
Hi guys, I'm going out of mind J I've this piece of script inside an "on_reply_route" that captures only 200OK of INVITE (i would like to save in ht the contact of who has answered a call) sht_lock("pht=>$ci"); if ($sht(pht=>$ci)!=$null){ xlog("L_INFO","Before assignment.."); $sht

Re: [SR-Users] Kamailio 4.3 Rewriting From and db_alias values

2016-12-15 Thread Daniel Tryba
On Thu, Dec 15, 2016 at 12:36:06AM -0800, Gonzalo Gasca Meza wrote: > When PhoneB dials 111, Kamailio converts 111...@sp1.com to j...@sp2.com > Now I need to provide VM services to PhoneA. (Opposite direction) > PhoneA calls voicemail but the calling number is j...@sp2.com > I need to have SP1

[SR-Users] Kamailio 4.3 Rewriting From and db_alias values

2016-12-15 Thread Gonzalo Gasca Meza
Hi forum, This is the scenario: VM <- Kamailio -> SP1 - SP2 PhoneA (john) PhoneB PhoneA is configured in *dbaliases* table: alias_username, alias_domain, username, domain , sp1.com, john, sp2.com When PhoneB dials 111, Kamailio converts 111...@sp1.com to j...@sp2.com Now I