[SR-Users] BasicKamailio DB question

2013-01-30 Thread Jason
Hi all, excuse the basic nature of my question, I'm just starting out. I've read in a tutorial that it is possible to connect from asterisk to Kamailio and for asterisk to use the Kamailio db for authentication. However, I also read that it is possible to connect to astereisk from Kamailio for

[SR-Users] Best way to 'detect' direction

2013-01-30 Thread Paul Belanger
Greetings, I'm in the process of adding logic to 'detect' the direction of my message, I have to set: rtpproxy_manage("ei") or rtpproxy_manage("ie") respectively. Rather then hard-coding IP addresses in my configuration, I was curious how other people over come this? Perhaps tagging their call c

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Corey Edwards
On 01/30/2013 07:36 AM, Alex Balashov wrote: > On 01/30/2013 09:31 AM, Julia wrote: >> We need some number manipulation for outgoing calls to PSTN GW. >> The same manipulations must be in "ru" and "tu", because our PSTN GW adds >> redirection when tu ≠ ru. >> When we used INVITE re-parsing for CANC

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Julia
Yes, we know it's wrong. But if we really need it, is there a way to do it? -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, January 30, 2013 4:36 PM To: sr-users@lists.sip-router.org

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Alex Balashov
On 01/30/2013 09:31 AM, Julia wrote: > We need some number manipulation for outgoing calls to PSTN GW. > The same manipulations must be in "ru" and "tu", because our PSTN GW adds > redirection when tu ≠ ru. > When we used INVITE re-parsing for CANCEL, modified "tu" is not included. I would say you

Re: [SR-Users] Problem with 4.0 nightlies and IMS - sem_post undefined

2013-01-30 Thread Barry Flanagan
the undefined symbol sem_post from the ims_registrar_pcscf.so module. Errors below. I also ran strace and the output is at http://barry.flanagan.ie/dl/kamailio-ims-error-20130130.txt kamailio -c -f /etc/kamailio/kamailio.cfg loading modules under /usr/lib64/kamailio/modules_k/:/usr/lib64/kamai

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Julia
We need some number manipulation for outgoing calls to PSTN GW. The same manipulations must be in "ru" and "tu", because our PSTN GW adds redirection when tu ≠ ru. When we used INVITE re-parsing for CANCEL, modified "tu" is not included. -Original Message- From: sr-users-boun...@lists.sip-

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Alex Balashov
Hello Julia, There is a very real question that should probably be asked: why would you want to do that? Kamailio provides many capabilities, but just because you can, doesn't mean you should. :-) With that in mind, I don't know of any SIP scenario in which altering the To header in a CANC

Re: [SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Carsten Bock
Hi, probably the best way is to simply use the uac_replace_to-method from the uac module: http://www.kamailio.org/docs/modules/devel/modules/uac.html#id2494560 (tested with 3.3) Kind regards, Carsten 2013/1/30 Julia : > Hello all, > > > > > > Is there any way to rewrite “tu” in CANCEL message i

[SR-Users] How to rewrite "tu" in CANCEL message ?

2013-01-30 Thread Julia
Hello all, Is there any way to rewrite "tu" in CANCEL message in 3.2.1? We use remove_hf / insert_hf for INVITE's "tu" modification before t_relay. It works fine, but it doesn't work for CANCEL (INVITE re-parsing is disabled). Ths, ___

Re: [SR-Users] #!KAMAILIO

2013-01-30 Thread Fred Posner
On 1/30/13 5:08 AM, Olle E. Johansson wrote: Daniel, The #!KAMAILIO is something I don't see in documentation. There's some old communication on the various flavour markers in the config file, but can you describe it a bit so we can add it to the core cookbook in the wiki? You referred to it here

Re: [SR-Users] Kamailio multiple registration issue

2013-01-30 Thread Victor Seva
2013/1/29 Ramaseshi reddy kolli : > > Hi, > > i am using kamailio 3.3 version please help me with this issue. > > 1) Registered from SIP end point, kamailio added row in location table > > 2) Now using same SIP account details, pushed registration entry using > kamctl ul add , instead of overwriti

Re: [SR-Users] Problem with 4.0 nightlies and IMS - sem_post undefined

2013-01-30 Thread Barry Flanagan
On 30 January 2013 11:25, Carsten Bock wrote: > Hi Barry, > > i commited some fixes for the Rx-Interface. > You will also need to update the config, since i added a few fixes > there as well. > > Thanks very much Carsten, I will give it a go and let you know! -Barry Flanagan > Kind regards,

Re: [SR-Users] Problem with 4.0 nightlies and IMS - sem_post undefined

2013-01-30 Thread Carsten Bock
Hi Barry, i commited some fixes for the Rx-Interface. You will also need to update the config, since i added a few fixes there as well. Kind regards, Carsten 2013/1/29 Barry Flanagan : > On 29 January 2013 13:40, Barry Flanagan wrote: >> >> On Mon Jan 28 10:18:01 CET 2013, Daniel said: >> >> >

Re: [SR-Users] #!KAMAILIO

2013-01-30 Thread Olle E. Johansson
30 jan 2013 kl. 10:22 skrev Daniel-Constantin Mierla : > Hello, > > thanks for reporting back. > > What I wanted to know is if you have first line in kamailio.cfg as: > > #!KAMAILIO > > just to figure out if it is the more the script variable are resolved. Daniel, The #!KAMAILIO is something

Re: [SR-Users] Problem with 4.0 nightlies and IMS - sem_post undefined

2013-01-30 Thread Carsten Bock
Hi, i think, i found it. I will make some tests and commit a change. Kind regards, Carsten 2013/1/29 Barry Flanagan : > On 29 January 2013 13:40, Barry Flanagan wrote: >> >> On Mon Jan 28 10:18:01 CET 2013, Daniel said: >> >> > Hello, >> > >> > do you still get the issues? The ims modules were

Re: [SR-Users] REGISTER OK but on send "407 Proxy Authentication Required" with no ACK

2013-01-30 Thread Andrew Pogrebennyk
Carsten, On 01/29/2013 08:25 PM, Carsten Maass wrote: > Or does it mean, the authentication is rejected because the local part > 030123456789 in URI does not match the subscriber 979? Indeed, this is what happens when you call auth_check with flag "1": if (!auth_check("$fd", "subscriber", "1"))

Re: [SR-Users] Error searching $keepalive.socket pvar in NAT Traversal module

2013-01-30 Thread Daniel-Constantin Mierla
Hello, thanks for reporting back. What I wanted to know is if you have first line in kamailio.cfg as: #!KAMAILIO just to figure out if it is the more the script variable are resolved. Cheers, Daniel On 1/30/13 8:48 AM, vito wrote: Hello, I have: # Kamailio (OpenSER) SIP Server v3.3 # Kama

Re: [SR-Users] siremis CDR problem

2013-01-30 Thread Daniel-Constantin Mierla
Have you enabled the acc db accounting in kamailio config file? Cheers, Daniel On 1/29/13 8:28 PM, Scott, Matt wrote: Anybody have a working model? I am following here, but I can't load kam with this code. http://kb.asipto.com/siremis:install32x:accounting # ==