[OpenSIPS-Users] CDRTool not showing CDRs

2011-11-09 Thread samuel
Hi folks,

Recently we installed a CDRTool (v. 8.2.2) with a remote freeradius-xs
(1.1.7-4) that receives accounting requests from an opensips (1.7.0). The
problem is that when I try to visualize the calls in the CDRTool web
interface (callsearch.phtml), no call is presented though you can see the
data is retrived (capturing with ngrep I can see the mySQL data arriving to
CDRTool instance) and if you export the results to a file (Export results
to file) then you can see the information.

I've tried several browsers (firefox, chrome, opera) but in none of them
the detail of the calls appears.

Can anyone point me where to look to find an solve the problem?

Thank you very much in advance,
Samuel.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] connect sipp-opensip-sipp

2011-11-09 Thread prasad kelkar
i want to estabblish calls between suac and uas through opensip proxi
please help
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] CDRTool not showing CDRs

2011-11-09 Thread samuel
Hi all,

After modifying the search criteria I've found the same issue solved in
another post.

The problem is that I had not installed php-geoip library. After installing
it, everything seems to work.

Apologies for the noise,
Samuel.

On 9 November 2011 10:51, samuel  wrote:

> Hi folks,
>
> Recently we installed a CDRTool (v. 8.2.2) with a remote freeradius-xs
> (1.1.7-4) that receives accounting requests from an opensips (1.7.0). The
> problem is that when I try to visualize the calls in the CDRTool web
> interface (callsearch.phtml), no call is presented though you can see the
> data is retrived (capturing with ngrep I can see the mySQL data arriving to
> CDRTool instance) and if you export the results to a file (Export results
> to file) then you can see the information.
>
> I've tried several browsers (firefox, chrome, opera) but in none of them
> the detail of the calls appears.
>
> Can anyone point me where to look to find an solve the problem?
>
> Thank you very much in advance,
> Samuel.
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] connect sipp-opensip-sipp

2011-11-09 Thread Vlad Paiu

Hello,

You can use the implicit SIPP scenarios.

UAS :
sipp -sn uas

UAC :
sipp -sn uac -rsa OPENSIPS_IP UAS_IP


Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 12:05 PM, prasad kelkar wrote:

i want to estabblish calls between suac and uas through opensip proxi
please help


___
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] RTPproxy + Opensips 1.7.0

2011-11-09 Thread Sebastien CRUAUX

  
  
Hi Razvan,

I finally managed to get the rtpproxy logs (it only needed to be
launched with the -d flag), so I added a trace in the
create_twinlistener function in rtpp_command.c in order to see what
was the errno on the bind attempt. I get an errno 98 (Address
already in use) for all the UDP ports in my rtpproxy range (18000 -
18020) :

Nov  8 17:53:52
WWW_64Bits ./opensips[22671]: INFO :: (INVITE) rtpproxy set 1
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: rtpproxy node count = 1 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: node->rn_disabled = 1,
node->rn_recheck_ticks = 70, get_ticks = 72 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:rtpp_test: force = 0 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:rtpp_test: rtp proxy 
found, support for it re-enabled 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: result rtpp_test = 0 
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]: INFO:handle_command:
new session 944821033294@192.168.1.206, tag z9hG4bK74406739;1
requested, type strong
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18013 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18007 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18017 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18009 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18005 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18001 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18015 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:force_rtp_proxy_body: command sent to rtpproxy, cp
= E10 , err = 10 
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18011 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:force_rtp_proxy_body: rtpproxy returned an error,
we disable the node 
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]:
ERR:create_twinlistener: bind to the 18003 port failed, errno =
98: Address already in use
Nov  8 17:53:52 WWW_64Bits rtpproxy[22611]: ERR:handle_command:
can't create listener
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: rtpproxy node count = 1 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: node->rn_disabled = 1,
node->rn_recheck_ticks = 132, get_ticks = 72 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
INFO:rtpproxy:select_rtpp_node: result rtpp_test = 1 
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies

However, when I run netstat none of these ports seems to be used...

Best regards,

Sebastien

Le 08/11/2011 13:48, Razvan Crainea a écrit :
Hi
  Sebastien,
  
  
  Taking a look into RTPProxy's code, I see that the error 10 is
  returned when it can't create a listener. This happens when
  RTPProxy can't create or bind a socket, or doesn't have enough
  ports allocated. My guess is that in your case it can't bind a
  socket on the interface specified by the "-l" parameter.
  
  
  Best regards,
  
  
  --
  
  Răzvan Crainea
  
  OpenSIPS Developer
  
  
  
  ___
  
  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] connect sipp-opensip-sipp

2011-11-09 Thread M.Abdulaziz



Exactly follow what Mr.Paiu said. I tried it before & it worked fine for me.


You can run them all (UAC, opensips proxy, and UAS) in the same machine
(with the same IP) but with different ports.

Best Regards




--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/connect-sipp-opensip-sipp-tp6977430p6977765.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


[OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread M.Abdulaziz
Hello Everyone,

I 'm  trying to run the load balancer module but I couldn't make it work
properly. I know it is due to my lack of experience. But I couldn't figure
out where is my mistake, can any one help please...I implemented it as
follows:



 
> Proxy1 >--->UAS1
UAC-->LoadBalancer>  
> Proxy2 >--->UAS2

Where:

sipp(UAC):192.168.1.70:5062
opensips(Load Balancer):192.168.1.69:5060
opensips(Proxy1):192.168.1.69:5061
opensips(Proxy2):192.168.1.69:5062
sipp(UAS1):192.168.1.70:5060 
sipp(UAS1):192.168.1.70:5061   

I run the sipp command for the caller as follows:

sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060

When I traced the packets using wireshark I saw the error message :

Destination unreachable (port unreachable)


The load Balancer table contains the following:

  --- -  
 |  id  | group_id | dst_uri   | resources  
 
|
  --- -  
 |  1  |1  | sip:192.168.1.69:5061|  pstn=32   
|
 |  2  |1  | sip:192.168.1.69:5062|  pstn=32   
|
  --- -  


the load balancer configuration file is exactly as the one in the load
balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
except the listen line:

listen=udp:xxx.xxx.xxx.xxx:5060

I changed it to

listen=udp:192.168.1.69:5060
 


Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
load balancer it worked properly which means that my problem is in the load
balancer.

Best Regards,

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.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] Unable to make the load balancer work

2011-11-09 Thread Nick Khamis
Could you please attach or post opensips.cfg.

Regards,

Nick.

