Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client
But issue only on this server. My other servers working fine. Why my router not changing contacts of other servers? I have many opensips but only issue with this single server :( one thing i notice, other opensips in different data center. Do you think ISP can do ALG? On Thu, Apr 9, 2015 at 10:39 AM, Newlin, Ben ben.new...@inin.com wrote: Something in between is manipulating the addressing in the SIP message. You said that ALG was disabled in the router, but either that is incorrect or there is some other piece of equipment changing the message. This is clear because the contact is not the only header that is changed. The ‘received’ parameter of the Via address was also changed from the public address of the UA to the private address. Only an entity within the private network could know that address, so it is almost certainly the router doing it. Ben Newlin *From:* users-boun...@lists.opensips.org [mailto: users-boun...@lists.opensips.org] *On Behalf Of *Satish Patel *Sent:* Thursday, April 09, 2015 10:13 AM *To:* OpenSIPS users mailling list *Subject:* Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895 IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 . CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. ___ 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] URGENT: contact header changed between opensips and client
Something in between is manipulating the addressing in the SIP message. You said that ALG was disabled in the router, but either that is incorrect or there is some other piece of equipment changing the message. This is clear because the contact is not the only header that is changed. The ‘received’ parameter of the Via address was also changed from the public address of the UA to the private address. Only an entity within the private network could know that address, so it is almost certainly the router doing it. Ben Newlin From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Satish Patel Sent: Thursday, April 09, 2015 10:13 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.commailto:satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895http://192.168.1.9:60895/ IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93. CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client
Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152; branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv. 3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895 IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152; branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv. 3C82QrrsrrdUV;did=3fd.556edf93. CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Memory leak issue?
Hi Chen-Che, It is best to start off with a quick tutorial. Here you can learn how the Linux kernel manages your RAM (~ 2 minutes): [1] I've inspected your OpenSIPS memory maps, and they both look OK. For the record, OpenSIPS will _never_ use more RAM than you give it at startup: total opensips memory = (-m * 1) + (-M * children) + extra_library_allocations Conclusions: * if OpenSIPS should run out of memory because of a leak, it would _stop_ working. However, your system would still be fine * to inspect system memory, use free -m, not top [1] http://www.linuxatemyram.com/ Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 09.04.2015 09:09, microx wrote: Hi all, I'm using OpenSIPS version 1.9.2 to set up a SIP outbound proxy and two internal SIP servers in my testing environment. All SIP requests and responses follow the same following routes. SIP client -- SIP outbound proxy -- SIP server -- SIP outbound proxy -- SIP clients With some stress tests in several days (many SIP client continue registration), I find that OpenSIPS eats much more memory than what I configuration. The eaten memory is not released after more than several hour after the stress test is done. Following the official troubleshooting guide about memory issue, I try to identify whether this is a memory leak issue. Please kindly help to take a look at the attached log files. Besides, is it possible that my incorrect configuration leads to memory leak? I am afraid that I do not properly write the script to produce the memory leak issue. Many thanks for any comment. opensips_memory_leak_sipserver.gz http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7596394/opensips_memory_leak_sipserver.gz opensips_memory_leak_sipoutbound.gz http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7596394/opensips_memory_leak_sipoutbound.gz Best regards, Chen-Che -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Memory-leak-issue-tp7596394.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ 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
[OpenSIPS-Users] Memory leak issue?
Hi all, I'm using OpenSIPS version 1.9.2 to set up a SIP outbound proxy and two internal SIP servers in my testing environment. All SIP requests and responses follow the same following routes. SIP client -- SIP outbound proxy -- SIP server -- SIP outbound proxy -- SIP clients With some stress tests in several days (many SIP client continue registration), I find that OpenSIPS eats much more memory than what I configuration. The eaten memory is not released after more than several hour after the stress test is done. Following the official troubleshooting guide about memory issue, I try to identify whether this is a memory leak issue. Please kindly help to take a look at the attached log files. Besides, is it possible that my incorrect configuration leads to memory leak? I am afraid that I do not properly write the script to produce the memory leak issue. Many thanks for any comment. opensips_memory_leak_sipserver.gz http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7596394/opensips_memory_leak_sipserver.gz opensips_memory_leak_sipoutbound.gz http://opensips-open-sip-server.1449251.n2.nabble.com/file/n7596394/opensips_memory_leak_sipoutbound.gz Best regards, Chen-Che -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Memory-leak-issue-tp7596394.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Active Directory Auth
Digging back through the mailing list I found a conversation stating that there was a request submitted for dynamic LDAP bind. Does anyone know if its still being considered?Sent from a mobile device, excuse my brevity.--Ronald McMillianSystems TechnologistSpicyOmelet Enterprises, LLCr...@spicyomelet.comGo forth and make technology suck less.From: Ronald McMillianSent: 4/8/2015 14:28To: users@lists.opensips.orgSubject: [OpenSIPS-Users] Active Directory AuthHas anyone been able to authenticate against an Active Directory backend? Ive read all of the documentation on doing an LDAP auth but it breaks down when opensips uses and ldap query to retrieve a password. As far as I know (and can find) Active Directory doesnt make it possible to retrieve a password. Is it possible to authenticate on the server directly? Thanks. -- Ronald McMillian Systems Technologist SpicyOmelet Enterprises, LLC r...@spicyomelet.com Go forth and make technology suck less. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] problems with ds_select_dst w Asterisk
I've been trying to send calls from OpenSIPS to Asterisk using the ds_select_dst command. I'm able to do it with a 3CX soft-phone but all my Snom phones fail, they are all on the same network (Snom 300, 320, 360). Can anyone suggest what I'm doing wrong or what I can try? Asterisk returns SIP code 401. All phones send an ACK request and then another INVITE. Asterisk accepts the subsequent INVITE from the soft-phones but not from the Snom phones. Snom phones are all using the latest firmware the passwords are correct (I checked multiple times) If anyone can give me some input I would appreciate it. Thx!! Juls (Note: I did try to include the debug output as it's often asked, but the email was too big and went into email purgatory) ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client
You could try running the following command from the OpenSIPS server: curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/.*$//' See if its going out with the proper address. More than likely the NAT statement on the router is not setup properly for Reverse NAT Policy. Gordon From: Newlin, Ben ben.new...@inin.commailto:ben.new...@inin.com Reply-To: OpenSIPS users mailling list users@lists.opensips.orgmailto:users@lists.opensips.org Date: Thursday, April 9, 2015 at 9:39 AM To: OpenSIPS users mailling list users@lists.opensips.orgmailto:users@lists.opensips.org Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Something in between is manipulating the addressing in the SIP message. You said that ALG was disabled in the router, but either that is incorrect or there is some other piece of equipment changing the message. This is clear because the contact is not the only header that is changed. The ‘received’ parameter of the Via address was also changed from the public address of the UA to the private address. Only an entity within the private network could know that address, so it is almost certainly the router doing it. Ben Newlin From: users-boun...@lists.opensips.orgmailto:users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Satish Patel Sent: Thursday, April 09, 2015 10:13 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.commailto:satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895http://192.168.1.9:60895/ IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93. CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. Think before you Print. This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] disable dns lookup:
Hi chow, OpenSIPS is performing the SRV DNS lookup because the underlying C library function (man res_search) DOES NOT read from /etc/hosts. In order to skip any DNS lookup with t_uac_dlg [1], you must specify a NEXT HOP IP (3rd parameter). Now comes the tricky part: * if you are working with bash, you cannot use host and dig. Only the following commands will read from /etc/hosts, without additional SRV lookups: - getent ahostsv4 voip.test.com | awk '{print $1}' | sort -u - resolveip -s voip.test.com (NOTE: command comes with mysql-server package) * if you're working with another language, good luck :) This is how the MI message should look like: :t_uac_dlg: MESSAGE sip:1...@voip.test.com XXX.XXX.XXX.XXX - resolve voip.test.com by yourself here . From: sip:test_ser...@voip.test.com To: sip:1...@voip.ronghe.tv Content-Type: Multipart/Related [1] http://www.opensips.org/html/docs/modules/2.2.x/tm#id295949 Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 08.04.2015 10:12, chow wrote: Hi: have a problem , I can not fix it. I have a domain in my sip server that is voip.test.com. In my /etc/hosts have : 192.168.1.1 voip.test.com our opensips linsten : 192.168.1.1:5060 (protocol use tcp) In my opensips.cfg have: auto_aliases=yes alias=localhost alias=localhost.localdomain alias=voip.test.com:5060 dns=no dns_retr_time=1 dns_retr_no=3 dns_try_ipv6=no disable_dns_blacklist=yes disable_dns_failover=no dns_use_search_list=no rev_dns=no loadmodule domain.so Database mode: 0 means non-caching, 1 means caching. modparam(domain, db_mode, 1) I call the mi interface from other server, then opensips received message, it alwasys do dns lookup for voip.test.com. why opensips do this, how can I disable dns lookup mi message as below: :t_uac_dlg: MESSAGE sip:1...@voip.test.com . . From: sip:test_ser...@voip.test.com To: sip:1...@voip.ronghe.tv Content-Type: Multipart/Related please, give me some suggestion!!! thanks a lot -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/disable-dns-lookup-tp7596381.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ 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] URGENT: contact header changed between opensips and client
I am getting correct IP. Public IP of my Server [root@opensips ~]# curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/.*$//' 182.xx.xx.164 On Thu, Apr 9, 2015 at 11:42 AM, Gordon E. Sims, Jr. gs...@nexepe.com wrote: You could try running the following command from the OpenSIPS server: curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/.*$//' See if its going out with the proper address. More than likely the NAT statement on the router is not setup properly for Reverse NAT Policy. Gordon From: Newlin, Ben ben.new...@inin.com Reply-To: OpenSIPS users mailling list users@lists.opensips.org Date: Thursday, April 9, 2015 at 9:39 AM To: OpenSIPS users mailling list users@lists.opensips.org Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Something in between is manipulating the addressing in the SIP message. You said that ALG was disabled in the router, but either that is incorrect or there is some other piece of equipment changing the message. This is clear because the contact is not the only header that is changed. The ‘received’ parameter of the Via address was also changed from the public address of the UA to the private address. Only an entity within the private network could know that address, so it is almost certainly the router doing it. Ben Newlin *From:* users-boun...@lists.opensips.org [ mailto:users-boun...@lists.opensips.org users-boun...@lists.opensips.org] *On Behalf Of *Satish Patel *Sent:* Thursday, April 09, 2015 10:13 AM *To:* OpenSIPS users mailling list *Subject:* Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895 IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 . CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. Think before you Print. This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message. ___ 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] URGENT: contact header changed between opensips and client
ISPs can do ALG, but in this case it would be the ISP where the UA is located so the fact that the server is in a different data center wouldn’t matter (unless the UA is also on a different ISP from the others). Is this server using a different address range than the others? Is it possible that some configuration in your router is dependent on the IP ranges from the first data center, so that messages from the new data center don’t get the same treatment? Bottom line though, your traces clearly indicate the message being sent correctly by OpenSIPS and it is being altered in a way that could only occur in the UA’s private network. Ben Newlin From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Satish Patel Sent: Thursday, April 09, 2015 10:47 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client But issue only on this server. My other servers working fine. Why my router not changing contacts of other servers? I have many opensips but only issue with this single server :( one thing i notice, other opensips in different data center. Do you think ISP can do ALG? On Thu, Apr 9, 2015 at 10:39 AM, Newlin, Ben ben.new...@inin.commailto:ben.new...@inin.com wrote: Something in between is manipulating the addressing in the SIP message. You said that ALG was disabled in the router, but either that is incorrect or there is some other piece of equipment changing the message. This is clear because the contact is not the only header that is changed. The ‘received’ parameter of the Via address was also changed from the public address of the UA to the private address. Only an entity within the private network could know that address, so it is almost certainly the router doing it. Ben Newlin From: users-boun...@lists.opensips.orgmailto:users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.orgmailto:users-boun...@lists.opensips.org] On Behalf Of Satish Patel Sent: Thursday, April 09, 2015 10:13 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.commailto:satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895http://192.168.1.9:60895/ IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93. CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. ___ Users mailing list Users@lists.opensips.orgmailto: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] Compile ERROR
Hi, i just ran into the same issue, and noticed the tarball http://opensips.org/pub/opensips/1.11.4/src/opensips-1.11.4_src.tar.gz (generated on 02. April 2015) is not fixed yet. Wanted to let you know, as this might lead to problems for new users trying to install Opensips 1.11.x from tarball. Best regards Max M. On 07.04.2015 11:20, Liviu Chircu wrote: Hi Dragomir! It seems I forgot to backport this fix to 1.11. It is now fixed - please do a git pull once again. Thank you for reporting! Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 07.04.2015 11:38, Dragomir Haralambiev wrote: Hello, I update OpenSips from 1.11.3 to 1.11.4 with git pull. When try to compile receive follow errors: [root@sbc opensips_1_11]# make all In file included from evi/../lock_alloc.h:56, from evi/../locking.h:68, from evi/event_interface.h:31, from evi/evi_modules.h:30, from ut.h:42, from socket_info.h:39, from cfg.y:103: evi/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from cfg.lex:66: mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from cachedb/cachedb_id.c:29: cachedb/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from cachedb/../db/../evi/../lock_alloc.h:56, from cachedb/../db/../evi/../locking.h:68, from cachedb/../db/../evi/event_interface.h:31, from cachedb/../db/../evi/evi_modules.h:30, from cachedb/../db/../ut.h:42, from cachedb/../db/db_key.h:32, from cachedb/../db/db_query.h:37, from cachedb/cachedb.h:31, from cachedb/cachedb.c:27: cachedb/../db/../evi/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from evi/../lock_alloc.h:56, from evi/../locking.h:68, from evi/event_interface.h:31, from evi/evi_transport.c:26: evi/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory Best regards, PlayMen ___ 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] URGENT: contact header changed between opensips and client
Yes, both Opensips in different location with different ISP. I think its somewhere ISP doing ALG which causing this issue. Even i have tried to change post number instead of default 5060 but still issue is there. I thought ALG only work on default 5060 but i am wrong. Anyway good to know it wasn't my configuration issue. On Thu, Apr 9, 2015 at 1:59 PM, Newlin, Ben ben.new...@inin.com wrote: ISPs can do ALG, but in this case it would be the ISP where the UA is located so the fact that the server is in a different data center wouldn’t matter (unless the UA is also on a different ISP from the others). Is this server using a different address range than the others? Is it possible that some configuration in your router is dependent on the IP ranges from the first data center, so that messages from the new data center don’t get the same treatment? Bottom line though, your traces clearly indicate the message being sent correctly by OpenSIPS and it is being altered in a way that could only occur in the UA’s private network. Ben Newlin *From:* users-boun...@lists.opensips.org [mailto: users-boun...@lists.opensips.org] *On Behalf Of *Satish Patel *Sent:* Thursday, April 09, 2015 10:47 AM *To:* OpenSIPS users mailling list *Subject:* Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client But issue only on this server. My other servers working fine. Why my router not changing contacts of other servers? I have many opensips but only issue with this single server :( one thing i notice, other opensips in different data center. Do you think ISP can do ALG? On Thu, Apr 9, 2015 at 10:39 AM, Newlin, Ben ben.new...@inin.com wrote: Something in between is manipulating the addressing in the SIP message. You said that ALG was disabled in the router, but either that is incorrect or there is some other piece of equipment changing the message. This is clear because the contact is not the only header that is changed. The ‘received’ parameter of the Via address was also changed from the public address of the UA to the private address. Only an entity within the private network could know that address, so it is almost certainly the router doing it. Ben Newlin *From:* users-boun...@lists.opensips.org [mailto: users-boun...@lists.opensips.org] *On Behalf Of *Satish Patel *Sent:* Thursday, April 09, 2015 10:13 AM *To:* OpenSIPS users mailling list *Subject:* Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client Any thought guys? Why contact address change in transit? is it normal? On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel satish@gmail.com wrote: Very interesting thing going on between opensips and my client [UA] Opensips sending following contact header to Client but on client side i check it received different contact header, who is changing it? [UA]-[Opensips]--[FS] UA - 173.xx.xx.xx.215 Opensips - 182.xx.xx.164:5060 FS - 182.xx.xx.162:5061 My UA behind the NAT and I have ALG disabled on router. * [Opensips] sending following packet SDP OK 200 to [UA] 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 - 173.xx.xx.215:49152 SIP/2.0 200 OK Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo Record-Route: sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 CSeq: 722 INVITE Contact: sip:1646327x...@182.xx.xx.162:5061;transport=udp * [UA] Received following packet, look at Contact: it changed here. 162 to 164. U 182.xx.xx.164:5060 - 192.168.1.9:60895 IP/2.0 200 OK. Via: SIP/2.0/UDP 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo. Record-Route: sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93 . CSeq: 722 INVITE. Contact: sip:1646327x...@182.xx.xx.164:5061;transport=udp. ___ 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
[OpenSIPS-Users] USSD like over SIP signalling with opensips
Hi, If i need to send commands from client to opensips in order to setup some features, what should be the correct approach ? Let's suppose i want as SIP client, to setup call forward status (enable/disable) from client sending SIP message to opensips(having all the logic already implemented on proxy side). This service should be similar with dialing *123# from mobile or some ussd to do something. My question is, what should i use to send those commands, MESSAGE sip method with particular body, NOTIFY sip method with differnt event type, i mean i'd like to use sip protocol as transport for this kind of services. thanks, -- Dani Popa ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] B2bLogic with marketing scenario
Hello guys, (i apologize if you get this email repeated, the user list has been giving me problems to send today) Im using version 1.11 and the B2B Logic to trigger the marketing scenario from MI . Everything works fine, the calls get made and the script runs without a problem. However i need to identify within the script (in the local route) which one is the “server” call and which one is the “client” call. Is there a flag set by the module or a parameter i can check to validate this without having to inspect the ruri ? or a way to pass parameters different than sip uri’s from the trigger to the script ? Thanks ! Sebastian ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Compile ERROR
Found and fixed an issue with the latest tarball generation script. Thanks again, Max! On 09.04.2015 13:54, Max Mühlbronner wrote: Hi, i just ran into the same issue, and noticed the tarball http://opensips.org/pub/opensips/1.11.4/src/opensips-1.11.4_src.tar.gz (generated on 02. April 2015) is not fixed yet. Wanted to let you know, as this might lead to problems for new users trying to install Opensips 1.11.x from tarball. Best regards Max M. On 07.04.2015 11:20, Liviu Chircu wrote: Hi Dragomir! It seems I forgot to backport this fix to 1.11. It is now fixed - please do a git pull once again. Thank you for reporting! Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 07.04.2015 11:38, Dragomir Haralambiev wrote: Hello, I update OpenSips from 1.11.3 to 1.11.4 with git pull. When try to compile receive follow errors: [root@sbc opensips_1_11]# make all In file included from evi/../lock_alloc.h:56, from evi/../locking.h:68, from evi/event_interface.h:31, from evi/evi_modules.h:30, from ut.h:42, from socket_info.h:39, from cfg.y:103: evi/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from cfg.lex:66: mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from cachedb/cachedb_id.c:29: cachedb/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from cachedb/../db/../evi/../lock_alloc.h:56, from cachedb/../db/../evi/../locking.h:68, from cachedb/../db/../evi/event_interface.h:31, from cachedb/../db/../evi/evi_modules.h:30, from cachedb/../db/../ut.h:42, from cachedb/../db/db_key.h:32, from cachedb/../db/db_query.h:37, from cachedb/cachedb.h:31, from cachedb/cachedb.c:27: cachedb/../db/../evi/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory In file included from evi/../lock_alloc.h:56, from evi/../locking.h:68, from evi/event_interface.h:31, from evi/evi_transport.c:26: evi/../mem/mem.h:37:23: error: ../stdlib.h: No such file or directory Best regards, PlayMen ___ 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] disable dns lookup:
Hi: anyone know this mechanism? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/disable-dns-lookup-tp7596381p7596396.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users