Re: [SR-Users] Fwd: Extension and carrier same ip problem

2014-11-10 Thread BelTex ISP
Indeed, not an extra proxy, sory for that unclarity Daniel-Constantin Mierla maandag 10 november 2014 10:31 On 09/11/14 16:32, Martin Snelgoedkoop wrote: You say you prefer not to use a proxy, but the line above indicates kamailio in front of freeswitch. Do you mean

Re: [SR-Users] Error when using function lookup_branches

2014-11-10 Thread Anthony Messina
On Monday, November 10, 2014 11:35:11 PM Anthony Messina wrote: > On Monday, November 10, 2014 06:56:08 PM J Hazenberg wrote: > > Hello, > > > > > > > > I'm runnig kamailio 4.2.0 and using the lookup_branches function from > > the register module to lookup all branches after a alias_db_lookup. Th

Re: [SR-Users] Error when using function lookup_branches

2014-11-10 Thread Anthony Messina
On Monday, November 10, 2014 06:56:08 PM J Hazenberg wrote: > Hello, > > I'm runnig kamailio 4.2.0 and using the lookup_branches function from > the register module to lookup all branches after a alias_db_lookup. The > function seems to work fine but i see the following error in the log > file

[SR-Users] ALIAS_DB replacing From and Contact fields

2014-11-10 Thread Martin Schiøtz
Hi I'm using the ALIAS_DB module. username = 101 alias_username = (fictive public phone number) 'alias_db_lookup("dbaliases")' is working fine for incoming calls from PSTN. Calling R-URI is replaced with 101 SIP uri. But when 101 is calling to a PSTN number how do I replace th

Re: [SR-Users] RTP end points

2014-11-10 Thread Javier Ricke
yes, but i want that traffic RTP can be send between end points, end asterisk only permite canreinvite=no for work with nat, so? how do it? 2014-11-10 3:39 GMT-03:00 Glenn Larsen : > Javier, > > Kamailio will never touch the RTP data, it can however change the SDP > information, so that Asterisk

[SR-Users] Fwd: Re: beginner's problem with sipping

2014-11-10 Thread Petr Wozniak
I apologize the last sentence of my previous email should be "...but no OPTIONS pings on client's side" Now I have installed kamailio 4.2 on server and client is behind NAT with enabled NATSIPPING and the result is the same like on private network = no OPTIONS ping. The only changes in defa

[SR-Users] Error when using function lookup_branches

2014-11-10 Thread J Hazenberg
Hello, I'm runnig kamailio 4.2.0 and using the lookup_branches function from the register module to lookup all branches after a alias_db_lookup. The function seems to work fine but i see the following error in the log file just after the lookup: INFO: [mem/f_malloc.c:599]: fm_free(): freein

Re: [SR-Users] header manipulation in locally generated SIP OPTIONS requests

2014-11-10 Thread Olle E. Johansson
On 10 Nov 2014, at 16:46, Klaus Feichtinger wrote: > Hello, > > does kamailio offer any possibility for adding / replacing SIP headers in > locally built SIP requests? In detail: SIP OPTIONS requests that are built by > the DISPATCHER module for probing the configured targets. I have to exte

Re: [SR-Users] beginner's problem with sipping