On Wed, Nov 9, 2011 at 8:03 AM, M.Abdulaziz  wrote:
> Hello Everyone,
>
> I 'm  trying to run the load balancer module but I couldn't make it work
> properly. I know it is due to my lack of experience. But I couldn't figure
> out where is my mistake, can any one help please...I implemented it as
> follows:
>
>
>
>
>                                > Proxy1 >--->UAS1
> UAC-->LoadBalancer>
>                                > Proxy2 >--->UAS2
>
> Where:
>
> sipp(UAC):192.168.1.70:5062
> opensips(Load Balancer):192.168.1.69:5060
> opensips(Proxy1):192.168.1.69:5061
> opensips(Proxy2):192.168.1.69:5062
> sipp(UAS1):192.168.1.70:5060
> sipp(UAS1):192.168.1.70:5061
>
> I run the sipp command for the caller as follows:
>
> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>
> When I traced the packets using wireshark I saw the error message :
>
> Destination unreachable (port unreachable)
>
>
> The load Balancer table contains the following:
>
>   --- - 
>  |  id  | group_id | dst_uri                           | resources
> |
>   --- - 
>  |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
> |
>  |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
> |
>   --- - 
>
>
> the load balancer configuration file is exactly as the one in the load
> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
> except the listen line:
>
> listen=udp:xxx.xxx.xxx.xxx:5060
>
> I changed it to
>
> listen=udp:192.168.1.69:5060
>
>
>
> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
> load balancer it worked properly which means that my problem is in the load
> balancer.
>
> Best Regards,
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.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] Unable to make the load balancer work

2011-11-09 Thread Vlad Paiu

Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to 
your proxies ?


Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:

Hello Everyone,

I 'm  trying to run the load balancer module but I couldn't make it work
properly. I know it is due to my lack of experience. But I couldn't figure
out where is my mistake, can any one help please...I implemented it as
follows:




 >  Proxy1>--->UAS1
UAC-->LoadBalancer>
 >  Proxy2>--->UAS2

Where:

sipp(UAC):192.168.1.70:5062
opensips(Load Balancer):192.168.1.69:5060
opensips(Proxy1):192.168.1.69:5061
opensips(Proxy2):192.168.1.69:5062
sipp(UAS1):192.168.1.70:5060
sipp(UAS1):192.168.1.70:5061

I run the sipp command for the caller as follows:

sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060

When I traced the packets using wireshark I saw the error message :

Destination unreachable (port unreachable)


The load Balancer table contains the following:

   --- - 
  |  id  | group_id | dst_uri   | resources
|
   --- - 
  |  1  |1  | sip:192.168.1.69:5061|  pstn=32
|
  |  2  |1  | sip:192.168.1.69:5062|  pstn=32
|
   --- - 


the load balancer configuration file is exactly as the one in the load
balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
except the listen line:

listen=udp:xxx.xxx.xxx.xxx:5060

I changed it to

listen=udp:192.168.1.69:5060



Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
load balancer it worked properly which means that my problem is in the load
balancer.

Best Regards,

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.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] RTPproxy + Opensips 1.7.0

2011-11-09 Thread Sebastien CRUAUX

  
  
Update : it seems rtpproxy tries to bind on 2 sockets, one on an
even port and another on the odd port just after (cf for loop in the
create_twinlistener function). The first bind is successful but it
fails on the second :

Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: INFO :: (INVITE)
rtpproxy set 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: rtpproxy node count = 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: node->rn_disabled = 0,
node->rn_recheck_ticks = 0, get_ticks = 11
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: result rtpp_test = 0
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:handle_command:
new session 886876334, tag 1383821790;1 requested, type strong
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18014 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18015 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18000 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18001 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18016 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18017 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18002 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18003 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18012 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18013 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18010 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18011 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18008 port succeeded
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:force_rtp_proxy_body: command sent to rtpproxy, cp
= E10 , err = 10
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:force_rtp_proxy_body: rtpproxy returned an error,
we disable the node
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18009 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18018 port succeeded
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: rtpproxy node count = 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: node->rn_disabled = 1,
node->rn_recheck_ticks = 71, get_ticks = 11
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18019 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
INFO:rtpproxy:select_rtpp_node: result rtpp_test = 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]:
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
INFO:create_twinlistener: bind to the 18004 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]:
ERR:create_twinlistener: bind to the 18005 port failed, errno =
98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:handle_command:
can't create listener

Why are there 2 binds ? One should be enough (there is no video in
my INVITE request).

Best regards,

Sebastien

Le 09/11/2011 12:12, Sebastien CRUAUX a écrit :

  
  Hi Razvan,
  
  I finally managed to get the rtpproxy logs (it only needed to be
  launched with the -d flag), so I added a trace in the
  create_twinlistener function in rtpp_command.c in order to see
  what was the errno on the bi

Re: [OpenSIPS-Users] RTPproxy + Opensips 1.7.0

2011-11-09 Thread Razvan Crainea

Hi Sebastien,

For every Update or Lookup command, RTPProxy tries to open 2 file 
descriptors: 1 for RTP and 1 for RTCP. Both of them are required in 
order to work properly. Therefore every successful session will 4 ports 
- 2 for caller and 2 for callee.


Regards,

