[SR-Users] Create and control a new dialog to different server during main dialog

2014-12-11 Thread Konstantin M.
Hello, I want to achieve the following schema: 1. Accept an initial invite 2. Create separate dialog to different SIP server (probably with some headers from point 1) 3. Wait until that different SIP server will complete dialog. 4. Based on result of point 3, transfer invite from 1 to the next st

Re: [SR-Users] [sr-dev] Planning to switch committing to github

2014-12-11 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > As a developer, you must change the remote URL (or make a new clone from > github). If you are currently a developer with write access to > git.sip-router.org repository and you haven't sent yet the github user > id, do it as soon as possible, specially if you ha

Re: [SR-Users] Planning to switch committing to github

2014-12-11 Thread Daniel-Constantin Mierla
Hello, an update on this topic: the gitweb was deployed and the read-only cloning from kamailio.org mirror repository is ready. Therefore I plan to point git.sip-router.org to it on Monday, Dec 15, around noon (GMT). I will send a notification before the procedure is started and another one when

Re: [SR-Users] Charging System

2014-12-11 Thread Abdul Gafar
Hi, Carsten Thanks, for response //Gafar On Fri, Dec 12, 2014 at 1:06 AM, Carsten Bock wrote: > Hi, > > you need at least the CDP-Module and the dialog_ng-module > > Kind regards, > Carsten > > 2014-12-03 10:17 GMT+01:00 Abdul Gafar : > > Hi all > > > > I'm trying install IMS charging mod

Re: [SR-Users] Charging System

2014-12-11 Thread Carsten Bock
Hi, you need at least the CDP-Module and the dialog_ng-module Kind regards, Carsten 2014-12-03 10:17 GMT+01:00 Abdul Gafar : > Hi all > > I'm trying install IMS charging module,is this posible use kamailio server, > without install other module IMS ? > > //Gafar > > > ___

[SR-Users] Appending/removing a value associated with domain

2014-12-11 Thread Olli Heiskanen
Hello, Something I've been wondering about meddling with sip uris with Kamailio: I know it's possible to translate between a number prefix and a domain using PDT, but is this possible: Having a numeric or alphanumeric value stored in db, associated to a domain and appended to / removed from a num

[SR-Users] Kamailio - change SIP type

2014-12-11 Thread Leky Shakur
Hello, Is is possible to change SIP message type? Example: Server A sends Kamailio SIP INVITE message, can I change this SIP INVITE to "302 - MOVED" (and reuse data from SIP INVITE) and send it to Server B? Does anybody have any example? Best Regards. ___

Re: [SR-Users] Kamailio AVPs Radius

2014-12-11 Thread Kalala Alexander
Thanks for the answer, but from RFC2865 https://tools.ietf.org/html/rfc2865#page-48 modules/auth_radius/authrad_mod.c ++ attrs[A_SESSION_TIMEOUT].n = "Session-Timeout"; lib/kcore/radius.h ++ #define A_SESSION_TIMEOUT27 can rad_dict.h How to specificy in C++, this

Re: [SR-Users] Kamailio AVPs Radius

2014-12-11 Thread Daniel-Constantin Mierla
Looking a bit deeper in the code, apparently only SIP_AVP (code 27) are added as avps -- see generate_avps(): modules/auth_radius/sterman.c For adding all radius avps, I guess some extra C code needs to be pushed there. Cheers, Daniel On 11/12/14 14:57, Kalala Alexander wrote: > I have done

Re: [SR-Users] kamailio for newbies!

2014-12-11 Thread Alex Balashov
I am far from convinced that most people with an aptitude for scripting and programming[1] prefer videos as a means of instruction. I, for one, would never use a video to learn a new programming language or toolkit. I don't have the patience to sit through screencasts featuring the excitement

Re: [SR-Users] Kamailio AVPs Radius

2014-12-11 Thread Kalala Alexander
I have done avp_print (); Here's the output: 1(11832) INFO: avpops [avpops_impl.c:1488]: ops_print_avp(): name= 1(11832) INFO: avpops [avpops_impl.c:1496]: ops_print_avp(): val_str=: > Not using radius myself, but a quick look at the code reveals that some > avps are generated after authenti

Re: [SR-Users] Federation Kamailio

2014-12-11 Thread Olle E. Johansson
On 11 Dec 2014, at 14:28, Olle E. Johansson wrote: > > On 11 Dec 2014, at 04:30, nadie wrote: > >> Hello. I installed kamailio. All OK. >> But when i call to other servers. ostel.co. for example. no ring. >> What element permits federation between kamailios? DNS Records? > > DNS is the feder

Re: [SR-Users] Federation Kamailio

2014-12-11 Thread Olle E. Johansson
On 11 Dec 2014, at 04:30, nadie wrote: > Hello. I installed kamailio. All OK. > But when i call to other servers. ostel.co. for example. no ring. > What element permits federation between kamailios? DNS Records? DNS is the federation mechanism for SIP. With the example configuration you tell K

Re: [SR-Users] Kamailio AVPs Radius

2014-12-11 Thread Daniel-Constantin Mierla
Not using radius myself, but a quick look at the code reveals that some avps are generated after authentication. You can print the list of the avps with avp_print(): http://kamailio.org/docs/modules/stable/modules/avpops.html#avpops.f.avp_print Then you can see what is getting back from radius.