[SR-Users] kamctl not connect to dbserver

2014-04-28 Thread Юрий Горличенко
Hello. I started configure Kamailio 3.3 server with mysql database, that running on the remote server. I customise settings at kamailio.cfg (for BDURL) and kamctlc file (for my db - changed user, password, dbhost and other settings, such as dbengine and etc.) Now, when I tried add new subscribe

[SR-Users] kamailio command line

2014-04-28 Thread betul.cerit
Hi to all, I’m using “kamailio” command to see alerts,notices and warnings but it also starts a new kamailio process.Is there a way to see command line without starting a new kamailio process? I need something just like asterisk –rvvv in asterisk. Thanks in Advance.___

Re: [SR-Users] kamailio command line

2014-04-28 Thread Olle E. Johansson
On 28 Apr 2014, at 09:07, wrote: > Hi to all, > I’m using “kamailio” command to see alerts,notices and warnings but it also > starts a new kamailio process.Is there a way to see command line without > starting a new kamailio process? > I need something just like asterisk –rvvv in ast

Re: [SR-Users] kamailio command line

2014-04-28 Thread betul.cerit
Thank you so much.That makes sense.I will give it a try. From: Olle E. Johansson Sent: Monday, April 28, 2014 10:12 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] kamailio command line On 28 Apr 2014, at 09:07, wrote: Hi to all, I’m using “kamailio” command to see ale

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Daniel-Constantin Mierla
On 24/04/14 16:10, Juha Heinanen wrote: wiki was this related to $(hdr(name)[N]): If [N] is omitted then the body of the first header is printed. The first header is got when N=0, for the second N=1, a.s.o. In case of a comma-separated multi-body headers, it returns all the bodies,

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Daniel-Constantin Mierla
On 25/04/14 16:15, Juha Heinanen wrote: Juha Heinanen writes: wiki was this related to $(hdr(name)[N]): If [N] is omitted then the body of the first header is printed. The first header is got when N=0, for the second N=1, a.s.o. In case of a comma-separated multi-body headers, it ret

Re: [SR-Users] kamctl not connect to dbserver