--
Ra(zvan Crainea
OpenSIPS Developer


On 11/09/2011 04:03 PM, Sebastien CRUAUX wrote:
Update : it seems rtpproxy tries to bind on 2 sockets, one on an even 
port and another on the odd port just after (cf for loop in the 
create_twinlistener function). The first bind is successful but it 
fails on the second :


Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: INFO :: (INVITE) rtpproxy 
set 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: rtpproxy node count = 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: node->rn_disabled = 0, 
node->rn_recheck_ticks = 0, get_ticks = 11
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: result rtpp_test = 0
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:handle_command: new 
session 886876334, tag 1383821790;1 requested, type strong
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18014 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18015 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18000 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18001 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18016 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18017 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18002 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18003 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18012 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18013 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18010 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18011 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18008 port succeeded
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:force_rtp_proxy_body: command sent to rtpproxy, cp = E10 
, err = 10
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:force_rtp_proxy_body: rtpproxy returned an error, we 
disable the node
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18009 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18018 port succeeded
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: rtpproxy node count = 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: node->rn_disabled = 1, 
node->rn_recheck_ticks = 71, get_ticks = 11
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18019 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
INFO:rtpproxy:select_rtpp_node: result rtpp_test = 1
Nov  9 15:01:57 WWW_64Bits ./opensips[1882]: 
ERROR:rtpproxy:force_rtp_proxy_body: no available proxies
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: INFO:create_twinlistener: 
bind to the 18004 port succeeded
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:create_twinlistener: 
bind to the 18005 port failed, errno = 98: Address already in use
Nov  9 15:01:57 WWW_64Bits rtpproxy[1774]: ERR:handle_command: can't 
create listener


Why are there 2 binds ? One should be enough (there is no video in my 
INVITE request).


Best regards,

Sebastien

Le 09/11/2011 12:12, Sebastien CRUAUX a écrit :

Hi Razvan,

I finally managed to get the rtpproxy logs (it only needed to be 
launched with the -d flag), so I added a trace in the 
create_twinlistener function in rtpp_command.c in order to see what 
was the errno on the bind attempt. I get an errno 98 (Address already 
in use) for all the UDP ports in my rtpproxy range (18000 - 18020) :


Nov  8 17:53:52 WWW_64Bits ./opensips[22671]: INFO :: (INVITE) 
rtpproxy set 1
Nov  8 17:53:52 WWW_64Bits ./opensips[22671]: 
INFO:rtpproxy:select_rtpp_node: entering select_rtpp_node
Nov  8 17:53:52 WWW

Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread Maysoon Aaziz Alduwais


Hello Mr. Paiu & Mr. Khamis,

Thank you both for your instant responses.


I don't know if the packets reached the balancer but I don't think so.

Because when I compiled the load_balancer.cfg it gives me the following error:

[2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.

Then I search for it in my computer but I couldn't found it. I found only 
'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'

Thank you,


From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
Behalf Of Vlad Paiu [vladp...@opensips.org]
Sent: Wednesday, November 09, 2011 4:45 PM
To: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to
your proxies ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
> Hello Everyone,
>
> I 'm  trying to run the load balancer module but I couldn't make it work
> properly. I know it is due to my lack of experience. But I couldn't figure
> out where is my mistake, can any one help please...I implemented it as
> follows:
>
>
>
>
>  >  Proxy1>--->UAS1
> UAC-->LoadBalancer>
>  >  Proxy2>--->UAS2
>
> Where:
>
> sipp(UAC):192.168.1.70:5062
> opensips(Load Balancer):192.168.1.69:5060
> opensips(Proxy1):192.168.1.69:5061
> opensips(Proxy2):192.168.1.69:5062
> sipp(UAS1):192.168.1.70:5060
> sipp(UAS1):192.168.1.70:5061
>
> I run the sipp command for the caller as follows:
>
> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>
> When I traced the packets using wireshark I saw the error message :
>
> Destination unreachable (port unreachable)
>
>
> The load Balancer table contains the following:
>
>    --- - 
>   |  id  | group_id | dst_uri   | resources
> |
>    --- - 
>   |  1  |1  | sip:192.168.1.69:5061|  pstn=32
> |
>   |  2  |1  | sip:192.168.1.69:5062|  pstn=32
> |
>    --- - 
>
>
> the load balancer configuration file is exactly as the one in the load
> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
> except the listen line:
>
> listen=udp:xxx.xxx.xxx.xxx:5060
>
> I changed it to
>
> listen=udp:192.168.1.69:5060
>
>
>
> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
> load balancer it worked properly which means that my problem is in the load
> balancer.
>
> Best Regards,
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.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

Disclaimer:
This communication is intended for the above named person and is confidential 
and / or legally privileged. Any opinion(s) expressed in this communication are 
not necessarily those of KSU (King Saud University). If it has come to you in 
error you must take no action based upon it, nor must you print it, copy it, 
forward it, or show it to anyone. Please delete and destroy the e-mail and any 
attachments and inform the sender immediately. Thank you.
KSU is not responsible for the political, religious, racial or partisan opinion 
in any correspondence conducted by its domain users. Therefore, any such 
opinion expressed, whether explicitly or implicitly, in any said correspondence 
is not to be interpreted as that of KSU.
KSU may monitor all incoming and outgoing e-mails in line with KSU business 
practice. Although KSU has taken steps to ensure that e-mails and attachments 
are free from any virus, we advise that, in keeping with best business 
practice, the recipient must ensure they are actually virus free.

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


Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread Nick Khamis
Maysoon,

OpenSIPS is not started. I am actually having the same problem, and
compiled opensips using:

make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" modules
make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" install

I gave up last night, and just starting to look at it again today.
Let's keep each other updated.
List, is there anyway to specify an OpenSIPS debug file is var log?

Cheers,

Ninus.

On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
 wrote:
>
>
> Hello Mr. Paiu & Mr. Khamis,
>
> Thank you both for your instant responses.
>
>
> I don't know if the packets reached the balancer but I don't think so.
>
> Because when I compiled the load_balancer.cfg it gives me the following error:
>
> [2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.
>
> Then I search for it in my computer but I couldn't found it. I found only 
> 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'
>
> Thank you,
>
> 
> From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
> Behalf Of Vlad Paiu [vladp...@opensips.org]
> Sent: Wednesday, November 09, 2011 4:45 PM
> To: users@lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
> Hello,
>
> Do the actual SIP packages reach the load balancer ?
> Or are the SIP packages reaching it, but it does not forward them to
> your proxies ?
>
> Regards,
>
> Vlad Paiu
> OpenSIPS Developer
>
>
> On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
>> Hello Everyone,
>>
>> I 'm  trying to run the load balancer module but I couldn't make it work
>> properly. I know it is due to my lack of experience. But I couldn't figure
>> out where is my mistake, can any one help please...I implemented it as
>> follows:
>>
>>
>>
>>
>>                                  >  Proxy1>--->UAS1
>> UAC-->LoadBalancer>
>>                                  >  Proxy2>--->UAS2
>>
>> Where:
>>
>> sipp(UAC):192.168.1.70:5062
>> opensips(Load Balancer):192.168.1.69:5060
>> opensips(Proxy1):192.168.1.69:5061
>> opensips(Proxy2):192.168.1.69:5062
>> sipp(UAS1):192.168.1.70:5060
>> sipp(UAS1):192.168.1.70:5061
>>
>> I run the sipp command for the caller as follows:
>>
>> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>>
>> When I traced the packets using wireshark I saw the error message :
>>
>> Destination unreachable (port unreachable)
>>
>>
>> The load Balancer table contains the following:
>>
>>    --- - 
>>   |  id  | group_id | dst_uri                           | resources
>> |
>>    --- - 
>>   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
>> |
>>   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
>> |
>>    --- - 
>>
>>
>> the load balancer configuration file is exactly as the one in the load
>> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
>> except the listen line:
>>
>> listen=udp:xxx.xxx.xxx.xxx:5060
>>
>> I changed it to
>>
>> listen=udp:192.168.1.69:5060
>>
>>
>>
>> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
>> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
>> load balancer it worked properly which means that my problem is in the load
>> balancer.
>>
>> Best Regards,
>>
>> --
>> View this message in context: 
>> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.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
>
> Disclaimer:
> This communication is intended for the above named person and is confidential 
> and / or legally privileged. Any opinion(s) expressed in this communication 
> are not necessarily those of KSU (King Saud University). If it has come to 
> you in error you must take no action based upon it, nor must you print it, 
> copy it, forward it, or show it to anyone. Please delete and destroy the 
> e-mail and any attachments and inform the sender immediately. Thank you.
> KSU is not responsible for the political, religious, racial or partisan 
> opinion in any correspondence conducted by its domain users. Therefore, any 
> such opinion expressed, whether explicitly or implicitly, in any said 
> correspondence is not to be interpreted as that of KSU.
> KSU may monitor all incoming and outgoing e-mails in line with KSU business 
> practice. Although KSU has taken steps to ensure that e-mai

Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread Vlad Paiu

Hello,

Please check in the Makefile, the 'exclude_modules?=' line. There you 
have listed all the modules that have external dependencies, and that 
are not compiled by default. If you need db_mysql and you have installed 
libmysqlclient-dev, you can safely remove db_mysql from that list. The 
same applies for mi_xmlrpc and others.


Also, what do you mean by 'to specify an OpenSIPS debug file is var log?' ?

Regrards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 04:25 PM, Nick Khamis wrote:

Maysoon,

OpenSIPS is not started. I am actually having the same problem, and
compiled opensips using:

make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" modules
make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" install

I gave up last night, and just starting to look at it again today.
Let's keep each other updated.
List, is there anyway to specify an OpenSIPS debug file is var log?

Cheers,

Ninus.

On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
  wrote:


Hello Mr. Paiu&  Mr. Khamis,

Thank you both for your instant responses.


I don't know if the packets reached the balancer but I don't think so.

Because when I compiled the load_balancer.cfg it gives me the following error:

[2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.

Then I search for it in my computer but I couldn't found it. I found only 
'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'

Thank you,


From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
Behalf Of Vlad Paiu [vladp...@opensips.org]
Sent: Wednesday, November 09, 2011 4:45 PM
To: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to
your proxies ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:

Hello Everyone,

I 'm  trying to run the load balancer module but I couldn't make it work
properly. I know it is due to my lack of experience. But I couldn't figure
out where is my mistake, can any one help please...I implemented it as
follows:




  >Proxy1>--->UAS1
UAC-->LoadBalancer>
  >Proxy2>--->UAS2

Where:

sipp(UAC):192.168.1.70:5062
opensips(Load Balancer):192.168.1.69:5060
opensips(Proxy1):192.168.1.69:5061
opensips(Proxy2):192.168.1.69:5062
sipp(UAS1):192.168.1.70:5060
sipp(UAS1):192.168.1.70:5061

I run the sipp command for the caller as follows:

sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060

When I traced the packets using wireshark I saw the error message :

Destination unreachable (port unreachable)


The load Balancer table contains the following:

    --- - 
   |  id  | group_id | dst_uri   | resources
|
    --- - 
   |  1  |1  | sip:192.168.1.69:5061|  pstn=32
|
   |  2  |1  | sip:192.168.1.69:5062|  pstn=32
|
    --- - 


the load balancer configuration file is exactly as the one in the load
balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
except the listen line:

listen=udp:xxx.xxx.xxx.xxx:5060

I changed it to

listen=udp:192.168.1.69:5060



Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
load balancer it worked properly which means that my problem is in the load
balancer.

Best Regards,

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.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

Disclaimer:
This communication is intended for the above named person and is confidential 
and / or legally privileged. Any opinion(s) expressed in this communication are 
not necessarily those of KSU (King Saud University). If it has come to you in 
error you must take no action based upon it, nor must you print it, copy it, 
forward it, or show it to anyone. Please delete and destroy the e-mail and any 
attachments and inform the sender immediately. Thank you.
KSU is not responsible for the political, religious, racial or partisan opinion 
in any correspondence conducted by its domain users. Therefore, any such 
opinion expressed, whether explic

[OpenSIPS-Users] Topology Hiding with dialog and b2b

2011-11-09 Thread ddgiants
I have a scenario where I built a proxy that invites to an LCR which replies
with 300 multiple and proxy then sends out one at a time based on q value
AND topology hides and writes cdrs for dipped(lcr) call, missed calls and
completed calls. All seems to work ok except when the called party ends the
call. I read that you can not use b2b hiding with dialog module. So I tried
to just use the topology_hiding function within dialog instead of b2b. It
cores on simple config but works on my more elaborate one. I have no clue
why. I am running 1.7 on OpenSuSE 11.3. Below is opensips.cfg, core and
backtrace.

Google search Keywords for those like me
opensips generate create core dump gdb backtrace
run opensips -w directory/for/core/file/


*OPENSIPS.CFG*
# $Id: opensips-b2b.cfg $

# Debugging mode:
debug=3
memlog= 6
fork=yes
auto_aliases=no
log_stderror=yes
disable_core_dump=no

disable_dns_blacklist=yes

listen=192.168.1.116:5060
# alias=OSIPS_REALM
#port=OSIPS_PORT


sip_warning=0
#server_header="SRV_SIGNATURE"
#user_agent_header="PP_USER_AGENT"

#mhomed=yes
#memlog=2
check_via=no
dns=off
rev_dns=off
children=4
disable_tcp=yes
log_facility=LOG_LOCAL0
# for more info: opensips -h

# -- module loading --

mpath="/usr/local/lib/opensips/modules/"

# Need acc and dialog to write cdrs
# Need uri to use has_totag
loadmodule "db_mysql.so"
loadmodule "avpops.so"
loadmodule "exec.so"
#loadmodule "xlog.so"
loadmodule "textops.so"
loadmodule "maxfwd.so"
loadmodule "rr.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "signaling.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "mi_fifo.so"
loadmodule "uac_redirect.so"
loadmodule "localcache.so"
loadmodule "nathelper.so"
loadmodule "acc.so"
loadmodule "dialog.so"
loadmodule "uri.so"

# - setting module-specific parameters ---
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
modparam("avpops","db_url","mysql://kwk:kwk@localhost/kwk_proxy")


#modparam("acc", "db_url", "mysql://opensips:opensips@localhost/opensips")
#modparam("acc", "failed_transaction_flag", 1)
#modparam("acc", "log_level", 1)
#modparam("acc", "db_missed_flag", 1)
#modparam("acc", "log_missed_flag", 1)
#modparam("acc", "log_flag", 1)
#modparam("acc", "db_flag", 1)
#modparam("acc", "cdr_flag", 1)
#modparam("acc", "db_extra", "contacts=$avp(contacts); src_ip=$avp(src_ip);
uri_user_portion=$rU; dest_ip=$rd; orig_callid=$avp(orig_ci);
cust_rate=$avp(cust_rate); vendor_rate=$av
p(vendor_rate)")
#modparam("acc", "db_table_acc", "cdrs")
#modparam("acc", "db_table_missed_calls", "cdrs")

modparam("usrloc", "db_mode", 0)
modparam("tm", "pass_provisional_replies", 1)


route {
  if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
  };
  if (msg:len >= 2380 ) {
sl_send_reply("513", "Message too big");
exit;
  };

  if(!has_totag() && is_method("INVITE")) {
topology_hiding();
#setflag(1);
$du = "sip:192.168.1.208";
$rd = "192.168.1.208";
route(1);
exit;
  }

  if (has_totag()  && (uri == myself)  &&
is_method("INVITE|ACK|BYE|UPDATE")) {
if(match_dialog()) {
  xlog(" in-dialog topology hiding request - $DLG_dir\n");
  route(1);
  exit;
}
  }
}#end route

route[1] {
  if (!t_relay()) {
sl_reply_error();
  };
  t_on_reply("1");
  exit;
}

onreply_route[1] {
  if(t_check_status("200")) {
if(search("Content-type: application/sdp")) {
  fix_nated_sdp("8", "192.168.1.116");
}
  }
}

*CORE*
hp-opensuse:/usr/local/etc/opensips # gdb opensips /tmp/core
GNU gdb (GDB) SUSE (7.1-3.12)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/sbin/opensips...done.
[New Thread 3239]
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=20519b5f2874a1cf29e149802cfbef0db142633f"
Missing separate debuginfo for /lib/libresolv.so.2
Try: zypper install -C
"debuginfo(build-id)=e31b0c6ef67cd17db53a672233c2dea4fb8a068d"
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=62a8bfd7732322fa6b9c39d39a830a8028804534"
Missing separate debuginfo for /lib/ld-linux.so.2
Try: zypper install -C
"debuginfo(build-id)=22e2b3718e8271a0d899156a796b0a90bc4dc391"
Missing separate debuginfo for /usr/local/lib/opensips/modules/db_mysql.so
Try: zypper install -C
"debuginfo(build-id)=942e89ae15da75c4e36f97502d2e7cfea7957d7b"
Missing separate debuginfo for /usr/lib/libmysqlclient.so.16
Try: zypper install -C
"debuginfo(build-id)=4fa4c47b1643dc0739e94f82f955c7d81f236a85"
Missing separate d

[OpenSIPS-Users] Security

2011-11-09 Thread Disqus User


I'm a complete beginner in SIP. I'm trying to migrate away from Skype, since I 
have no reason to trust them. (For all I know, they could have huge server 
farms where they collect people's IMs and audio chats.) I just want a fully 
secure way to chat with my family and friends, that's all. I recently came 
across Jitsi and SIP. Do these provide what I need? I have a few questions of 
this nature:
1) When I click "Register" on the OpenSIPS website, I get a "The [SSL] 
certificate for this website is invalid" message from Safari. Is your website 
insecure in some way?
2) Will Jitsi work "out of the box" with OpenSIPS? Will it be easy for mere 
mortals to actually use it? I don't want to make, say, my parents go through 
too much technical hassle.
3) So, if I text chat, audio chat, and video chat with my friends through 
OpenSIPS using Jitsi, will everything (text, audio, video) be fully encrypted, 
such that no 3rd party can possibly snoop into it? (Contrast with Skype, where 
even though the stuff is secure back and forth from Skype's servers, it may be 
technically possible for Skype to snoop in on people's affairs.)
4) Any other Skype vs. Jitsi/SIP pros and cons you can think of that a beginner 
should be aware of?
Thanks in advance.___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread Nick Khamis
Hello Vlad,

Thank you so much for your response, I just compiled using:

make all prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules
make install prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules

And the original load module errors have been fixed. Now I just need
to look into:

Nov  9 12:02:11 [1242] ERROR:tm:fixup_broute: branch route <2> does not exist
Nov  9 12:02:11 [1242] ERROR:core:fix_actions: fixing failed (code=-1)
at cfg line 394
Nov  9 12:02:11 [1242] ERROR:core:main: failed to fix configuration
with err code -1

route[1] {
# for INVITEs enable some additional helper routes
if (is_method("INVITE")) {
t_on_branch("2");
t_on_reply("2");
t_on_failure("1");
}

if (!t_relay()) {
#sl_reply_error();
};
exit;
}

In terms of the log, I was referring to having opensipps write all
messages to a specific log file using
a log_file=/var/log/opensips for example. I am brand new to OpenSIPS,
and I see it's amazing potential.
Maysoon, sorry about the email hijack however, we are working on the same thing.

Ninus.






On Wed, Nov 9, 2011 at 11:13 AM, Vlad Paiu  wrote:
> Hello,
>
> Please check in the Makefile, the 'exclude_modules?=' line. There you have
> listed all the modules that have external dependencies, and that are not
> compiled by default. If you need db_mysql and you have installed
> libmysqlclient-dev, you can safely remove db_mysql from that list. The same
> applies for mi_xmlrpc and others.
>
> Also, what do you mean by 'to specify an OpenSIPS debug file is var log?' ?
>
> Regrards,
>
> Vlad Paiu
> OpenSIPS Developer
>
>
> On 11/09/2011 04:25 PM, Nick Khamis wrote:
>>
>> Maysoon,
>>
>> OpenSIPS is not started. I am actually having the same problem, and
>> compiled opensips using:
>>
>> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>> dlg_flag load_balancer" modules
>> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>> dlg_flag load_balancer" install
>>
>> I gave up last night, and just starting to look at it again today.
>> Let's keep each other updated.
>> List, is there anyway to specify an OpenSIPS debug file is var log?
>>
>> Cheers,
>>
>> Ninus.
>>
>> On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
>>   wrote:
>>>
>>> Hello Mr. Paiu&  Mr. Khamis,
>>>
>>> Thank you both for your instant responses.
>>>
>>>
>>> I don't know if the packets reached the balancer but I don't think so.
>>>
>>> Because when I compiled the load_balancer.cfg it gives me the following
>>> error:
>>>
>>> [2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.
>>>
>>> Then I search for it in my computer but I couldn't found it. I found only
>>> 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'
>>>
>>> Thank you,
>>>
>>> 
>>> From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org]
>>> On Behalf Of Vlad Paiu [vladp...@opensips.org]
>>> Sent: Wednesday, November 09, 2011 4:45 PM
>>> To: users@lists.opensips.org
>>> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>>>
>>> Hello,
>>>
>>> Do the actual SIP packages reach the load balancer ?
>>> Or are the SIP packages reaching it, but it does not forward them to
>>> your proxies ?
>>>
>>> Regards,
>>>
>>> Vlad Paiu
>>> OpenSIPS Developer
>>>
>>>
>>> On 11/09/2011 03:03 PM, M.Abdulaziz wrote:

 Hello Everyone,

 I 'm  trying to run the load balancer module but I couldn't make it work
 properly. I know it is due to my lack of experience. But I couldn't
 figure
 out where is my mistake, can any one help please...I implemented it as
 follows:




                                  >    Proxy1>--->UAS1
 UAC-->LoadBalancer>
                                  >    Proxy2>--->UAS2

 Where:

 sipp(UAC):192.168.1.70:5062
 opensips(Load Balancer):192.168.1.69:5060
 opensips(Proxy1):192.168.1.69:5061
 opensips(Proxy2):192.168.1.69:5062
 sipp(UAS1):192.168.1.70:5060
 sipp(UAS1):192.168.1.70:5061

 I run the sipp command for the caller as follows:

 sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060

 When I traced the packets using wireshark I saw the error message :

 Destination unreachable (port unreachable)


 The load Balancer table contains the following:

    --- -
 
   |  id  | group_id | dst_uri                           | resources
 |
    --- -
 
   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
 |
   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
 |
    --- --

Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread Vlad Paiu

Hello,

Seems that you are attempting to arm the failure route with
t_on_branch("2")

but you do not have any failure_route[2] defined.


To have OpenSIPS log to /var/log/opensips.log you will have to configure 
OpenSIPS to log at syslog via

log_stderror=no
log_facility=LOG_LOCAL1

and then in your syslog configuration assign local1.* to 
/var/log/opensips.log .


Regards,
Vlad

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 07:12 PM, Nick Khamis wrote:

Hello Vlad,

Thank you so much for your response, I just compiled using:

make all prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules
make install prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules

And the original load module errors have been fixed. Now I just need
to look into:

Nov  9 12:02:11 [1242] ERROR:tm:fixup_broute: branch route<2>  does not exist
Nov  9 12:02:11 [1242] ERROR:core:fix_actions: fixing failed (code=-1)
at cfg line 394
Nov  9 12:02:11 [1242] ERROR:core:main: failed to fix configuration
with err code -1

route[1] {
# for INVITEs enable some additional helper routes
if (is_method("INVITE")) {
t_on_branch("2");
t_on_reply("2");
t_on_failure("1");
}

if (!t_relay()) {
#sl_reply_error();
};
exit;
}

In terms of the log, I was referring to having opensipps write all
messages to a specific log file using
a log_file=/var/log/opensips for example. I am brand new to OpenSIPS,
and I see it's amazing potential.
Maysoon, sorry about the email hijack however, we are working on the same thing.

Ninus.






On Wed, Nov 9, 2011 at 11:13 AM, Vlad Paiu  wrote:

Hello,

Please check in the Makefile, the 'exclude_modules?=' line. There you have
listed all the modules that have external dependencies, and that are not
compiled by default. If you need db_mysql and you have installed
libmysqlclient-dev, you can safely remove db_mysql from that list. The same
applies for mi_xmlrpc and others.

Also, what do you mean by 'to specify an OpenSIPS debug file is var log?' ?

Regrards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 04:25 PM, Nick Khamis wrote:

Maysoon,

OpenSIPS is not started. I am actually having the same problem, and
compiled opensips using:

make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" modules
make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" install

I gave up last night, and just starting to look at it again today.
Let's keep each other updated.
List, is there anyway to specify an OpenSIPS debug file is var log?

Cheers,

Ninus.

On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
wrote:

Hello Mr. Paiu&Mr. Khamis,

Thank you both for your instant responses.


I don't know if the packets reached the balancer but I don't think so.

Because when I compiled the load_balancer.cfg it gives me the following
error:

[2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.

Then I search for it in my computer but I couldn't found it. I found only
'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'

Thank you,


From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org]
On Behalf Of Vlad Paiu [vladp...@opensips.org]
Sent: Wednesday, November 09, 2011 4:45 PM
To: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to
your proxies ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:

Hello Everyone,

I 'm  trying to run the load balancer module but I couldn't make it work
properly. I know it is due to my lack of experience. But I couldn't
figure
out where is my mistake, can any one help please...I implemented it as
follows:




  >  Proxy1>--->UAS1
UAC-->LoadBalancer>
  >  Proxy2>--->UAS2

Where:

sipp(UAC):192.168.1.70:5062
opensips(Load Balancer):192.168.1.69:5060
opensips(Proxy1):192.168.1.69:5061
opensips(Proxy2):192.168.1.69:5062
sipp(UAS1):192.168.1.70:5060
sipp(UAS1):192.168.1.70:5061

I run the sipp command for the caller as follows:

sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060

When I traced the packets using wireshark I saw the error message :

Destination unreachable (port unreachable)


The load Balancer table contains the following:

    --- -

   |  id  | group_id | dst_uri   | resources
|
    --- -

   |  1  |1  | sip:192.168.1.69:5061|  pstn=32
|
   |  2  |1  | sip:192.168.1.69:5062|  pstn=

Re: [OpenSIPS-Users] Security

2011-11-09 Thread Akib Sayyed
see its too easy to use opensip if you are familiar with linux.
just to test jisti you can use iptel.org's sip server which is free of cost.

On Wed, Nov 9, 2011 at 10:36 PM, Disqus User  wrote:

>  I'm a complete beginner in SIP. I'm trying to migrate away from Skype,
> since I have no reason to trust them. (For all I know, they could have huge
> server farms where they collect people's IMs and audio chats.) I just want
> a fully secure way to chat with my family and friends, that's all. I
> recently came across Jitsi and SIP. Do these provide what I need? I have a
> few questions of this nature:
>
> 1) When I click "Register" on the OpenSIPS website, I get a "The [SSL]
> certificate for this website is invalid" message from Safari. Is your
> website insecure in some way?
>
> no need to worry caz you are not doing any money transaction

> 2) Will Jitsi work "out of the box" with OpenSIPS? Will it be easy for
> mere mortals to actually use it? I don't want to make, say, my parents go
> through too much technical hassle.
>
> yes its just another sip client same as xlite ,jitsi can work with any sip
service.
if you are usng opesips for personal use dont go for opensips(as you'll
need to setup server and manage it ,instead you can use free sip
serviceseg iptel.org) to encrypt please
use ZRTP

