Tnhxtx Regards, Toufic Mobarak
> On Dec 15, 2018, at 6:00 AM, sr-users-requ...@lists.kamailio.org wrote: > > Send sr-users mailing list submissions to > sr-users@lists.kamailio.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > or, via email, send a message with subject or body 'help' to > sr-users-requ...@lists.kamailio.org > > You can reach the person managing the list at > sr-users-ow...@lists.kamailio.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of sr-users digest..." > > > Today's Topics: > > 1. Re: Routing of Audio and Video Stream. (Daniel-Constantin Mierla) > 2. Problem with selection Transport Protocol - MultiHomed > Problem (YAS0 CANER) > 3. Re: Problem with selection Transport Protocol - MultiHomed > Problem (YAS0 CANER) > 4. Re: Routing of Audio and Video Stream. (Sergiu Pojoga) > 5. Re: Problem with selection Transport Protocol - MultiHomed > Problem (Daniel-Constantin Mierla) > 6. Issue on kamailio 4.1.9 of database reconnection (Emmanuel BUU) > 7. Re: Routing of Audio and Video Stream. (Abhijit Dutta) > 8. Re: Routing of Audio and Video Stream. (Abhijit Dutta) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 14 Dec 2018 12:54:44 +0100 > From: Daniel-Constantin Mierla <mico...@gmail.com> > To: "Kamailio (SER) - Users Mailing List" > <sr-users@lists.kamailio.org>, Abhijit Dutta <dut...@hotmail.com> > Subject: Re: [SR-Users] Routing of Audio and Video Stream. > Message-ID: <26c51f12-5242-4794-5124-f37bc523c...@gmail.com> > Content-Type: text/plain; charset="windows-1252" > > Hello, > > > I guess you still need to send the INVITE to Asterisk, right? > > > Cheers, > Daniel > > >> On 14.12.18 11:15, Abhijit Dutta wrote: >> Hi All, >> >> Is it possible to redirect only the audio stream towards Asterisk from >> Kamailio (Proxy) via RTPEngine and not to send the video stream to >> Asterisk. I am yet to get the complete reason why my client wants this >> to happen though. >> >> Thanks >> Abhijit >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla -- www.asipto.com > www.twitter.com/miconda -- www.linkedin.com/in/miconda > Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com > Kamailio Advanced Training -- www.asipto.com > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181214/6a31b141/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Fri, 14 Dec 2018 13:27:46 +0000 > From: YAS0 CANER <caner_y...@hotmail.com> > To: "Kamailio (SER) - Users Mailing List" > <sr-users@lists.kamailio.org> > Subject: [SR-Users] Problem with selection Transport Protocol - > MultiHomed Problem > Message-ID: > > <vi1pr0401mb244679d866d9b8c0ab89caefef...@vi1pr0401mb2446.eurprd04.prod.outlook.com> > > Content-Type: text/plain; charset="iso-8859-1" > > Hello , > i have trouble about selection transport protocol. i have tried so many > thing but couldnt find TM selected which IPv? and protocol type (TCP or UDP) > > > For example; > i have 2 interface ipv6 and ipv4. i will route my message (INVITE-Register > etc.) another node that use TCP and IPV6 , domain name is test1.test. TM > module or some module resolve this domain to IPV6:UDP but i want to sent it > over IPV6:TCP socket. so i cannot know which protocol is resolved and cannot > route the right socket. > > $du variable show only sip:a...@test1.test > > Conclusion : There isn't any pseudo value about which destination of IP > version will use. > > > Thanks > > > Flow: > > UAC (IPv4:UDP) ----------> Kamailio (MultiHomed) ----> (TCP:IPv6)Kamailio > > ---- > Kamailo (multiHomed ) cfg > ------ > auto_bind_ipv6=1 > dns_try_ipv6=yes > dns_retr_time=1 > dns_retr_no=1 > dns_cache_flags=4 > mhomed=1 > fork=yes > tcp_source_ipv6 = [fd61:c23c:b3b6::5] > listen=tcp:[fd61:c23c:b3b2::5]:5060 > listen=udp:[fd61:c23c:b3b2::5]:5060 > listen=udp:192.168.1.107:5060 > listen=tcp:192.168.1.107:5060 > > > route []{ > > if($dP=="TCP"){ > xlog("L_INFO","[route] [TCP] 1\n"); > if (!t_relay_to_tcp()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > } else if($dP=="TCP"){ > xlog("L_INFO","[route] [TCP] 2\n"); > if (!t_relay_to_tcp()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > }else if($dP=="UDP"){ > xlog("L_INFO","[route] [UDP] 1\n"); > if (!t_relay_to_udp()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > }else{ > xlog("L_INFO","[route] [??] 1\n"); > if (!t_relay()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > } > } > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181214/a0f9214d/attachment-0001.html> > > ------------------------------ > > Message: 3 > Date: Fri, 14 Dec 2018 13:35:07 +0000 > From: YAS0 CANER <caner_y...@hotmail.com> > To: "Kamailio (SER) - Users Mailing List" > <sr-users@lists.kamailio.org> > Subject: Re: [SR-Users] Problem with selection Transport Protocol - > MultiHomed Problem > Message-ID: > > <vi1pr0401mb2446399d76b7860935337045ef...@vi1pr0401mb2446.eurprd04.prod.outlook.com> > > Content-Type: text/plain; charset="iso-8859-1" > > Hello; > > i want to force message to send over TCP and IPv6 . so it should be R/W > variable. When i set $fs or force_send_socket() it gives error about mismatch > protocol ! > > Thanks. > > Yasin CANER > ________________________________ > From: sr-users <sr-users-boun...@lists.kamailio.org> on behalf of YAS0 CANER > <caner_y...@hotmail.com> > Sent: Friday, December 14, 2018 4:27 PM > To: Kamailio (SER) - Users Mailing List > Subject: [SR-Users] Problem with selection Transport Protocol - MultiHomed > Problem > > Hello , > i have trouble about selection transport protocol. i have tried so many > thing but couldnt find TM selected which IPv? and protocol type (TCP or UDP) > > > For example; > i have 2 interface ipv6 and ipv4. i will route my message (INVITE-Register > etc.) another node that use TCP and IPV6 , domain name is test1.test. TM > module or some module resolve this domain to IPV6:UDP but i want to sent it > over IPV6:TCP socket. so i cannot know which protocol is resolved and cannot > route the right socket. > > $du variable show only sip:a...@test1.test > > Conclusion : There isn't any pseudo value about which destination of IP > version will use. > > > Thanks > > > Flow: > > UAC (IPv4:UDP) ----------> Kamailio (MultiHomed) ----> (TCP:IPv6)Kamailio > > ---- > Kamailo (multiHomed ) cfg > ------ > auto_bind_ipv6=1 > dns_try_ipv6=yes > dns_retr_time=1 > dns_retr_no=1 > dns_cache_flags=4 > mhomed=1 > fork=yes > tcp_source_ipv6 = [fd61:c23c:b3b6::5] > listen=tcp:[fd61:c23c:b3b2::5]:5060 > listen=udp:[fd61:c23c:b3b2::5]:5060 > listen=udp:192.168.1.107:5060 > listen=tcp:192.168.1.107:5060 > > > route []{ > > if($dP=="TCP"){ > xlog("L_INFO","[route] [TCP] 1\n"); > if (!t_relay_to_tcp()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > } else if($dP=="TCP"){ > xlog("L_INFO","[route] [TCP] 2\n"); > if (!t_relay_to_tcp()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > }else if($dP=="UDP"){ > xlog("L_INFO","[route] [UDP] 1\n"); > if (!t_relay_to_udp()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > }else{ > xlog("L_INFO","[route] [??] 1\n"); > if (!t_relay()) { > xlog("L_ERR", "Error t_relay [route] \n"); > t_reply("500","Server - ERROR "); > exit; > } > } > } > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181214/b0af8dea/attachment-0001.html> > > ------------------------------ > > Message: 4 > Date: Fri, 14 Dec 2018 08:53:27 -0500 > From: Sergiu Pojoga <pojo...@gmail.com> > To: "Kamailio (SER) - Users Mailing List" > <sr-users@lists.kamailio.org> > Subject: Re: [SR-Users] Routing of Audio and Video Stream. > Message-ID: > <cajzsgck1m3aumujk-+tnwot18qv1od4tm5-b6qyhxffvdnl...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > sdp_remove_media("video"); > > https://kamailio.org/docs/modules/5.1.x/modules/sdpops.html#sdpops.f.sdp_remove_media > > On Fri, Dec 14, 2018 at 6:55 AM Daniel-Constantin Mierla <mico...@gmail.com> > wrote: > >> Hello, >> >> >> I guess you still need to send the INVITE to Asterisk, right? >> >> >> Cheers, >> Daniel >> >> >> On 14.12.18 11:15, Abhijit Dutta wrote: >> >> Hi All, >> >> Is it possible to redirect only the audio stream towards Asterisk from >> Kamailio (Proxy) via RTPEngine and not to send the video stream to >> Asterisk. I am yet to get the complete reason why my client wants this to >> happen though. >> >> Thanks >> Abhijit >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing >> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >> -- >> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- >> www.linkedin.com/in/miconda >> Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com >> Kamailio Advanced Training -- www.asipto.com >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181214/8b6fd041/attachment-0001.html> > > ------------------------------ > > Message: 5 > Date: Fri, 14 Dec 2018 15:08:14 +0100 > From: Daniel-Constantin Mierla <mico...@gmail.com> > To: "Kamailio (SER) - Users Mailing List" > <sr-users@lists.kamailio.org>, YAS0 CANER <caner_y...@hotmail.com> > Subject: Re: [SR-Users] Problem with selection Transport Protocol - > MultiHomed Problem > Message-ID: <54f11683-128b-7385-1e12-0ac04d5a4...@gmail.com> > Content-Type: text/plain; charset="windows-1252" > > Hello, > > > is there any naptr or srv dns record behind test1.test domain? Or just > A/CNAME record? > > > Cheers, > Daniel > > >> On 14.12.18 14:35, YAS0 CANER wrote: >> Hello; >> >> i want to force message to send over TCP and IPv6 . so it should be >> R/W variable. When i set $fs or force_send_socket() it gives error >> about mismatch protocol ! >> >> Thanks. >> >> Yasin CANER >> ------------------------------------------------------------------------ >> *From:* sr-users <sr-users-boun...@lists.kamailio.org> on behalf of >> YAS0 CANER <caner_y...@hotmail.com> >> *Sent:* Friday, December 14, 2018 4:27 PM >> *To:* Kamailio (SER) - Users Mailing List >> *Subject:* [SR-Users] Problem with selection Transport Protocol - >> MultiHomed Problem >> >> Hello , >> i have trouble about selection transport protocol. i have tried so >> many thing but couldnt find TM selected which IPv? and protocol type >> (TCP or UDP) >> >> >> For example; >> i have 2 interface ipv6 and ipv4. i will route my message >> (INVITE-Register etc.) another node that use TCP and IPV6 , domain >> name is test1.test. TM module or some module resolve this domain to >> IPV6:UDP but i want to sent it over IPV6:TCP socket. so i cannot >> know which protocol is resolved and cannot route the right socket. >> >> $du variable show only sip:a...@test1.test >> >> Conclusion : There isn't any pseudo value about which _destination of >> IP version_ will use. >> >> >> Thanks >> >> >> Flow: >> >> UAC (IPv4:UDP) ----------> Kamailio (MultiHomed) ----> >> (TCP:IPv6)Kamailio >> >> ---- >> Kamailo (multiHomed ) cfg >> ------ >> auto_bind_ipv6=1 >> dns_try_ipv6=yes >> dns_retr_time=1 >> dns_retr_no=1 >> dns_cache_flags=4 >> mhomed=1 >> fork=yes >> tcp_source_ipv6 = [fd61:c23c:b3b6::5] >> listen=tcp:[fd61:c23c:b3b2::5]:5060 >> listen=udp:[fd61:c23c:b3b2::5]:5060 >> listen=udp:192.168.1.107:5060 >> listen=tcp:192.168.1.107:5060 >> >> >> route []{ >> >> if($dP=="TCP"){ >> xlog("L_INFO","[route] [TCP] 1\n"); >> if (!t_relay_to_tcp()) { >> xlog("L_ERR", "Error t_relay [route] \n"); >> t_reply("500","Server - ERROR "); >> exit; >> } >> } else if($dP=="TCP"){ >> xlog("L_INFO","[route] [TCP] 2\n"); >> if (!t_relay_to_tcp()) { >> xlog("L_ERR", "Error t_relay [route] \n"); >> t_reply("500","Server - ERROR "); >> exit; >> } >> }else if($dP=="UDP"){ >> xlog("L_INFO","[route] [UDP] 1\n"); >> if (!t_relay_to_udp()) { >> xlog("L_ERR", "Error t_relay [route] \n"); >> t_reply("500","Server - ERROR "); >> exit; >> } >> }else{ >> xlog("L_INFO","[route] [??] 1\n"); >> if (!t_relay()) { >> xlog("L_ERR", "Error t_relay [route] \n"); >> t_reply("500","Server - ERROR "); >> exit; >> } >> } >> } >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla -- www.asipto.com > www.twitter.com/miconda -- www.linkedin.com/in/miconda > Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com > Kamailio Advanced Training -- www.asipto.com > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181214/a8e0f3de/attachment-0001.html> > > ------------------------------ > > Message: 6 > Date: Fri, 14 Dec 2018 18:18:48 +0100 > From: Emmanuel BUU <emmanuel....@ives.fr> > To: sr-users@lists.kamailio.org > Subject: [SR-Users] Issue on kamailio 4.1.9 of database reconnection > Message-ID: <51fb634a-011f-3d5b-6a91-e4450e340...@ives.fr> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Hi to the community, > > We are starting to use database clusters and would like improve the > availability of our kamailio server. > > We are curretly running kamailio 4.1.9 and we noticed that if we reboot > the database server, kamailio takes a llloong time to reconnect the > mysql connection > > and during this time, we fail to register. We see a lot of TCP > connections in status CLOSING. > > After a while, we see things going back to normal (> 30 min) but this is > too long. Can someone give us advice ? > > Has this issue been fixed in newer versions > > On kamalio side we're using mysql clients > > mysql-libs.x86_64 5.1.73-8.el6_8 > > We have set the following parameters: > > modparam("db_mysql", "timeout_interval", 5) > modparam("db_mysql", "ping_interval", 60) > modparam("db_mysql", "auto_reconnect", 1) > > Emmanuel > > > > > ------------------------------ > > Message: 7 > Date: Sat, 15 Dec 2018 07:08:10 +0000 > From: Abhijit Dutta <dut...@hotmail.com> > To: "Kamailio (SER) - Users Mailing List" > <sr-users@lists.kamailio.org>, "mico...@gmail.com" <mico...@gmail.com> > Subject: Re: [SR-Users] Routing of Audio and Video Stream. > Message-ID: > > <cy1pr10mb0618603e7b3883357ebf1f32de...@cy1pr10mb0618.namprd10.prod.outlook.com> > > Content-Type: text/plain; charset="iso-8859-1" > > Hi Daniel, > > Its a pleasure and honour to get a response from you!! Thanks. > > Yes, Invite will go to Asterisk and below is the proposal - > > 1. Audio stream routed via Asterisk (this is currently done, so keep it as > is) > 2. Video stream routed by Kamailio (RTPEngine) - do not pass it to Asterisk. > > If this is possible, then what changes we need in Kamailio side. > > Thanks > Abhijit > ________________________________ > From: Daniel-Constantin Mierla <mico...@gmail.com> > Sent: Friday, December 14, 2018 11:54 AM > To: Kamailio (SER) - Users Mailing List; Abhijit Dutta > Subject: Re: [SR-Users] Routing of Audio and Video Stream. > > > Hello, > > > I guess you still need to send the INVITE to Asterisk, right? > > > Cheers, > Daniel > > > On 14.12.18 11:15, Abhijit Dutta wrote: > Hi All, > > Is it possible to redirect only the audio stream towards Asterisk from > Kamailio (Proxy) via RTPEngine and not to send the video stream to Asterisk. > I am yet to get the complete reason why my client wants this to happen though. > > Thanks > Abhijit > > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > -- > Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com> > www.twitter.com/miconda<http://www.twitter.com/miconda> -- > www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda> > Kamailio World Conference - May 6-8, 2019 -- > www.kamailioworld.com<http://www.kamailioworld.com> > Kamailio Advanced Training -- www.asipto.com<http://www.asipto.com> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181215/36df8efe/attachment-0001.html> > > ------------------------------ > > Message: 8 > Date: Sat, 15 Dec 2018 07:24:46 +0000 > From: Abhijit Dutta <dut...@hotmail.com> > To: Sergiu Pojoga <pojo...@gmail.com>, "Kamailio (SER) - Users Mailing > List" <sr-users@lists.kamailio.org> > Subject: Re: [SR-Users] Routing of Audio and Video Stream. > Message-ID: > > <cy1pr10mb06181fac3006e635184d2192de...@cy1pr10mb0618.namprd10.prod.outlook.com> > > Content-Type: text/plain; charset="iso-8859-1" > > Hi Sergiu, > > Thank you for your help. > > If we remove the video m line, I have a doubt if the video stream will still > get routed to destination (from Kamailio-RTPEngine). I do not want the video > to be droped from the call. I am learning how to use Kamailio, so excuse me > for my limited knowledge of the system. > > Thanks > Abhijit > > ________________________________ > From: sr-users <sr-users-boun...@lists.kamailio.org> on behalf of Sergiu > Pojoga <pojo...@gmail.com> > Sent: Friday, December 14, 2018 1:53 PM > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] Routing of Audio and Video Stream. > > sdp_remove_media("video"); > > https://kamailio.org/docs/modules/5.1.x/modules/sdpops.html#sdpops.f.sdp_remove_media > > On Fri, Dec 14, 2018 at 6:55 AM Daniel-Constantin Mierla > <mico...@gmail.com<mailto:mico...@gmail.com>> wrote: > > Hello, > > > I guess you still need to send the INVITE to Asterisk, right? > > > Cheers, > Daniel > > > On 14.12.18 11:15, Abhijit Dutta wrote: > Hi All, > > Is it possible to redirect only the audio stream towards Asterisk from > Kamailio (Proxy) via RTPEngine and not to send the video stream to Asterisk. > I am yet to get the complete reason why my client wants this to happen though. > > Thanks > Abhijit > > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > -- > Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com> > www.twitter.com/miconda<http://www.twitter.com/miconda> -- > www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda> > Kamailio World Conference - May 6-8, 2019 -- > www.kamailioworld.com<http://www.kamailioworld.com> > Kamailio Advanced Training -- www.asipto.com<http://www.asipto.com> > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.kamailio.org/pipermail/sr-users/attachments/20181215/5da08ab4/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > sr-users mailing list > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > ------------------------------ > > End of sr-users Digest, Vol 163, Issue 15 > ***************************************** _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users