[SR-Users] dispatcher flag

2016-02-18 Thread alexandre.anconetti
Hi, I'm using the dispatcher module with Kamailio 4.3.4, the keep alive mechanism and the routing are OK, but I would like to get in my request_route the flag(s) (active, inactive, probing ...) that the dispatcher give to each destination. I know that in command line I can run kamcmd or kamctl t

Re: [SR-Users] dispatcher flag

2016-02-18 Thread Daniel-Constantin Mierla
Hello, jsonrpc-s module has a function to execute rpc commands from kamailio.cfg: - http://www.kamailio.org/docs/modules/devel/modules/jsonrpc-s.html#jsonrpc-s.f.jsonrpc_exec Then you can use jansson module to get the values from the json rpc result. Cheers, Daniel On 18/02/16 09:35, alexandre

Re: [SR-Users] Facing issue in Registration of SIP Client

2016-02-18 Thread sainath.ellendula
Hi Franz, Thanks for your response. I have modified the Xlite configuration. Now user is failed to REGISTER with "401 unauthorized - challenging the UE" to challenge the user, here user is not sending any response with authorized details. Please find the attached traces and let me know a

Re: [SR-Users] dispatcher flag

2016-02-18 Thread alexandre.anconetti
Ok thanks i'm going to try this. Best regards. Alexandre De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Daniel-Constantin Mierla Envoyé : jeudi 18 février 2016 11:27 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] dispatcher flag Hello, jsonrpc-s modul

Re: [SR-Users] Facing issue in Registration of SIP Client

2016-02-18 Thread Fred Schulz
Hi, the X-Lite is a normal Sip Client .. for IMS registration you need an IMS client .. such as Boghe based upon doubango. You are only able to use normal username/password register while using X-Lite Cheers, Fred Am 18.02.2016 um 11:53 schrieb sainath.ellend...@wipro.com

[SR-Users] LCR Module issue

2016-02-18 Thread Alberto Sagredo
Hi I have LCR working but not able to add more gateways? It seems only first one is accepted What could be wrong? I show you database data and kamcmd commands output. mysql> select * from lcr_rule_target; +++-+---+--++ | id | lcr_id | rule_id | gw_id

Re: [SR-Users] LCR Module issue

2016-02-18 Thread ycaner
There is parameter for lcr_id. you need to set max lcr_count in .cfg. lcr_count lcr_gw_count -- View this message in context: http://sip-router.1086192.n5.nabble.com/LCR-Module-issue-tp145861p145863.html Sent from the Users mailing list archive at Nabble.com. _

Re: [SR-Users] Facing issue in Registration of SIP Client

2016-02-18 Thread Franz Edler
Hi, > I have modified the Xlite configuration. Now user is failed to REGISTER with > "401 unauthorized - challenging the UE" to challenge the user, here user is > not sending any response with authorized details. Xlite client does not use the IMS-AKA based authentication but SIP digest. Therefore

Re: [SR-Users] [SPAM] Fwd: Registration Failure - IMS

2016-02-18 Thread Franz Edler
Hi, > do you have any suggestion on this? No, not at the moment. Please add a tracefile. BR Franz ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/li

[SR-Users] how to drop 200ok and survive?

2016-02-18 Thread Uri Shacked
Hi, for some strange reason, ask my regulator i need to manipulate certain calls. the scenario goes like this: 1. caller sends invite to kamailio. 2. kamailio transfer the call to asterisk. 3. asterisk send progress and play "hello". 4. asterisk creates a new call (dial) to the same kamailio

Re: [SR-Users] how to drop 200ok and survive?

2016-02-18 Thread Uri Shacked
i forgot to mention i use PJSIP on my asterisk On Thu, Feb 18, 2016 at 9:35 PM, Uri Shacked wrote: > Hi, > > for some strange reason, ask my regulator i need to manipulate certain > calls. > the scenario goes like this: > > 1. caller sends invite to kamailio. > 2. kamailio transfer t

Re: [SR-Users] how to drop 200ok and survive?

2016-02-18 Thread Alex Balashov
Uri, Can't you block a reply in an onreply_route by just dropping it? route { t_on_reply("MAYBE_BLOCK"); } onreply_route[MAYBE_BLOCK] { if(is_method("INVITE") && t_check_status("200")) drop; } -- Alex -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North,

Re: [SR-Users] LCR Module issue

2016-02-18 Thread Alberto Sagredo
Thank you! That resolved my issue :) 2016-02-18 17:23 GMT+01:00 ycaner : > There is parameter for lcr_id. you need to set max lcr_count in .cfg. > > lcr_count > lcr_gw_count > > > > -- > View this message in context: > http://sip-router.1086192.n5.nabble.com/LCR-Module-issue-tp145861p145863.ht

Re: [SR-Users] Error or Bug: [t_msgbuilder.c:490]: build_local_reparse(): ERROR: build_local_reparse: HDR_EOH_T was not found

2016-02-18 Thread Sid Mason
Yes, there is a append_hf("Remote-Party-ID: below is the complete section: # Send to Asterisk route[TOASTERISK] { ds_mark_dst("P"); if(!ds_select_dst("1", "4")) { sl_send_reply("500", "Service Unavailable"); xlog("L_INFO","[$fU@$si:$sp]{$rm} No destinations available for $rd \n"); exit; } # Repl

Re: [SR-Users] Error or Bug: [t_msgbuilder.c:490]: build_local_reparse(): ERROR: build_local_reparse: HDR_EOH_T was not found

2016-02-18 Thread Daniel-Constantin Mierla
You have to put end of line \r\n at the end of the parameter for append_hf(). Cheers, Daniel On 19/02/16 08:39, Sid Mason wrote: > Yes, there is a append_hf("Remote-Party-ID: > > below is the complete section: > > > # Send to Asterisk > route[TOASTERISK] { > ds_mark_dst("P"); > if(!ds_select_dst(