> 3) So, if I text chat, audio chat, and video chat with my friends through
> OpenSIPS using Jitsi, will everything (text, audio, video) be fully
> encrypted, such that no 3rd party can possibly snoop into it? (Contrast
> with Skype, where even though the stuff is secure back and forth from
> Skype's servers, it may be technically possible for Skype to snoop in on
> people's affairs.)
>
use zrtp (http://zfone.com/prod_zfone.html) to encrypt your calls.if you
use SRTP protocol then also it will work.


> 4) Any other Skype vs. Jitsi/SIP pros and cons you can think of that a
> beginner should be aware of?
>
> Thanks in advance.
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Akib Sayyed
Matrix-Shell
akibsay...@gmail.com
akibsay...@matrixshell.com
Mob:- +91-966-514-2243
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread Nick Khamis
Maysoon,

Is it working for you? Please make sure to delete everything in your
system (except for your configs), and reinstall using:
make all prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules
make install prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules


Ninus.

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


[OpenSIPS-Users] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread gwallis
I have my phones using DNS-SRV for HA with two kept in sync Asterisk PBXs.

What is the best way to setup OpenSIPS (all my DIDs go to my OpenSIPS
server) to deal with both of my Asterisk servers. OpenSIPS seems to handle
DNS-SRV, but what is the recommended configuration for my simple topology.

[Vitelity/Bandwidth/Etc.]---[openSIPS as sip switch]---|---[Asterisk0]
  
|---[Asterisk1]

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979044.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread Ovidiu Sas
You can simply forward all your calls to the active asterisk server
with a failover route to the hot spare.
If a failover occurred, mark your old hot spare as active and your old
active as spare (this will route future calls to your new active
asterisk server).

Another option would be to keep both asterisk servers active, and load
balance between them (with a failure route to the other one, in case
one is down)

Regards,
Ovidiu Sas


On Wed, Nov 9, 2011 at 1:49 PM, gwallis  wrote:
> I have my phones using DNS-SRV for HA with two kept in sync Asterisk PBXs.
>
> What is the best way to setup OpenSIPS (all my DIDs go to my OpenSIPS
> server) to deal with both of my Asterisk servers. OpenSIPS seems to handle
> DNS-SRV, but what is the recommended configuration for my simple topology.
>
> [Vitelity/Bandwidth/Etc.]---[openSIPS as sip switch]---|---[Asterisk0]
>
> |---[Asterisk1]
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979044.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] Unable to make the load balancer work

