Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-07 Thread Daniel Zanutti
Hi

No, i didn't set it. After set the onreply, it worked fine. I didn't know
that the BYE is a new request internally.

Thanks Bogdan

On Tue, Feb 7, 2017 at 10:37 AM, Bogdan-Andrei Iancu 
wrote:

> Hi,
>
> As the 200OK belongs to the BYE request, are you sure you arm the onreply
> route when handling the _BYE_ request ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 02/07/2017 01:48 PM, Daniel Zanutti wrote:
>
> The sip client is working fine, I can confirm that both BYE and 200 OK are
> flowing through the proxy, the problem is I cannot modify the 200 OK
> message.
>
> I need to modify a header on the 200 OK of the BYE but I cannot since the
> message doesn't pass to internal on_reply_route or main Route inside
> Opensips. It's being routed internally by Opensips directly to the
> destination.
>
> Do you have any idea?
>
> On Tue, Feb 7, 2017 at 5:40 AM, Johan De Clercq  wrote:
>
>> Any chance to have a small capture ?
>> I tend to agree with Robert, if you use rr consistently there should be
>> no problem. It can of course also be that the client does something strange
>> ...
>>
>> 2017-02-06 21:43 GMT+01:00 Daniel Zanutti < 
>> daniel.zanu...@gmail.com>:
>>
>>> Hi Robert
>>>
>>> Yes, all messages are passing through the proxy, but when I receive the
>>> 200 OK of the BYE message, it doesn't go to Main Route or Reply Route. It
>>> just go to the destination and I cannot change anything on it.
>>>
>>> Any idea?
>>>
>>>
>>>
>>> On Mon, Feb 6, 2017 at 6:14 PM, Mundkowsky, Robert <
>>> rmundkow...@ets.org> wrote:
>>>
 Did you use “record_route”?



 For reference:

 http://www.iptel.org/sip/intro/scenarios/rr





 Robert Mundkowsky



 *From:* Users [mailto: 
 users-boun...@lists.opensips.org] *On Behalf Of *Daniel Zanutti
 *Sent:* Monday, February 6, 2017 3:01 PM
 *To:* OpenSIPS users mailling list 
 *Subject:* [OpenSIPS-Users] Change 200 OK of BYE message



 Hi



 I need to change something on the 200 OK of BYE message. Tried
 everything on Opensips but looks like this message doesn't follow standard
 message path. Neither Main Route or Reply route pass this message.



 Is there any way to do it?



 Thanks

 --

 This e-mail and any files transmitted with it may contain privileged or
 confidential information. It is solely for use by the individual for whom
 it is intended, even if addressed incorrectly. If you received this e-mail
 in error, please notify the sender; do not disclose, copy, distribute, or
 take any action in reliance on the contents of this information; and delete
 it from your system. Any other use of this e-mail is prohibited.

 Thank you for your compliance.
 --

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users


>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-07 Thread Bogdan-Andrei Iancu

Hi,

As the 200OK belongs to the BYE request, are you sure you arm the 
onreply route when handling the _BYE_ request ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/07/2017 01:48 PM, Daniel Zanutti wrote:
The sip client is working fine, I can confirm that both BYE and 200 OK 
are flowing through the proxy, the problem is I cannot modify the 200 
OK message.


I need to modify a header on the 200 OK of the BYE but I cannot since 
the message doesn't pass to internal on_reply_route or main Route 
inside Opensips. It's being routed internally by Opensips directly to 
the destination.


Do you have any idea?

On Tue, Feb 7, 2017 at 5:40 AM, Johan De Clercq > wrote:


Any chance to have a small capture ?
I tend to agree with Robert, if you use rr consistently there
should be no problem. It can of course also be that the client
does something strange ...

2017-02-06 21:43 GMT+01:00 Daniel Zanutti
>:

Hi Robert

Yes, all messages are passing through the proxy, but when I
receive the 200 OK of the BYE message, it doesn't go to Main
Route or Reply Route. It just go to the destination and I
cannot change anything on it.

Any idea?



On Mon, Feb 6, 2017 at 6:14 PM, Mundkowsky, Robert
> wrote:

Did you use “record_route”?

For reference:

http://www.iptel.org/sip/intro/scenarios/rr


Robert Mundkowsky

*From:*Users [mailto:users-boun...@lists.opensips.org
] *On Behalf Of
*Daniel Zanutti
*Sent:* Monday, February 6, 2017 3:01 PM
*To:* OpenSIPS users mailling list
>
*Subject:* [OpenSIPS-Users] Change 200 OK of BYE message

Hi

I need to change something on the 200 OK of BYE message.
Tried everything on Opensips but looks like this message
doesn't follow standard message path. Neither Main Route
or Reply route pass this message.

Is there any way to do it?

Thanks





