Re: [SR-Users] sdpops command not working

2012-05-17 Thread Grégoire Vandendeurpel
Hi, I resolved my issue. Bye 2012/5/17 Grégoire Vandendeurpel > Hello again, > > I have a new question for you: > > In my final project, I have to simulate the public and private network , > that's why I use 2 different subnet ! > > On my servers machine I have kamailio 3.2.3 in realtime with As

Re: [SR-Users] sdpops command not working

2012-05-17 Thread Grégoire Vandendeurpel
Hello again, I have a new question for you: In my final project, I have to simulate the public and private network , that's why I use 2 different subnet ! On my servers machine I have kamailio 3.2.3 in realtime with Asterisk ! The subnet of asterisk and kamailio is 192.168.1.9 255.255.255.0 , a

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Thanks for all your explanations 2012/5/15 Reda Aouad > You can't. > > Siremis is a management and reporting interface. > You can't implement script routing logic using Siremis. > > Reda > > > > On Tue, May 15, 2012 at 4:34 PM, Grégoire Vandendeurpel < > g.vandendeur...@gmail.com> wrote: > >>

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
You can't. Siremis is a management and reporting interface. You can't implement script routing logic using Siremis. Reda On Tue, May 15, 2012 at 4:34 PM, Grégoire Vandendeurpel < g.vandendeur...@gmail.com> wrote: > Hello, Working perfectly, thank you. > > I have a last question which is impor

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, Working perfectly, thank you. I have a last question which is important to for my final project: How is it possible to use these commands from sdpops module in SIREMIS? like: in the acl menu of ser in siremis, add a new form in which we can manage like I said codecs or media .. from a doma

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Thank you very much, I'll test it , next step I'll check for the media best regards 2012/5/15 Reda Aouad > You can check on domain or IP which you can find in the following pseudo > variables > > $rd: RURI domain > $fd: FROM domain > $td: TO domain > $ad: AUTH domain > $si: source IP @ of messa

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
You can check on domain or IP which you can find in the following pseudo variables $rd: RURI domain $fd: FROM domain $td: TO domain $ad: AUTH domain $si: source IP @ of message example : if ($si == "1.2.3.4") { sdp_remove_codec ( ... ); } You can find the complete list of pseudo variables h

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, I should test the dev version , yeah, but I have an other question before that, about sdpops: Is it possible to remove codecs ( yeah working well on 3.2 ) but specifically from an domain or IP .. ? And how? Thanks in advance Best regards 2012/5/15 Reda Aouad > Can't help anymore on t

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
Can't help anymore on this. But if you're short on time and need a dirty solution, try the following functions from textops module: replace_body_allORsubst_body Match the line "m=type..." using a grep expression and replace it with and empty string. I do that to remove lines from SDP bod

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, I already compiled sdpops in 3.2. I tried an other command like sdp_remove_codecs_by_id and this one is working well on the 3.2 version of kamailio! I think, the problem is specifically from the remove media command. Any suggestion? Best regards 2012/5/15 Reda Aouad > Hi, > > You can M

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
Hi, You can MAY BE copy take the sdpops module from dev version and compile it with 3.2. Not sure it would work though. However, it should be easy to install the entire dev version, just as you did with 3.2.3. Reda On Tue, May 15, 2012 at 1:15 PM, Grégoire Vandendeurpel < g.vandendeur...@gmail

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Grégoire Vandendeurpel
Hello, Thanks for your answer, is there an other way to use it with the 3.2.3 version of Kamailio? Cause I'm doing my final project of my bachloor, and I really need to use it for. Is it possible to change something in the code or.. to make it working well with my version? Best regards 2012/5/1

Re: [SR-Users] sdpops command not working

2012-05-15 Thread Reda Aouad
Hi, This function is available in Kamailio 3.3 (currently in dev stage) and not 3.2. Reda On Tue, May 15, 2012 at 11:49 AM, Grégoire Vandendeurpel < g.vandendeur...@gmail.com> wrote: > Hello, > > I use Kamailio 3.2.3 and I used the command from the sdpops module " > sdp_remove_media("video");