Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Sergey Basov
I just try it. I got only last ACK when call was finished. I think than siptrace must catch and send duplicate message after topoh module. Because in other case we can see message as it is inside kamailio, not message that will be send to upstream or client... WBR. -- Best regards, Sergey Basov

[SR-Users] Audio issue when using 2 port ATA

2016-01-05 Thread Daniel W. Graham
Setup is - 2 port ATA <> FIREWALL <> KAMAILIO / RTPPROXY <> ASTERISK If I have a single port in use behind the firewall, all NAT functions work properly and media is relayed through rtpproxy. If I have both ports in use behind the firewall, when outbound calls from UA are placed there is two w

Re: [SR-Users] Fosdem 2016

2016-01-05 Thread Giacomo Vacca
Hi, I'm going to be there (Fri night to Sun evenining) and would be great to catch up. Just drinks or dinner would suit me fine. Regards, Giacomo On 5 January 2016 at 20:06, Daniel-Constantin Mierla wrote: > Hello, > > anyone going to Fosdem? > > If no unexpected weather conditions messing the

[SR-Users] Fosdem 2016

2016-01-05 Thread Daniel-Constantin Mierla
Hello, anyone going to Fosdem? If no unexpected weather conditions messing the transport system, I am going to be there. It would be good to know who else we can meet there. If there are enough people interested, we can try organizing a social event (dinner/drinks) on Saturday evening. Last year

Re: [SR-Users] Add Record-Route on 200 OK

2016-01-05 Thread Daniel-Constantin Mierla
Hello, you can use append_hf() inside the onreply_route. If you have a single IP address, that is easy: append_hf("Record-Route: \r\n") Be careful if you use dialog module with did parameter, or other modules that need ftag parameter (e.g., uac, acc). Cheers, Daniel On 05/01/16 19:37, Igor Po

Re: [SR-Users] Negative value returned when using sql_pvquery

2016-01-05 Thread Daniel-Constantin Mierla
On 05/01/16 17:51, Daniel Tryba wrote: > On Tue, Jan 05, 2016 at 03:38:58PM +, Jonathan Hunter wrote: >> sql_pvquery("cd","select DestinationMsisdn,SourceMsisdn from >> MsisdnPoolAllocations where >> PoolMsisdn='$rU'","$var(MOdest),$var(NewSourceMSISDN)"); >> However this returns a value of

[SR-Users] Add Record-Route on 200 OK

2016-01-05 Thread Igor Potjevlesch
Hello, I'm looking for a way to add a Record-Route into a 200 OK before relaying the message to the UA. Indeed, I'm facing an issue where the 200 OK is relayed to the UA without Record-Route and with an IP address into the Contact header. So, the UA sends back his ACK to the Contact instead

Re: [SR-Users] Trouble initializing TLS on Fedora 23

2016-01-05 Thread Daniel-Constantin Mierla
Hello, On 02/01/16 03:11, Anthony Messina wrote: > On Friday, January 01, 2016 04:43:56 PM Bruce Ferrell wrote: >> On 01/01/2016 03:34 PM, Anthony Messina wrote: >>> Happy New Year! >>> >>> I've just upgraded my Kamailio (build from master@c7e411e) instance to >>> Fedora 23 from Fedora 22. I've

Re: [SR-Users] Kamailio Password Encryption

2016-01-05 Thread Daniel-Constantin Mierla
Hello, to add more on the topic - kamctl (located in source tree at utils/kamctl/) has the shell script for storing the encrypted/hashed version of the password, known also as HA1 string, which is MD5(username:realm:password). Cheers, Daniel On 04/01/16 11:51, Ben Bliss wrote: > Hi, > > The Auth

Re: [SR-Users] (no subject)

2016-01-05 Thread Daniel-Constantin Mierla
On 21/12/15 14:01, Safdar Khan wrote: > I have made a calling service through kamailio and rtpengine.In this > setup of calling service i have also included webRTC for cross > platform(like android phone to web browser).Same calling service is > not working after addition of freeswitch.Additional

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Daniel-Constantin Mierla
If you try to use the sip_trace() function inside onsend_route{ }, what messages do you get? Cheers, Daniel On 05/01/16 15:38, Sergey Basov wrote: > It will be great, because I am using sip TLS in production environment. > This is why I can not using homer capture agent... -- Daniel-Constantin

Re: [SR-Users] Negative value returned when using sql_pvquery