This e-mail and any files transmitted with it may contain
privileged or confidential information. It is solely for
use by the individual for whom it is intended, even if
addressed incorrectly. If you received this e-mail in
error, please notify the sender; do not disclose, copy,
distribute, or take any action in reliance on the contents
of this information; and delete it from your system. Any
other use of this e-mail is prohibited.


Thank you for your compliance.




___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-07 Thread Daniel Zanutti
The sip client is working fine, I can confirm that both BYE and 200 OK are
flowing through the proxy, the problem is I cannot modify the 200 OK
message.

I need to modify a header on the 200 OK of the BYE but I cannot since the
message doesn't pass to internal on_reply_route or main Route inside
Opensips. It's being routed internally by Opensips directly to the
destination.

Do you have any idea?

On Tue, Feb 7, 2017 at 5:40 AM, Johan De Clercq  wrote:

> Any chance to have a small capture ?
> I tend to agree with Robert, if you use rr consistently there should be no
> problem. It can of course also be that the client does something strange
> ...
>
> 2017-02-06 21:43 GMT+01:00 Daniel Zanutti :
>
>> Hi Robert
>>
>> Yes, all messages are passing through the proxy, but when I receive the
>> 200 OK of the BYE message, it doesn't go to Main Route or Reply Route. It
>> just go to the destination and I cannot change anything on it.
>>
>> Any idea?
>>
>>
>>
>> On Mon, Feb 6, 2017 at 6:14 PM, Mundkowsky, Robert 
>> wrote:
>>
>>> Did you use “record_route”?
>>>
>>>
>>>
>>> For reference:
>>>
>>> http://www.iptel.org/sip/intro/scenarios/rr
>>>
>>>
>>>
>>>
>>>
>>> Robert Mundkowsky
>>>
>>>
>>>
>>> *From:* Users [mailto:users-boun...@lists.opensips.org] *On Behalf Of 
>>> *Daniel
>>> Zanutti
>>> *Sent:* Monday, February 6, 2017 3:01 PM
>>> *To:* OpenSIPS users mailling list 
>>> *Subject:* [OpenSIPS-Users] Change 200 OK of BYE message
>>>
>>>
>>>
>>> Hi
>>>
>>>
>>>
>>> I need to change something on the 200 OK of BYE message. Tried
>>> everything on Opensips but looks like this message doesn't follow standard
>>> message path. Neither Main Route or Reply route pass this message.
>>>
>>>
>>>
>>> Is there any way to do it?
>>>
>>>
>>>
>>> Thanks
>>>
>>> --
>>>
>>> This e-mail and any files transmitted with it may contain privileged or
>>> confidential information. It is solely for use by the individual for whom
>>> it is intended, even if addressed incorrectly. If you received this e-mail
>>> in error, please notify the sender; do not disclose, copy, distribute, or
>>> take any action in reliance on the contents of this information; and delete
>>> it from your system. Any other use of this e-mail is prohibited.
>>>
>>> Thank you for your compliance.
>>> --
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-06 Thread Johan De Clercq
Any chance to have a small capture ?
I tend to agree with Robert, if you use rr consistently there should be no
problem. It can of course also be that the client does something strange
...

2017-02-06 21:43 GMT+01:00 Daniel Zanutti :

> Hi Robert
>
> Yes, all messages are passing through the proxy, but when I receive the
> 200 OK of the BYE message, it doesn't go to Main Route or Reply Route. It
> just go to the destination and I cannot change anything on it.
>
> Any idea?
>
>
>
> On Mon, Feb 6, 2017 at 6:14 PM, Mundkowsky, Robert 
> wrote:
>
>> Did you use “record_route”?
>>
>>
>>
>> For reference:
>>
>> http://www.iptel.org/sip/intro/scenarios/rr
>>
>>
>>
>>
>>
>> Robert Mundkowsky
>>
>>
>>
>> *From:* Users [mailto:users-boun...@lists.opensips.org] *On Behalf Of *Daniel
>> Zanutti
>> *Sent:* Monday, February 6, 2017 3:01 PM
>> *To:* OpenSIPS users mailling list 
>> *Subject:* [OpenSIPS-Users] Change 200 OK of BYE message
>>
>>
>>
>> Hi
>>
>>
>>
>> I need to change something on the 200 OK of BYE message. Tried everything
>> on Opensips but looks like this message doesn't follow standard message
>> path. Neither Main Route or Reply route pass this message.
>>
>>
>>
>> Is there any way to do it?
>>
>>
>>
>> Thanks
>>
>> --
>>
>> This e-mail and any files transmitted with it may contain privileged or
>> confidential information. It is solely for use by the individual for whom
>> it is intended, even if addressed incorrectly. If you received this e-mail
>> in error, please notify the sender; do not disclose, copy, distribute, or
>> take any action in reliance on the contents of this information; and delete
>> it from your system. Any other use of this e-mail is prohibited.
>>
>> Thank you for your compliance.
>> --
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-06 Thread Mundkowsky, Robert
I am really new to OpenSIPS and SIPS routing, so your question is beyond me 
now. ☹