2014-04-28 Thread Daniel-Constantin Mierla
Hello, On 28/04/14 07:02, Юрий Горличенко wrote: Hello. I started configure Kamailio 3.3 server with mysql database, that running on the remote server. I customise settings at kamailio.cfg (for BDURL) and kamctlc file (for my db - changed user, password, dbhost and other settings, such as db

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I guess the $hdr(X[*]) uses comma-space for separation (haven't checked > the sources). In your example, the second header test has two values in > one line and $hdr(...) is simply returning all of them. since there is no need for space, it should not be there

Re: [SR-Users] permanent 1.5 s timer interval in module pipelimit

2014-04-28 Thread Daniel-Constantin Mierla
Thanks, patch applied to 4.0, 4.1 and master branches. Cheers, Daniel On 27/04/14 17:36, Julia wrote: Hello all, Timer pl_timer in *pipelimit.c* is defined as MS_TO_TICKS(1500) instead of timer_interval (in versions 3.3 – 4.1). I found a patch that solves the same problem in the *ratelimit

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Daniel-Constantin Mierla
On 28/04/14 09:49, Juha Heinanen wrote: Daniel-Constantin Mierla writes: I guess the $hdr(X[*]) uses comma-space for separation (haven't checked the sources). In your example, the second header test has two values in one line and $hdr(...) is simply returning all of them. since there is no ne

Re: [SR-Users] Dispatcher marks TLS destinations as Inactive when present in more than one set

2014-04-28 Thread Daniel-Constantin Mierla
Hello, seems like an issue if the second OPTIONS is not sent out -- I will look over it. However, SIPS doesn't enforce tls, it means a secure connection which can be also VPN or a private wire. Can you give it a try with uris like: sip: _IP_ADDR_:5061;transport=tls ? Cheers, Daniel On 2

Re: [SR-Users] Dialog module and confirmed-unacked dialogs

2014-04-28 Thread Daniel-Constantin Mierla
Hello, is any BYE passing through the proxy? There could be two approaches: - when 200ok, set the dialog timeout to 40s (or some parm value), then when ACK is handled, set it to the real dialog timeout value - cleanup timer can reset the timeout of non-acked calls that are established for mor

Re: [SR-Users] BLF issue with Kamailio behind NAT

2014-04-28 Thread Daniel-Constantin Mierla
Hello, the phone has to send SUBSCRIBE for blf, kamailio cannot do anything for that. Maybe the phone is misconfigured. Do you have any logs from the phone saying what it tries and what doesn't work? Cheers, Daniel On 25/04/14 01:34, Errol Samuels wrote: Hello All, I have an integration wi

Re: [SR-Users] avp_db_load() & fetch attribute ....

2014-04-28 Thread Daniel-Constantin Mierla
Hello, have you set use_domain parameter? http://kamailio.org/docs/modules/stable/modules/avpops.html#avpops.p.use_domain Then you can use the '/uri' flag for first parameter of avp_db_load(). Cheers, Daniel On 28/04/14 00:12, arun Jayaprakash wrote: Can someone let me know how I can fetch an

Re: [SR-Users] avpops question...

2014-04-28 Thread Daniel-Constantin Mierla
Hello, set use_domain parameter for avpops: http://kamailio.org/docs/modules/stable/modules/avpops.html#avpops.p.use_domain then use avp_db_load("$ru", ...) Cheers, Daniel On 27/04/14 05:09, arun Jayaprakash wrote: Hello, I have a piece of code as follows: $avp(callfwdcount) = 0; $avp(dn

Re: [SR-Users] Record-Route header

2014-04-28 Thread Daniel-Constantin Mierla
Hello, $hdr(Record-Route) should return the record-route header value. You can store it in htable using callid as key. However, if you explain the issues you try to solve, there might be other alternatives. Cheers, Daniel On 25/04/14 22:00, jignesh gandhi wrote: Hello All, I have a need

Re: [SR-Users] DRouting, routeid is not triggered

2014-04-28 Thread Daniel-Constantin Mierla
Hello, ok, I will backport. Cheers, Daniel On 27/04/14 16:44, Maciej Bylica wrote: Hi Daniel, It works... thanks alot for your help. Mac. 2014-04-25 0:48 GMT+02:00 Maciej Bylica >: Hi Daniel, I am about to do this on Fri and will give you feedback soon.

Re: [SR-Users] Processing on Invite Packet

2014-04-28 Thread Daniel-Constantin Mierla
Hello, I don't understand what you are looking for, maybe you can give an example. Cheers, Daniel On 24/04/14 03:16, aawaise wrote: Hello, On arrival of INVITE packet to the Kamailio server, which module is used to take in response to Invite packet. Other than record_route, which records the

Re: [SR-Users] test if record_route() has been called already?

2014-04-28 Thread Daniel-Constantin Mierla
On 23/04/14 12:55, Juha Heinanen wrote: is there any means to test if record_route() has been called already on the request? if it is called more than once, error message is issued. record_route() adds some conditional lump to be able to deal with the case of double record routing (when outbou

Re: [SR-Users] Translate calling/called party based on username to telephone number base id.

2014-04-28 Thread Daniel-Constantin Mierla
Hello, On 22/04/14 17:33, Helena Garcia-Nieto wrote: Hi all. I want to thank you all for the great info and help that you provide in this mailing list. I am just starting to work with kamailio and still learning. I would like some help to point me on the right direction on our new challen

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Daniel-Constantin Mierla
Hello, maybe asking on the mailing list for FHoSS would give more leads... Cheers, Daniel On 17/04/14 17:29, Andrea Meroni wrote: Hi all, i am testing a very basic IMS core Kamailio-based using as HSS FHoSS. However, while using SIPp to stress the system, i noticed that the VM hosting the F

Re: [SR-Users] 480 Temporarily Unavailable

2014-04-28 Thread Daniel-Constantin Mierla
Hello, the list for iptel.org free sip service is at: - http://lists.iptel.org/mailman/listinfo/services Cheers, Daniel On 14/04/14 23:22, David Giannetto wrote: I get this error "480 Temporarily Unavailable" Every time I dial 206-456-1041 this is the information I have entered in the the fil

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Andrea Meroni
You're right, but for the "Kamailio part" i just want to know if the integration with FHoSS works well ... I mean: FHoSS is advised as HSS to be used with a Kamailio-based IMS architecture, but is it also the one preferred by the users/developers for which concerns performance issues? Andrea On

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > >> I guess the $hdr(X[*]) uses comma-space for separation (haven't checked > >> the sources). In your example, the second header test has two values in > >> one line and $hdr(...) is simply returning all of them. > > since there is no need for space, it should no

Re: [SR-Users] jsSIP client disconnects after a while when using Kamailio websocket

2014-04-28 Thread Daniel-Constantin Mierla
Hello, On 12/04/14 01:16, Alex Villací­s Lasso wrote: I am having this issue when using kamailio-4.1.2 (after patching the segfault bug). The kamailio is configurated as a frontend for asterisk. When using UDP for SIP, this works correctly. However, I am now setting up websockets (no TLS yet),

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Juha Heinanen
Juha Heinanen writes: > are used all over the place and it would thus not be a good idea to edit > them. perhaps adding a new ones: > > #define PV_HDR_DELIM ", " > #define PV_HDR_DELIM_LEN (sizeof(PV_HDR_DELIM) - 1) > > would be ok. in the above ", " should, of course, have been ",". -- juha

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Jason Penton
Yes it will work with FHoSS. The interfaces between I-CSCF and S-CSCF and HSS using CxDx interfaces are standards-based using Diameter. Both Kamailio IMS modules and FHoSS are based on these standards. Cheers Jason On Mon, Apr 28, 2014 at 10:51 AM, Andrea Meroni wrote: > You're right, but for t

Re: [SR-Users] $(hdr(name)[N]) question

2014-04-28 Thread Daniel-Constantin Mierla
On 28/04/14 10:51, Juha Heinanen wrote: Daniel-Constantin Mierla writes: I guess the $hdr(X[*]) uses comma-space for separation (haven't checked the sources). In your example, the second header test has two values in one line and $hdr(...) is simply returning all of them. since there is no ne

Re: [SR-Users] cnxcc

2014-04-28 Thread Andrzej Ciupek
Hello You are amazing !! Your example work perfect, but I have to work with mine cfg, because when I use part of Your route into my config it doesn't work like it should.I think I have some problems with dialog module, because when I start Your script I get: Apr 28 09:47:31 kamailio /usr/local/sb

Re: [SR-Users] cnxcc

2014-04-28 Thread Andrzej Ciupek
Hello again It works perfect, I was missing "setflag(DLG_FLAG);" in my main route. Thank You very much for help. GreetingsAndrzej Ciupek From: andrzej.ciu...@hotmail.com To: carlos.ruizd...@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] cnxcc Date: Mon, 28 Apr 2014 09:54:30 +

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Andrea Meroni
Yeah, i've already tried it, and it works :). But my problem is different: when i try to stress the system with a call-rate of just 3 registrations per second the FHoSS basically crashes (it overloads the CPU) ... Is it normal? Andrea On Mon, Apr 28, 2014 at 9:54 AM, Jason Penton wrote: > Yes

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Carsten Bock
Hi Andrea, as i stated in my presentation during KamailioWorld: "All components for Testbeds available as OpenSource" I think, the FHoSS is one of the components, which work with Kamailio pretty well (from a technical/standards perspective), but also the component, which i never would use for a

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Jason Penton
+1 on Carsten's email On Mon, Apr 28, 2014 at 11:01 AM, Carsten Bock wrote: > Hi Andrea, > > as i stated in my presentation during KamailioWorld: > > "All components for Testbeds available as OpenSource" > > I think, the FHoSS is one of the components, which work with Kamailio > pretty well (fr

Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Andrea Meroni
Thank u very much, i imagined something like this but i wanted a confirmation. Just another question: searching the web for other opensource HSS, i found that most companies implements their own HSS ... So, am I right if i say that to have a performant HSS i should buy it from someone? The only goo

[SR-Users] Early dialog

2014-04-28 Thread Ivan Baques Garcia
Hi, I'm using modparam("dialog", "db_mode", 1), but only confirmed dialogs are shown in the database. How I can enable to show unconfirmed dialogs in the database? Now are only in-memory. Best regards ___ SIP Express Router (SER) and Kamailio (OpenSER)

[SR-Users] Presence request authentication

2014-04-28 Thread Muhammad Shahzad
Hi, I have a complex setup consisting of two sip server, lets call them main server and presence server. The main server manages SIP register, calls, messages and so, however it does not support presence at all. It returns SIP response "405 Method Not Allowed" for any SIP PUBLISH, SUBSCRIBE or NO

[SR-Users] Presence request authentication

2014-04-28 Thread Juha Heinanen
Muhammad Shahzad writes: > The main server manages SIP register, calls, messages and so, however it > does not support presence at all. It returns SIP response "405 Method Not > Allowed" for any SIP PUBLISH, SUBSCRIBE or NOTIFY. > > The presence server is a Kamailio server, which unfortunately ha

Re: [SR-Users] Presence request authentication

2014-04-28 Thread Muhammad Shahzad
Yes, but problem is that main server has pretty good billing integrated with it, which is the key reason my client want to keep it. Thank you. On Mon, Apr 28, 2014 at 11:57 AM, Juha Heinanen wrote: > Muhammad Shahzad writes: > > > The main server manages SIP register, calls, messages and so, h

[SR-Users] LCR from_uri help

2014-04-28 Thread Juha Heinanen
just to complete this thread, it turned out that from uri matching didn't happen because load_gws() was called without caller uri argument. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] cnxcc

2014-04-28 Thread Carlos Ruiz Díaz
I'm glad that it worked. Please don't forget to "git pull" to update your cnxcc copy. Regards, Carlos On Mon, Apr 28, 2014 at 3:17 AM, Andrzej Ciupek wrote: > Hello again > > It works perfect, I was missing "setflag(DLG_FLAG);" in my main route. > > Thank You very much for help. > > Greetings

[SR-Users] Large Content-Length crash with instant message

2014-04-28 Thread Roberto Fichera
Hi All, I'm playing with instant messaging with a PJSIP client, but as soon as I send body with payload to about 100k I'm getting the error below: Apr 28 09:16:52 ip-10-227-0-26 /usr/sbin/kamailio[2909]: ERROR: [tcp_main.c:715]: _wbufq_add(): ERROR: wbufq_add(40552 bytes): write queue full or

Re: [SR-Users] Large Content-Length crash with instant message

2014-04-28 Thread Daniel-Constantin Mierla
Hello, it doesn't look like a crash at all, but normal behaviour when message is too large to send. Or are there other log messages you haven't posted here indicating a crash? You may have to adjust write buffers for tcp -- look at core cookbook, tcp parameters section, and identify the ones

Re: [SR-Users] Large Content-Length crash with instant message

2014-04-28 Thread Roberto Fichera
On 04/28/2014 03:45 PM, Daniel-Constantin Mierla wrote: > Hello, Hi, > > it doesn't look like a crash at all, but normal behaviour when message is too > large to send. Or are there other log > messages you haven't posted here indicating a crash? Opsss! Sorry! It wasn't a crash, I wrote the wron

[SR-Users] Fwd: Early dialog

2014-04-28 Thread Ivan Baques Garcia
Hi, I'm using modparam("dialog", "db_mode", 1), but only confirmed dialogs are shown in the database. How I can enable to show unconfirmed dialogs in the database? Now are only in-memory. Best regards ___ SIP Express Router (SER) and Kamailio (OpenSER)

Re: [SR-Users] Large Content-Length crash with instant message

2014-04-28 Thread Roberto Fichera
On 04/28/2014 04:05 PM, Roberto Fichera wrote: > On 04/28/2014 03:45 PM, Daniel-Constantin Mierla wrote: >> Hello, > Hi, > >> it doesn't look like a crash at all, but normal behaviour when message is >> too large to send. Or are there other log >> messages you haven't posted here indicating a cras

Re: [SR-Users] Large Content-Length crash with instant message

2014-04-28 Thread Roberto Fichera
On 04/28/2014 04:09 PM, Roberto Fichera wrote: > On 04/28/2014 04:05 PM, Roberto Fichera wrote: >> On 04/28/2014 03:45 PM, Daniel-Constantin Mierla wrote: >>> Hello, >> Hi, >> >>> it doesn't look like a crash at all, but normal behaviour when message is >>> too large to send. Or are there other lo

[SR-Users] Adding dialogs to a profile in a failure_route

2014-04-28 Thread Alex Balashov
Hi, Am I not allowed to call dlg_manage() and add a dialog to a profile inside a request_route that is called out of a failure_route? The sequence of events is like this: 1. INVITE > 2. <-- 302 redirect 3. ACK ---> 4. INVITE (new branch) ---> It's in #

Re: [SR-Users] Fwd: Early dialog

2014-04-28 Thread Charles Chance
Hi, To my knowledge, only confirmed dialogs are ever persisted to the database. Regards, Charles On 28 April 2014 15:10, Ivan Baques Garcia wrote: > Hi, > > I'm using modparam("dialog", "db_mode", 1), but only confirmed dialogs are > shown in the database. > > How I can enable to show uncon

[SR-Users] kamctl not connect to dbserver

2014-04-28 Thread Юрий Горличенко
Hello. I started configure Kamailio 3.3 server with mysql database, that running on the remote server. I customise settings at kamailio.cfg (for BDURL) and kamctlc file (for my db - changed user, password, dbhost and other settings, such as dbengine and etc.) Now, when I tried add new subscribe

Re: [SR-Users] kamctl not connect to dbserver

2014-04-28 Thread Daniel-Constantin Mierla
Hello, there was a follow up on your topic earlier today, see: http://lists.sip-router.org/pipermail/sr-users/2014-April/082842.html Cheers, Daniel On 28/04/14 20:05, Юрий Горличенко wrote: Hello. I started configure Kamailio 3.3 server with mysql database, that running on the remote server.

Re: [SR-Users] avp_db_load() & fetch attribute ....

2014-04-28 Thread arun Jayaprakash
Hello Daniel,  When I set the use_domain parameter  modparam("avpops","domain_column","domain") modparam("avpops","use_domain","1") I get the following error:  ERROR: [modparam.c:152]: set_mod_param_regex(): set_mod_param_regex: parameter of type <1> not found in module Apr 28 18:45:48 ip-1

[SR-Users] How to replace cachedb_local.so functionality

2014-04-28 Thread Gary Wallis
Hello, Moving away from OpenSIPS... How can I replace the functionality that loadmodule "cachedb_local.so" gives in Kamailio 4.1? It is even needed? Best regards, Gary ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-

Re: [SR-Users] How to replace cachedb_local.so functionality

2014-04-28 Thread Charles Chance
Hi, Maybe try http://kamailio.org/docs/modules/stable/modules/htable.html? Regards, Charles On 28 Apr 2014 21:26, "Gary Wallis" wrote: > Hello, > > Moving away from OpenSIPS... > > How can I replace the functionality that > > loadmodule "cachedb_local.so" > > gives in Kamailio 4.1? > > It is

Re: [SR-Users] avp_db_load() & fetch attribute ....

2014-04-28 Thread Daniel-Constantin Mierla
Hello, value 1 must be without double quotes around it. Cheers, Daniel On 28/04/14 20:55, arun Jayaprakash wrote: Hello Daniel, When I set the use_domain parameter modparam("avpops","domain_column","domain") modparam("avpops","use_domain","1") I get the following error: ERROR: [modparam.

Re: [SR-Users] Adding dialogs to a profile in a failure_route

2014-04-28 Thread Fred Posner
On 04/28/2014 01:49 PM, Alex Balashov wrote: Hi, [SNIP] So, the question is, am I doing something wrong? What's the best way to accommodate this scenario? I don't know if I want to track the dialog or add it to a profile until after I get the 302. Out of curiosity, if you call set_dlg_profile

Re: [SR-Users] Adding dialogs to a profile in a failure_route

2014-04-28 Thread Alex Balashov
I don't think that will work, because no dialog is created by the 302 redirect. On 29 April 2014 02:48:23 GMT+04:00, Fred Posner wrote: >On 04/28/2014 01:49 PM, Alex Balashov wrote: >> Hi, >> >> [SNIP] So, the question is, am I doing something wrong? What's the >best way to >> accommodate this s

Re: [SR-Users] Adding dialogs to a profile in a failure_route

2014-04-28 Thread Fred Posner
On 04/28/2014 06:54 PM, Alex Balashov wrote: I don't think that will work, because no dialog is created by the 302 redirect. 11.3. event_route[dialog:failed] Executed when dialog is not completed (+300 reply to INVITE). --fred ___ SIP Express Rout

[SR-Users] Kamailio and Free switch - multi tenant

2014-04-28 Thread Chirag Desai
Hi all, First time poster here. I had a freeswitch installation configured to allow users to register with different domains e.g. tenant1.mydomain.com tenant2.mydomain.com .. tenantN.my domain.com This worked fine. Users were able to call extensions in their own domain and access their voicemail

Re: [SR-Users] Adding dialogs to a profile in a failure_route

2014-04-28 Thread Alex Balashov
On 04/28/2014 08:04 PM, Fred Posner wrote: On 04/28/2014 06:54 PM, Alex Balashov wrote: I don't think that will work, because no dialog is created by the 302 redirect. 11.3. event_route[dialog:failed] Executed when dialog is not completed (+300 reply to INVITE). Oh. I thought it required t

Re: [SR-Users] Need an explanation of the contents of the LCR gw_uri_avp for replacement I am making to some of the functionality of the LCR module

2014-04-28 Thread Will Ferrer
Hi Juha Thank you very much for pointing me in the right direction. I am looking the c code now and I will update the list if I figure it out sufficiently. All the best. Will Ferrer On Sat, Apr 26, 2014 at 10:51 PM, Juha Heinanen wrote: > Will Ferrer writes: > > > I have found you can overwr

Re: [SR-Users] Need an explanation of the contents of the LCR gw_uri_avp for replacement I am making to some of the functionality of the LCR module

2014-04-28 Thread Will Ferrer
Hi Juha I just wanted to update every body on what I found looking at the c code. The values in between the pipes are as follows: gw_index | scheme | strip | prefix | tag | ip_addr | hostname | port | params | transport | flags Most of these things are clearly retrievable from the DB (just look

Re: [SR-Users] Kamailio in TLS and Non-TLS mode

2014-04-28 Thread aawaise
All certificates and keys have been made and updated. Can we make kamailio server to listen to two ports, i.e 5061 and 5062 simultaneously ?? Like in a scenario where some users connect to 5061 and some at 5062. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-i

[SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread aawaise
Hello, I want to display the value from domain field of Location List in SER Monitor Menu. I extracted the value of $rd using xlog. It gave me the domain of callee but from invite packet. Not from the location list of SER Monitor Menu. If callee is logged in to same database with another kamaili

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread aawaise
I have set the domain name (which I am looking for) using the example given in link below. Now I want to print the domain name in logs using xlog http://kamailio.org/docs/modules/3.1.x/modules_k/usrloc.html#id2995652 Here is the exact text from the above link. 3.16. use_domain (integer) If

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread djchill...@gmail.com
Hey, I think the variable you want is $td. See this for reference: To URI Domain $td - reference to domain in URI of 'To' header To display name $tn - reference to display name of 'To' header To tag $tt - reference to tag parameter of 'To' header To URI $tu - reference to URI of 'To' heade

Re: [SR-Users] Record-Route header

2014-04-28 Thread jignesh gandhi
Thanks Daniel. Here is the use case. An INVITE received from an upstream Proxy to Kamailio.  Kamailio needs to save the Record-Route header from the INVITE before proxying it to an Asterisk server and  when  the Asterisk server sends a BYE for that INVITE back thru Kamailio,  Kamailio is require

Re: [SR-Users] Drouting

2014-04-28 Thread aawaise
Hello, I want to decide route for incoming "INVITE" packet on basis of "Domain" entry in Location Table, i.e domain part of the user, used for identifing the user (along with the username part). Useful in multi domain scenarios, which is defined by modparam("usrloc", "use_domain", 1) As far as I