Re: [SR-Users] Trying to drop invite 200ok reply in onreply_route

2010-12-13 Thread Daniel-Constantin Mierla
On 12/3/10 4:40 PM, nikita wrote: [...] You will send the BYE before the 200ok is sent to caller, so it will get rejected most probably. To avoid that issue, I have tried to use : onreply_route { #!ifdef WITH_MEDIA_PROXY if (is_method("INVITE")&& status == "200") {

Re: [SR-Users] Trying to drop invite 200ok reply in onreply_route

2010-12-03 Thread nikita
On 03/12/2010 11:44, Daniel-Constantin Mierla wrote: > Hello, > > On 12/2/10 4:15 PM, nikita wrote: >> Hello, >> >> Sorry for the late reply, I was a little busy by something else. >> >> On 30/11/2010 22:24, Daniel-Constantin Mierla wrote: >>> Hello, >>> >>> do you have >>> >>> #!KAMAILIO >>> >>> a

Re: [SR-Users] Trying to drop invite 200ok reply in onreply_route

2010-12-03 Thread Daniel-Constantin Mierla
Hello, On 12/2/10 4:15 PM, nikita wrote: Hello, Sorry for the late reply, I was a little busy by something else. On 30/11/2010 22:24, Daniel-Constantin Mierla wrote: Hello, do you have #!KAMAILIO as first line in config file? This is required only for kamailio 3.0, next versions has the fe

Re: [SR-Users] Trying to drop invite 200ok reply in onreply_route

2010-12-02 Thread nikita
Hello, Sorry for the late reply, I was a little busy by something else. On 30/11/2010 22:24, Daniel-Constantin Mierla wrote: > Hello, > > do you have > > #!KAMAILIO > > as first line in config file? This is required only for kamailio 3.0, > next versions has the feature of dropping replies by def

Re: [SR-Users] Trying to drop invite 200ok reply in onreply_route

2010-11-30 Thread Daniel-Constantin Mierla
Hello, do you have #!KAMAILIO as first line in config file? This is required only for kamailio 3.0, next versions has the feature of dropping replies by default. Cheers, Daniel On 11/26/10 12:55 PM, nikita wrote: Hello, I'm using kamailio 3.0 with mediaproxy and I want to cancel calls if