OK message inspection inside the dialog

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OK message inspection inside the dialog

Maciej Bylica
Hello,

I have a problem to verify and change headers in OK message that Opensips is receiving within the dialog by using insert_hf and search functions.
The problem is not with these functions but to catch OK that is a part of the sip dialog.
Any changes are applied to INVITE unfortunately.

Is there any way to get into 180/183/200 messages?

Thanks,
Mac





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: OK message inspection inside the dialog

shaheryarkh
In reply_route where all replies from endpoints are receive, you should be able to filter your desired replies and do whatever you want to do with them. It should always work, that's what reply_route is designed to do...!

Thank you.


On Sat, Jul 13, 2013 at 9:33 PM, Maciej Bylica <[hidden email]> wrote:
Hello,

I have a problem to verify and change headers in OK message that Opensips is receiving within the dialog by using insert_hf and search functions.
The problem is not with these functions but to catch OK that is a part of the sip dialog.
Any changes are applied to INVITE unfortunately.

Is there any way to get into 180/183/200 messages?

Thanks,
Mac





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: OK message inspection inside the dialog

Maciej Bylica
Thanks Muhammad,

My t_on_reply pointed to wrong onreply_route, that was the problem.
Again thank you for advice, so i can get back to that part of my script.

Mac.


2013/7/14 Muhammad Shahzad <[hidden email]>
In reply_route where all replies from endpoints are receive, you should be able to filter your desired replies and do whatever you want to do with them. It should always work, that's what reply_route is designed to do...!

Thank you.


On Sat, Jul 13, 2013 at 9:33 PM, Maciej Bylica <[hidden email]> wrote:
Hello,

I have a problem to verify and change headers in OK message that Opensips is receiving within the dialog by using insert_hf and search functions.
The problem is not with these functions but to catch OK that is a part of the sip dialog.
Any changes are applied to INVITE unfortunately.

Is there any way to get into 180/183/200 messages?

Thanks,
Mac





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B49%20176%2099%2083%2010%2085" value="+4917699831085" target="_blank">+49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users