2011-11-09 Thread M.Abdulaziz


Hello Mr.Khamis,

Very sorry for not responding in time I was very busy.


& thank you for suggesting this solution I'll try it if it goes well I'll
inform you.


Many thanks to all the Opensips users & developers for their help &
cooperation.

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread duane . larson
I've implemented Dispatcher with an Active/Standby Asterisk solution and  
also using a special failure route(Like Ovidiu stated) and also  
editing "fr_inv_timer" and "fr_timer" for timeouts.


On , Ovidiu Sas  wrote:

You can simply forward all your calls to the active asterisk server



with a failover route to the hot spare.



If a failover occurred, mark your old hot spare as active and your old



active as spare (this will route future calls to your new active



asterisk server).





Another option would be to keep both asterisk servers active, and load



balance between them (with a failure route to the other one, in case



one is down)





Regards,



Ovidiu Sas






On Wed, Nov 9, 2011 at 1:49 PM, gwallis gary.wal...@voicecarrier.com>  
wrote:


> I have my phones using DNS-SRV for HA with two kept in sync Asterisk  
PBXs.



>



> What is the best way to setup OpenSIPS (all my DIDs go to my OpenSIPS


> server) to deal with both of my Asterisk servers. OpenSIPS seems to  
handle


> DNS-SRV, but what is the recommended configuration for my simple  
topology.