I am guessing your SIP client is a miss behaving client.  If OpenSIPS is acting 
as a proxy, I think there might be a way to hide the backend topology, so that 
client has no way to know how to send messages without going thru OpenSIPS.


Robert Mundkowsky

From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Daniel 
Zanutti
Sent: Monday, February 6, 2017 3:44 PM
To: OpenSIPS users mailling list <users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Change 200 OK of BYE message

Hi Robert

Yes, all messages are passing through the proxy, but when I receive the 200 OK 
of the BYE message, it doesn't go to Main Route or Reply Route. It just go to 
the destination and I cannot change anything on it.

Any idea?



On Mon, Feb 6, 2017 at 6:14 PM, Mundkowsky, Robert 
<rmundkow...@ets.org<mailto:rmundkow...@ets.org>> wrote:
Did you use “record_route”?

For reference:
http://www.iptel.org/sip/intro/scenarios/rr


Robert Mundkowsky

From: Users 
[mailto:users-boun...@lists.opensips.org<mailto:users-boun...@lists.opensips.org>]
 On Behalf Of Daniel Zanutti
Sent: Monday, February 6, 2017 3:01 PM
To: OpenSIPS users mailling list 
<users@lists.opensips.org<mailto:users@lists.opensips.org>>
Subject: [OpenSIPS-Users] Change 200 OK of BYE message

Hi

I need to change something on the 200 OK of BYE message. Tried everything on 
Opensips but looks like this message doesn't follow standard message path. 
Neither Main Route or Reply route pass this message.

Is there any way to do it?

Thanks



This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom it is 
intended, even if addressed incorrectly. If you received this e-mail in error, 
please notify the sender; do not disclose, copy, distribute, or take any action 
in reliance on the contents of this information; and delete it from your 
system. Any other use of this e-mail is prohibited.


Thank you for your compliance.



___
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom it is 
intended, even if addressed incorrectly. If you received this e-mail in error, 
please notify the sender; do not disclose, copy, distribute, or take any action 
in reliance on the contents of this information; and delete it from your 
system. Any other use of this e-mail is prohibited.


Thank you for your compliance.


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-06 Thread Daniel Zanutti
Hi Robert

Yes, all messages are passing through the proxy, but when I receive the 200
OK of the BYE message, it doesn't go to Main Route or Reply Route. It just
go to the destination and I cannot change anything on it.

Any idea?



On Mon, Feb 6, 2017 at 6:14 PM, Mundkowsky, Robert 
wrote:

> Did you use “record_route”?
>
>
>
> For reference:
>
> http://www.iptel.org/sip/intro/scenarios/rr
>
>
>
>
>
> Robert Mundkowsky
>
>
>
> *From:* Users [mailto:users-boun...@lists.opensips.org] *On Behalf Of *Daniel
> Zanutti
> *Sent:* Monday, February 6, 2017 3:01 PM
> *To:* OpenSIPS users mailling list 
> *Subject:* [OpenSIPS-Users] Change 200 OK of BYE message
>
>
>
> Hi
>
>
>
> I need to change something on the 200 OK of BYE message. Tried everything
> on Opensips but looks like this message doesn't follow standard message
> path. Neither Main Route or Reply route pass this message.
>
>
>
> Is there any way to do it?
>
>
>
> Thanks
>
> --
>
> This e-mail and any files transmitted with it may contain privileged or
> confidential information. It is solely for use by the individual for whom
> it is intended, even if addressed incorrectly. If you received this e-mail
> in error, please notify the sender; do not disclose, copy, distribute, or
> take any action in reliance on the contents of this information; and delete
> it from your system. Any other use of this e-mail is prohibited.
>
> Thank you for your compliance.
> --
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Change 200 OK of BYE message

2017-02-06 Thread Mundkowsky, Robert
Did you use “record_route”?

For reference:
http://www.iptel.org/sip/intro/scenarios/rr


Robert Mundkowsky

From: Users [mailto:users-boun...@lists.opensips.org] On Behalf Of Daniel 
Zanutti
Sent: Monday, February 6, 2017 3:01 PM
To: OpenSIPS users mailling list 
Subject: [OpenSIPS-Users] Change 200 OK of BYE message

Hi

I need to change something on the 200 OK of BYE message. Tried everything on 
Opensips but looks like this message doesn't follow standard message path. 
Neither Main Route or Reply route pass this message.

Is there any way to do it?

Thanks



This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom it is 
intended, even if addressed incorrectly. If you received this e-mail in error, 
please notify the sender; do not disclose, copy, distribute, or take any action 
in reliance on the contents of this information; and delete it from your 
system. Any other use of this e-mail is prohibited.


Thank you for your compliance.


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users