2014-11-10 Thread Petr Wozniak
Thank you very much Daniel.   I have adjusted the parameter for nat_uac_test() to 128 without success.   Then I disable NATDETECT route and only load modules nathelper and rtpproxy and set their parameters to modparam("nathelper", "natping_interval", 10) modparam("nathelper", "ping_nated_o

[SR-Users] header manipulation in locally generated SIP OPTIONS requests

2014-11-10 Thread Klaus Feichtinger
Hello, does kamailio offer any possibility for adding / replacing SIP headers in locally built SIP requests? In detail: SIP OPTIONS requests that are built by the DISPATCHER module for probing the configured targets. I have to extend these messages with "Accept" SIP header fields (which are marked

Re: [SR-Users] header manipulation in locally generated SIP OPTIONS requests

2014-11-10 Thread Alex Balashov
On 11/10/2014 10:46 AM, Klaus Feichtinger wrote: Therefore, I´ll ask again: does kamailio offer any way for manipulating locally built SIP requests? Are these intercepted by onsend_route? -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA

Re: [SR-Users] Counting xavp stack

2014-11-10 Thread Alex Balashov
On 11/10/2014 04:27 AM, Daniel-Constantin Mierla wrote: On 08/11/14 02:53, Alex Balashov wrote: It would be great if there were some way to count the depth of a stack of XAVPs, e.g. $xavp(root=>num) = 1; $xavp(root[0]=>num) = 2; $xavp(root[0]=>num) = 3; ... $var(depth) = $(xavp(

Re: [SR-Users] Setting up a IMS Server Platform using Kamailio 4.2.x code

2014-11-10 Thread Carsten Bock
Hi Austin, did you succeed yet? Some time ago, i wrote an article about installing Kamailio IMS in Kamailio Wiki: http://www.kamailio.org/wiki/tutorials/ims/installation-howto Thanks, Carsten 2014-10-27 10:38 GMT+01:00 Austin Einter : > Hi All > Last few days we have tried to setup Kamailio for

Re: [SR-Users] Kamilio verify online servers

2014-11-10 Thread Olle E. Johansson
On 10 Nov 2014, at 10:36, Marino Mileti wrote: > Hi guys, > > I've an architecture with multiple Kamailio. I would like to implement some > check that allow me to verify if a server is online or not so for example i > can use msilo to save chat message and relay it when the server come's up. >

Re: [SR-Users] htable locking

2014-11-10 Thread Daniel-Constantin Mierla
On 10/11/14 10:28, Olle E. Johansson wrote: > On 10 Nov 2014, at 10:26, Daniel-Constantin Mierla wrote: > >> On 07/11/14 22:54, Alex Balashov wrote: >>> On 11/07/2014 04:45 PM, Daniel-Constantin Mierla wrote: Using sht_lock() and accessing an item on the same slot is ending up in a dead

Re: [SR-Users] Generate REFER msg

2014-11-10 Thread Daniel-Constantin Mierla
Hello, On 07/11/14 08:43, Agiftel wrote: > Hi all, > i need some advice on how to solve a problem. > I've a scenario like following: > > [SIP PBX] <>CUCM (Call Manager v 10.5 ) > > User A: belong to CUCM > User B: belong to SIP PBX > User C: belong to SIP PBX > > User A calls User B. After som

[SR-Users] Kamilio verify online servers

2014-11-10 Thread Marino Mileti
Hi guys, I've an architecture with multiple Kamailio. I would like to implement some check that allow me to verify if a server is online or not so for example i can use msilo to save chat message and relay it when the server come's up. Is it possible to use UAC module to send a REGISTER message f

Re: [SR-Users] Fwd: Extension and carrier same ip problem

2014-11-10 Thread Daniel-Constantin Mierla
On 09/11/14 16:32, Martin Snelgoedkoop wrote: >> Hi, we use Kazoo which loads acl and dial plan out a DB. >> We run in to smth that seems freeswitch default behavior so that's why I >> write here. >> >> We have a carrier that needs to register a extension to our platform as well. >> They use the

Re: [SR-Users] htable locking

2014-11-10 Thread Olle E. Johansson
On 10 Nov 2014, at 10:26, Daniel-Constantin Mierla wrote: > > On 07/11/14 22:54, Alex Balashov wrote: >> On 11/07/2014 04:45 PM, Daniel-Constantin Mierla wrote: >>> Using sht_lock() and accessing an item on the same slot is ending up in >>> a deadlock. >>> >>> Should be avoided for the moment

Re: [SR-Users] Counting xavp stack

2014-11-10 Thread Daniel-Constantin Mierla
On 08/11/14 02:53, Alex Balashov wrote: > It would be great if there were some way to count the depth of a stack > of XAVPs, e.g. > > $xavp(root=>num) = 1; > $xavp(root[0]=>num) = 2; > $xavp(root[0]=>num) = 3; > ... > $var(depth) = $(xavp(root=>num){avp.count}); > > Right now, the only w

Re: [SR-Users] htable locking

2014-11-10 Thread Daniel-Constantin Mierla
On 07/11/14 22:54, Alex Balashov wrote: > On 11/07/2014 04:45 PM, Daniel-Constantin Mierla wrote: >> Using sht_lock() and accessing an item on the same slot is ending up in >> a deadlock. >> >> Should be avoided for the moment -- I didn't have time to look for a >> solution with the work on releas

Re: [SR-Users] beginner's problem with sipping

2014-11-10 Thread Daniel-Constantin Mierla
Hello, if you are in a private network, you need to adjust the parameter for nat_uac_test() function to ignore private addresses in check tests -- see the readme of nathelper module. Cheers, Daniel On 09/11/14 19:33, Petr Wozniak wrote: > > Dear sr-users, > > > > I am beginner and apologize fo