>



> [Vitelity/Bandwidth/Etc.]---[openSIPS as sip switch]---|---[Asterisk0]



>



> |---[Asterisk1]



>



> --


> View this message in context:  
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979044.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



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


Re: [OpenSIPS-Users] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread gwallis
Thanks guys! That was very quick, much appreciated. I will go over your
suggestions asap.

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979462.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread gwallis
Where/how is the failover route configured? 

Any more details or manual/book or other doc links hints appreciated.

(Sorry in advance for the newbie -or RTFM avoidance- questions)

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979499.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread duane . larson
This is what I did. A lot more stuff is involved but I will let you figure  
it out. I have it so that I manually have to go and enable a disabled  
asterisk server in Dispatcher because I want to make sure the failed one  
that comes back up is in sync with the spare.


### - Set timeout to failover
$avp(fr_inv_timer) = "2";
$avp(fr_timer) = "2";


switch($avp(vmserver))
{
case "1":
ds_select_dst("1","8");
#t_on_failure("10");
#t_relay();
break;
case "2":
ds_select_dst("2","8");
#t_on_failure("10");
#t_relay();
break;
case "3":
ds_select_dst("3","8");
#t_on_failure("10");
#t_relay();
break;
case "4":
ds_select_dst("4","8");
#t_on_failure("10");
#t_relay();
break;
default:
log("No Asterisk Server configured");
sl_send_reply("503","Service Unavailable");
}

