Re: [SR-Users] Need help in how to read INVITE packet SDP c line IP Address

2014-09-12 Thread Narsay, Deep
Varun, You can use sdpops module. See details for this function: sdp_get_line_startswith(avpvar, string) Sample code: if(sdp_get_line_startswith("$avp(cline)", "c=")) { xlog("connection-line: $avp(cline)\n"); } http://kamailio.org/do

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Narsay, Deep
vi (vim/gvim) or sublime text are more efficient than notepad. (They also have multiple color schemes) . On Thu, Aug 21, 2014 at 10:08 AM, Grant Bagdasarian wrote: > Hello, > > > > What editor do most of you use for editing the kamailio config script? I’m > using notepad, which works fine, but

Re: [SR-Users] SDP ending with CRLF and a=nortpproxy:yes

2014-08-12 Thread Narsay, Deep
gt; wrote: > >> Hello, >> >> use msg_apply_changes() after sdp_remove_line_by_prefix(). >> >> >> Also, you should do record_route() after applying changes. >> >> Cheers, >> Daniel >> >> >> On 12/08/14 17:49, Narsay, Deep wrote: >

Re: [SR-Users] SDP ending with CRLF and a=nortpproxy:yes

2014-08-12 Thread Narsay, Deep
lso, you should do record_route() after applying changes. > > Cheers, > Daniel > > > On 12/08/14 17:49, Narsay, Deep wrote: > > Hello, > > Please let me know if there is any work around for this. > > Details of the issue: > > > kamailio.cfg has this sequenc

[SR-Users] SDP ending with CRLF and a=nortpproxy:yes

2014-08-12 Thread Narsay, Deep
Hello, Please let me know if there is any work around for this. Details of the issue: kamailio.cfg has this sequence in kamailio.cfg, .. modparam("rtpproxy", "ice_candidate_priority_avp", "$avp(ice_priority)" ) sdp_remove_line_by_prefix("a=candidate");

Re: [SR-Users] rtpengine symmetric RTP behavior

2014-08-12 Thread Narsay, Deep
(Was trying to avoid adding it there, since there are quite a lot of dialplans in the database). Thanks, -Deep N On Mon, Aug 11, 2014 at 5:40 PM, Frank Carmickle wrote: > > On Aug 11, 2014, at 5:04 PM, "Narsay, Deep" > wrote: > > > Hello Andreas, > >

Re: [SR-Users] kamctl not creates /tmp/kamailio_fifo file

2014-08-11 Thread Narsay, Deep
As the error says, make sure you have *modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")* in your kamailio.cfg? If yes, check if the FIFO is really present in /tmp. ( file /tmp/kamailio_fifo ). I believe adding FIFOPATH="/tmp/kamailio_fifo" to kamctlrc is optional, since it is the defaul

Re: [SR-Users] rtpengine symmetric RTP behavior

2014-08-11 Thread Narsay, Deep
that will make it symmetric. This rtpengine is daemon only, (not using kernel module). Thank you, - Deep N On Mon, Aug 11, 2014 at 4:43 PM, Andreas Granig wrote: > Hi, > > On 08/11/2014 08:34 PM, Narsay, Deep wrote: > > Is there any way rtpengine can be configured to

[SR-Users] rtpengine symmetric RTP behavior

2014-08-11 Thread Narsay, Deep
Hello, Is there any way rtpengine can be configured to use same UDP port to receive and transmit RTP packets? The set up I'm trying is SIP_Client --> Kamailio/rtpengine --> Freeswitch InternetInternet LAN LAN 192.168.1.10 I tried *rtpengine_offer * in kamailio.