2016-01-05 Thread Daniel Tryba
On Tue, Jan 05, 2016 at 03:38:58PM +, Jonathan Hunter wrote: > sql_pvquery("cd","select DestinationMsisdn,SourceMsisdn from > MsisdnPoolAllocations where > PoolMsisdn='$rU'","$var(MOdest),$var(NewSourceMSISDN)"); > However this returns a value of -509264926 for $var(MOdest) which should just

[SR-Users] Negative value returned when using sql_pvquery

2016-01-05 Thread Jonathan Hunter
Hi Guys, Wonder if anyone has experienced this before, on kamailio 4.1. I am using an sql_pvquery and it works fine, unless I pull a value from the database that is defined as 10 digits and starts with a 3, actually its populated as 03785702370 but due to the table it removes the leading 0 (bigi

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Sergey Basov
It will be great, because I am using sip TLS in production environment. This is why I can not using homer capture agent... -- Best regards, Sergey Basov e-mail: sergey.v.ba...@gmail.com SATB-RIPE SATB-UANIC tel: (+38067) 403-62-54 2016-01-05 15:37 GMT+02:00 Daniel-Constantin

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Daniel-Constantin Mierla
On 05/01/16 14:05, Sergey Basov wrote: > And one more thing. > > In captured packet from Homer, I see original SIP packets, without > topoh modifications. > But in dump from network interface by wireshark i see that packets was > modified... sip_trace module is taking the sip message as it is pro

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Daniel-Constantin Mierla
On 05/01/16 13:44, Sergey Basov wrote: > Thanks for reply. > > I check one more time, and does not see any non SIP (HEP) packets > received on port 5060 of kamailio. > > May bee parser trying to parse (HEP) packet when it going out via > socket to capture server? > > When I turn of topoh module I

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Sergey Basov
And one more thing. In captured packet from Homer, I see original SIP packets, without topoh modifications. But in dump from network interface by wireshark i see that packets was modified... -- Best regards, Sergey Basov e-mail: sergey.v.ba...@gmail.com SATB-RIPE SATB-UANIC te

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Sergey Basov
Thanks for reply. I check one more time, and does not see any non SIP (HEP) packets received on port 5060 of kamailio. May bee parser trying to parse (HEP) packet when it going out via socket to capture server? When I turn of topoh module I does not see any errors in log. And in both cases I se

Re: [SR-Users] Configure Kamailio to generate OPTIONS

2016-01-05 Thread Daniel-Constantin Mierla
Hello, On 28/12/15 11:56, Mititelu Stefan wrote: > > Hi Olle, > > Thank you for your answer. Having a look at the dialog module > documentation I think I can make use of parameters ka_timer + > ka_interval together with dlg_set_property() function. > > Do you know if I can manipulate the generated

Re: [SR-Users] config file error for kamailio wheezy

2016-01-05 Thread Daniel-Constantin Mierla
On 29/12/15 12:20, Ramya Y wrote: > Hi, > > *I recently installed kamailio 4.1 on debian wheezy (i386)* > > > > Below are the list of modules in debian wheezy. > > > > > > root@debian:/etc/kamailio# find / -name modules > > /etc/modules > > /etc/initramfs-tools/modules > > /etc/gnome-vfs-2.

Re: [SR-Users] Is it possible to use kamailio as a Webrtc gateway and integrate it into to a conference bridge for handling webrtc clients in conference bridge?

2016-01-05 Thread Daniel-Constantin Mierla
You can build a standalone webrtc gateway using kamailio and rtpengine. The forward sip traffic to your existing application. Daniel On 04/01/16 13:56, suganthi karthick wrote: > Hi all, > > I need to implement a WebRTC gateway for an existing conference > bridge. The WebRTC gateway has to suppo

Re: [SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Daniel-Constantin Mierla
Hello, if you look at network trace on port 5060 for Kamailio, what packets do you see being received? Be sure you wantch all sockets kamailio is listening on (including loopback interface, if it is the case). Cheers, Daniel On 05/01/16 09:33, Sergey Basov wrote: > Hi, All. > > I have a strange

[SR-Users] Parser error when enabling siptrace with HEP functionality

2016-01-05 Thread Sergey Basov
Hi, All. I have a strange issue occuring, when I enable the siptrace functionality within the routing logic, I begin to get a lot of parser error as show below. Is this normal behavior? This errors appears only when topoh module is enabled... As I see with wireshark, there is no duplicates or re