t_on_failure("10");
t_relay();

avp_delete("$avp(vmserver)");
exit;


failure_route[10]{
### - Handle Asterisk Media Server Dispatcher Failures

if(t_was_cancelled() ) {
exit;
}


if( t_check_status("[56][0-9][0-9]") || t_check_status("408") ) {

### - We need to set the last Gateway as Inactive
ds_mark_dst();


if(ds_next_dst()) {

t_on_failure("10") ;

t_relay() ;
exit;
}
t_reply("503","Service not available, no more gateways");
exit ;
}
exit ;
}







On , gwallis  wrote:

Where/how is the failover route configured?





Any more details or manual/book or other doc links hints appreciated.





(Sorry in advance for the newbie -or RTFM avoidance- questions)





--


View this message in context:  
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979499.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread Ovidiu Sas
I suggest start reading the opensips documentation page:
http://www.opensips.org/Resources/Documentation
The routes are described here.:
http://www.opensips.org/Resources/DocsCoreRoutes17

Check the default opensips config file, try to understand it and then
you will be able to build and debug your own configs.

Regards,
Ovidiu Sas


On Wed, Nov 9, 2011 at 3:51 PM, gwallis  wrote:
> Where/how is the failover route configured?
>
> Any more details or manual/book or other doc links hints appreciated.
>
> (Sorry in advance for the newbie -or RTFM avoidance- questions)
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979499.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread gwallis
Thanks Ovidiu!

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979693.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] best way to use one active one hot spare asterisk server behind OpenSIPS

2011-11-09 Thread gwallis
Excellent I will setup my own lab OpenSIPS and dig into the programming seems
like a worthwhile endeavor. Thanks!


--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/best-way-to-use-one-active-one-hot-spare-asterisk-server-behind-OpenSIPS-tp6979044p6979699.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] Unable to make the load balancer work

2011-11-09 Thread Maysoon Aaziz Alduwais


Hello, When I tried to run the make commands

make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc 
dlg_flag load_balancer" modules

make install prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc 
dlg_flag load_balancer" modules


 I got the follwing error:

Cannot create temporary file in /tmp/: Invalid argument

How to fix this?

From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
Behalf Of M.Abdulaziz [malduwa...@ksu.edu.sa]
Sent: Wednesday, November 09, 2011 10:23 PM
To: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

Hello Mr.Khamis,

Very sorry for not responding in time I was very busy.


& thank you for suggesting this solution I'll try it if it goes well I'll
inform you.


Many thanks to all the Opensips users & developers for their help &
cooperation.

--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.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

Disclaimer:
This communication is intended for the above named person and is confidential 
and / or legally privileged. Any opinion(s) expressed in this communication are 
not necessarily those of KSU (King Saud University). If it has come to you in 
error you must take no action based upon it, nor must you print it, copy it, 
forward it, or show it to anyone. Please delete and destroy the e-mail and any 
attachments and inform the sender immediately. Thank you.
KSU is not responsible for the political, religious, racial or partisan opinion 
in any correspondence conducted by its domain users. Therefore, any such 
opinion expressed, whether explicitly or implicitly, in any said correspondence 
is not to be interpreted as that of KSU.
KSU may monitor all incoming and outgoing e-mails in line with KSU business 
practice. Although KSU has taken steps to ensure that e-mails and attachments 
are free from any virus, we advise that, in keeping with best business 
practice, the recipient must ensure they are actually virus free.

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


Re: [OpenSIPS-Users] Unable to make the load balancer work

2011-11-09 Thread duane . larson

When I compile I don't have the word modules after the end of my quotes.



On , Maysoon Aaziz Alduwais  wrote:





Hello, When I tried to run the make commands




make all prefix=/usr/local include_modules="db_mysql xlog dialog  
mi_xmlrpc dlg_flag load_balancer" modules




make install prefix=/usr/local include_modules="db_mysql xlog dialog  
mi_xmlrpc dlg_flag load_balancer" modules







I got the follwing error:





Cannot create temporary file in /tmp/: Invalid argument





How to fix this?






From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org]  
On Behalf Of M.Abdulaziz [malduwa...@ksu.edu.sa]



Sent: Wednesday, November 09, 2011 10:23 PM



To: users@lists.opensips.org



Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work





Hello Mr.Khamis,





Very sorry for not responding in time I was very busy.







& thank you for suggesting this solution I'll try it if it goes well I'll



inform you.







Many thanks to all the Opensips users & developers for their help &



cooperation.





--


View this message in context:  
http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.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





Disclaimer:


This communication is intended for the above named person and is  
confidential and / or legally privileged. Any opinion(s) expressed in  
this communication are not necessarily those of KSU (King Saud  
University). If it has come to you in error you must take no action based  
upon it, nor must you print it, copy it, forward it, or show it to  
anyone. Please delete and destroy the e-mail and any attachments and  
inform the sender immediately. Thank you.


KSU is not responsible for the political, religious, racial or partisan  
opinion in any correspondence conducted by its domain users. Therefore,  
any such opinion expressed, whether explicitly or implicitly, in any said  
correspondence is not to be interpreted as that of KSU.


KSU may monitor all incoming and outgoing e-mails in line with KSU  
business practice. Although KSU has taken steps to ensure that e-mails  
and attachments are free from any virus, we advise that, in keeping with  
best business practice, the recipient must ensure they are actually virus  
free.





___



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] Unable to make the load balancer work

2011-11-09 Thread Nick Khamis
Yeah, I always thoght that was strange...

Nick.

