Re: [SR-Users] Not able to replace route_uri in contact header uri

2017-04-13 Thread Narayan P
Hi ,

Can anybody help me how to replace the domain part of $route-uri in contact  
header .

I am using avp_subst().But kamailio is not starting.


I am new to kamailio.Any help will be highly appreciated.


Thanks,

Narayan


From: Narayan P
Sent: Wednesday, April 12, 2017 8:17:02 AM
To: sr-us...@lists.sip-router.org
Subject: Not able to replace route_uri in contact header uri


Hi All,

I am using pjsip client and kamailiio,both running on different servers.I want 
to replace the uri on which pjsip is running with the uri on which kamailio is 
running in contact header.
I put some logs on route[REGISTRAR] and able to see the $route_uri as kamailio 
server uri($avp(s:fs) and  $hdr(Contact) as pjsip server uri 
($avp(s:contact).But I am not able to replace the uri with avp_subst() function.

Can anybody help me how to replace the uri or with any any other function.

Below I have put the snippet of config file.


# Handle SIP registrations
route[REGISTRAR] {
if (!is_method("REGISTER")) return;

if(isflagset(FLT_NATS)) {
setbflag(FLB_NATB);
#!ifdef WITH_NATSIPPING
# do SIP NAT pinging
setbflag(FLB_NATSIPPING);
#!endif
}
xlog("Narayan: before sending contact\n");
$avp(s:contact) = $hdr(Contact);
$avp(s:fs) = $route_uri;
xlog("Narayan: Forced socket is $avp(s:fs)\n");
xlog("Narayan: contact header is $avp(s:contact)\n");
avp_subst("$avp(s:contact)/avp(s:contac)/g", "/(.*)@(.*)/$route_uri/");
#avp_pushto("$ru/domain","$fd");
#rewritehostport("185.122.206.62:5060");
t_on_reply("MANAGE_REPLY");
t_relay();
#if (!save("location")) {
#   sl_reply_error();
#}
exit;
}


Any suggestion will be highly appreciated.


Thanks,
Narayan

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Rtpengine module. rtcp-mux-demux option does not work.

2017-04-13 Thread Denys Pozniak
Hello, All!

We are using Kamailio as Webrtc to SIP proxy.
Clinet's Chrome browser needs to have rtcp-mux option to work correct, so
we are adding it in RTPENGINE->WS direction as:

rtpengine_manage("trust-address replace-origin
replace-session-connection *rtcp-mux-offer
rtcp-mux-accept* ICE=force RTP/SAVPF");

Also we need to remove it in RTPENGINE->PSTN direction, we are trying to do
it like this:

rtpengine_manage("trust-address replace-origin replace-session-connection
* rtcp-mux-demux* ICE=remove RTP/AVP");

But it does not work for us and a=rtcp-mux option in SDP goes to the SIP
provider.

Please help us to solve this!

BR,
Denys

PS.
Versions: Kamailio 4.4.5, rtpengine 5.2.1.0
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Rtpengine module. rtcp-mux-demux option does not work.

2017-04-13 Thread Richard Fuchs

On 04/13/2017 08:43 AM, Denys Pozniak wrote:

Hello, All!

We are using Kamailio as Webrtc to SIP proxy.
Clinet's Chrome browser needs to have rtcp-mux option to work correct, 
so we are adding it in RTPENGINE->WS direction as:


rtpengine_manage("trust-address replace-origin 
replace-session-connection *rtcp-mux-offer rtcp-mux-accept* ICE=force 
RTP/SAVPF");


Also we need to remove it in RTPENGINE->PSTN direction, we are trying 
to do it like this:


rtpengine_manage("trust-address replace-origin 
replace-session-connection* rtcp-mux-demux* ICE=remove RTP/AVP");


But it does not work for us and a=rtcp-mux option in SDP goes to the 
SIP provider.


It should work as you described. Run rtpengine with log level 7 and post 
the resulting logs from a test call.


Cheers
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Install 5.0 with IMS module on single machine

2017-04-13 Thread Jegadeesan
Hi ,

How to install  Kamalio 5.0  with IMS module on single machine to support
the RCS client development ?

-- 
Jega
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Install 5.0 with IMS module on single machine

2017-04-13 Thread ycaner
hello,
there is a wmware clone sharing on maillist.  Could you search it in mail
list?



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Install-5-0-with-IMS-module-on-single-machine-tp157751p157754.html
Sent from the Users mailing list archive at Nabble.com.

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Install 5.0 with IMS module on single machine

2017-04-13 Thread ycaner
hello,
i found link
http://sip-router.1086192.n5.nabble.com/New-links-for-quot-IMS-getting-started-quot-td151516.html#a151551

check it please



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Install-5-0-with-IMS-module-on-single-machine-tp157751p157755.html
Sent from the Users mailing list archive at Nabble.com.

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] How do i build MSRP chat bot?

2017-04-13 Thread Pranathi Venkatayogi
Hi Daniel,
  We are looking for just MSRP. We already have a different solution for phone 
calls.
  Yes similar to call queuing system. Do you have any pointers?

Thanks
Pranathi

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: Thursday, April 13, 2017 1:36 AM
To: m...@dopensource.com
Cc: Pranathi Venkatayogi ; Kamailio (SER) - Users 
Mailing List 
Subject: Re: How do i build MSRP chat bot?


Hello,

On 10.04.17 11:53, m...@dopensource.com wrote:
Hey Daniel,

She wants to put them on hold and ideally send them a MSRP message saying  
“Please wait for us to find a person to speak with”.
is it for calls that involve also voice communications, or just MSRP? Because 
it looks like you look for a call queuing system.

Cheers,
Daniel


 Once someone becomes free, we want to bridge the session.   We found that if 
the MSRP Client doesn’t connect within a certain period of time it kills the 
session like any SIP INVITE.  One approach is to create a MSRP bot that answers 
the call and then forwards the session once a person becomes free.   We are 
looking for other approaches.  Any thoughts?

On Apr 10, 2017, at 5:36 AM, Daniel-Constantin Mierla 
mailto:mico...@gmail.com>> wrote:

Hello,
the standard MSRP session starts with and INVITE. What do you want to achieve, 
answer the invite, have a chat and then reconnect the caller to another MSRP 
endpoint? Or hold a bit the INVITE until the target connects to the system 
(e.g., after a push notification)?
Cheers,
Daniel

On 07.04.17 23:09, Pranathi Venkatayogi wrote:
I would like to place the customer connecting via SIP/MSRP on hold until I find 
the right destination.
What is the best way to do this?
  One idea is to write a MSRP bot. Does anyone know how to go about this?

Other smart ideas?

Thanks,
Pranathi Venkatayogi
System Developer II
(520) 745-9447 x4466
www.cyracom.com

Join us:    
  



DISCLAIMER: This e-mail and any attached content may contain confidential or 
privileged material delivered for the sole use of the intended recipient(s). 
Any review, use, distribution or disclosure by others is strictly prohibited. 
If you are not the intended recipient (or authorized to receive for the 
recipient), please contact the sender immediately by reply e-mail and delete 
all copies of this message. It is the recipient's responsibility to scan this 
e-mail and any attachments for viruses. The content of this e-mail message, 
including any attachments, does not comprise a contract or a portion of a 
contract, and so does not bind CyraCom International, Inc. or any of its agents 
or subsidiaries. CyraCom, LLC and Voiance Language Services, LLC are wholly 
owned subsidiaries of CyraCom International, Inc.




--

Daniel-Constantin Mierla

www.twitter.com/miconda -- 
www.linkedin.com/in/miconda

Kamailio Advanced Training - May 22-24 (USA) - 
www.asipto.com

Kamailio World Conference - May 8-10, 2017 - 
www.kamailioworld.com




--

Daniel-Constantin Mierla

www.twitter.com/miconda -- 
www.linkedin.com/in/miconda

Kamailio Advanced Training - May 22-24 (USA) - 
www.asipto.com

Kamailio World Conference - May 8-10, 2017 - 
www.kamailioworld.com
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Using advertised_addres doesn't update the RR header

2017-04-13 Thread Mridul B
Hi Daniel,

Thanks for the clarification, this really helps.

In the doc, it says that using advertised_address param should take care of
the RR (other destination lumps).


https://www.kamailio.org/wiki/cookbooks/5.0.x/core#advertised_address

I think the doc should be updated with your example.

listen=udp:x.x.x.x:5060 advertise x.x.x.x:5060

This works perfectly when the machine instance has VIP as public IP.

@Ivo:  record_route_advertised_address() also works in replacing the RR.


Thanks for the help.

Best regards,
MRIDUL

On Wed, Apr 12, 2017 at 5:15 PM, Mridul B  wrote:

> Hi,
>
> Using *advertised_address *core parameter in the kamailio script doesn't
> update the address mentioned in the Record-Route header.
>
> We see this problem in the 200 OK message (of the INVITE msg), where the
> Record-Route header sent by the Kamailio contains socket address.
>
> We're using kamailio 4.4.5 (x86_64/linux) 239f3c
>
> Can you please tell if this core parameter is effective for changing the
> RR header ?
>
> Thanks
> Best regards,
> *MRIDUL*
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RFC: kamailio-announce mailing list

2017-04-13 Thread Tim Makarios

On 12/04/17 00:33, Daniel-Constantin Mierla wrote:

Reply here if you consider it to be useful and eventually give some
suggestions for what kind of announcements should be used.


I don't usually like to stay for a long time on mailing lists with any 
significant volume of traffic, so I'll probably unsubscribe from this 
one sooner or later.  But if I decide to continue using Kamailio (after 
I've finished playing with it and setting it up in my spare time), I'd 
probably appreciate a low-volume mailing list with security announcements.


Cheers,

Tim
<><

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users