On Wed, Nov 9, 2011 at 5:41 PM,   wrote:
> When I compile I don't have the word modules after the end of my quotes.
>
>
>
> On , Maysoon Aaziz Alduwais  wrote:
>>
>>
>>
>>
>> Hello, When I tried to run the make commands
>>
>>
>>
>> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>> dlg_flag load_balancer" modules
>>
>>
>>
>> make install prefix=/usr/local include_modules="db_mysql xlog dialog
>> mi_xmlrpc dlg_flag load_balancer" modules
>>
>>
>>
>>
>>
>>  I got the follwing error:
>>
>>
>>
>> Cannot create temporary file in /tmp/: Invalid argument
>>
>>
>>
>> How to fix this?
>>
>> 
>>
>> From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org]
>> On Behalf Of M.Abdulaziz [malduwa...@ksu.edu.sa]
>>
>> Sent: Wednesday, November 09, 2011 10:23 PM
>>
>> To: users@lists.opensips.org
>>
>> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>>
>>
>>
>> Hello Mr.Khamis,
>>
>>
>>
>> Very sorry for not responding in time I was very busy.
>>
>>
>>
>>
>>
>> & thank you for suggesting this solution I'll try it if it goes well I'll
>>
>> inform you.
>>
>>
>>
>>
>>
>> Many thanks to all the Opensips users & developers for their help &
>>
>> cooperation.
>>
>>
>>
>> --
>>
>> View this message in context:
>> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.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
>>
>>
>>
>> Disclaimer:
>>
>> This communication is intended for the above named person and is
>> confidential and / or legally privileged. Any opinion(s) expressed in this
>> communication are not necessarily those of KSU (King Saud University). If it
>> has come to you in error you must take no action based upon it, nor must you
>> print it, copy it, forward it, or show it to anyone. Please delete and
>> destroy the e-mail and any attachments and inform the sender immediately.
>> Thank you.
>>
>> KSU is not responsible for the political, religious, racial or partisan
>> opinion in any correspondence conducted by its domain users. Therefore, any
>> such opinion expressed, whether explicitly or implicitly, in any said
>> correspondence is not to be interpreted as that of KSU.
>>
>> KSU may monitor all incoming and outgoing e-mails in line with KSU
>> business practice. Although KSU has taken steps to ensure that e-mails and
>> attachments are free from any virus, we advise that, in keeping with best
>> business practice, the recipient must ensure they are actually virus free.
>>
>>
>>
>> ___
>>
>> 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] Unable to make the load balancer work

2011-11-09 Thread Nick Khamis
What are you installing it on, and are you using root?

Ninus.

On Wed, Nov 9, 2011 at 5:19 PM, Maysoon Aaziz Alduwais
 wrote:
>
>
> Hello, When I tried to run the make commands
>
> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc 
> dlg_flag load_balancer" modules
>
> make install prefix=/usr/local include_modules="db_mysql xlog dialog 
> mi_xmlrpc dlg_flag load_balancer" modules
>
>
>  I got the follwing error:
>
> Cannot create temporary file in /tmp/: Invalid argument
>
> How to fix this?
> 
> From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
> Behalf Of M.Abdulaziz [malduwa...@ksu.edu.sa]
> Sent: Wednesday, November 09, 2011 10:23 PM
> To: users@lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
> Hello Mr.Khamis,
>
> Very sorry for not responding in time I was very busy.
>
>
> & thank you for suggesting this solution I'll try it if it goes well I'll
> inform you.
>
>
> Many thanks to all the Opensips users & developers for their help &
> cooperation.
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.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
>
> Disclaimer:
> This communication is intended for the above named person and is confidential 
> and / or legally privileged. Any opinion(s) expressed in this communication 
> are not necessarily those of KSU (King Saud University). If it has come to 
> you in error you must take no action based upon it, nor must you print it, 
> copy it, forward it, or show it to anyone. Please delete and destroy the 
> e-mail and any attachments and inform the sender immediately. Thank you.
> KSU is not responsible for the political, religious, racial or partisan 
> opinion in any correspondence conducted by its domain users. Therefore, any 
> such opinion expressed, whether explicitly or implicitly, in any said 
> correspondence is not to be interpreted as that of KSU.
> KSU may monitor all incoming and outgoing e-mails in line with KSU business 
> practice. Although KSU has taken steps to ensure that e-mails and attachments 
> are free from any virus, we advise that, in keeping with best business 
> practice, the recipient must ensure they are actually virus free.
>
> ___
> 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] Unable to make the load balancer work

2011-11-09 Thread Maysoon Aaziz Alduwais

I have opensips version 1.5.1-tls & I'm running this command from the root.

Did you try the solution suggested by Mr.Paiu (the exclude modules line) in the 
Makefile? I'll try it, I hope it works.

Best Wishes,


From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
Behalf Of Nick Khamis [sym...@gmail.com]
Sent: Thursday, November 10, 2011 1:44 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

What are you installing it on, and are you using root?

Ninus.

On Wed, Nov 9, 2011 at 5:19 PM, Maysoon Aaziz Alduwais
 wrote:
>
>
> Hello, When I tried to run the make commands
>
> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc 
> dlg_flag load_balancer" modules
>
> make install prefix=/usr/local include_modules="db_mysql xlog dialog 
> mi_xmlrpc dlg_flag load_balancer" modules
>
>
>  I got the follwing error:
>
> Cannot create temporary file in /tmp/: Invalid argument
>
> How to fix this?
> 
> From: users-boun...@lists.opensips.org [users-boun...@lists.opensips.org] On 
> Behalf Of M.Abdulaziz [malduwa...@ksu.edu.sa]
> Sent: Wednesday, November 09, 2011 10:23 PM
> To: users@lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
> Hello Mr.Khamis,
>
> Very sorry for not responding in time I was very busy.
>
>
> & thank you for suggesting this solution I'll try it if it goes well I'll
> inform you.
>
>
> Many thanks to all the Opensips users & developers for their help &
> cooperation.
>
> --
> View this message in context: 
> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.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
>
> Disclaimer:
> This communication is intended for the above named person and is confidential 
> and / or legally privileged. Any opinion(s) expressed in this communication 
> are not necessarily those of KSU (King Saud University). If it has come to 
> you in error you must take no action based upon it, nor must you print it, 
> copy it, forward it, or show it to anyone. Please delete and destroy the 
> e-mail and any attachments and inform the sender immediately. Thank you.
> KSU is not responsible for the political, religious, racial or partisan 
> opinion in any correspondence conducted by its domain users. Therefore, any 
> such opinion expressed, whether explicitly or implicitly, in any said 
> correspondence is not to be interpreted as that of KSU.
> KSU may monitor all incoming and outgoing e-mails in line with KSU business 
> practice. Although KSU has taken steps to ensure that e-mails and attachments 
> are free from any virus, we advise that, in keeping with best business 
> practice, the recipient must ensure they are actually virus free.
>
> ___
> 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] (no subject)

2011-11-09 Thread prasad kelkar
thanks for that
UAS :
sipp -sn uas

UAC :
sipp -sn uac -rsa OPENSIPS_IP UAS_IP

but still i would like to know in more detail
how to run sipp and where to type those commands
i am new to all this things
pleas
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users