Re: [OpenSIPS-Users] Load Balance Module URI Limit

2009-09-25 Thread Bogdan-Andrei Iancu
Hi Russell,

So, if there are more than 34 records in DB, the LB will fails? by 
failing what you mean ? it does not start or load_balance() returns 
false all the time?

Regards,
Bogdan

Russell Bierschbach wrote:

 The load_balance() call always fails if there 34 or more entries in 
 the load_balancer table.  I have confirmed that it's not a problem 
 with the entries themselves (I've tried other entries that all work 
 when there are 33 or less records).  I have also changed the shared 
 memory from the default of 32 to 64, but that didn't seem to help.  Is 
 there some other configuration I'm missing, or is this a limitation of 
 the load balancer module... is there any place I can change it?

  

 version: opensips 1.6.0dev0-notls (x86_64/linux)

  

 Russ

 

 ___
 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] List of online users

2009-09-25 Thread madhu mitha
Is there any method to send the list of online registered users to a 
SIP-phone/client as soon as a user registers with the opensips server?.. What 
changes should be made in the config script?. Cuz I'm given to understand that 
functions like ul_dump or ul show or the MI command online cannot be exported 
to be used in scripts.. I'm using Opensips 1.5.0 (no-tls) on Fedora without 
mysql.. Thanks in advance.. :)



  Keep up with people you care about with Yahoo! India Mail. Learn how. 
http://in.overview.mail.yahoo.com/connectmore___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] List of online users

2009-09-25 Thread Bogdan-Andrei Iancu
Hi,

but any registrar (including opensips), automatically sends back in the 
200OK of a REGISTER request all the registered contacts (in the Contact 
hdr of the reply). Do you need something more?

Regards,
Bogdan

madhu mitha wrote:
 Is there any method to send the list of online registered users to a 
 SIP-phone/client as soon as a user registers with the opensips 
 server?.. What changes should be made in the config script?. Cuz I'm 
 given to understand that functions like ul_dump or ul show or the MI 
 command online cannot be exported to be used in scripts.. I'm using 
 Opensips 1.5.0 (no-tls) on Fedora without mysql.. Thanks in advance.. :)


 
 From cricket scores to your friends. Try the Yahoo! India Homepage! 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 ___
 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] List of online users

2009-09-25 Thread Stanisław Pitucha
2009/9/25 madhu mitha smadh...@yahoo.com
 Is there any method to send the list of online registered users to a 
 SIP-phone/client as soon as a user registers with the opensips server?

How do you want the list to be sent? Is that some sip-client's
specific extension? Or do you just want to subscribe the client to all
other phones' events?

--
KTHXBYE,

Stanisław Pitucha, Gradwell Voip Engineer

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


Re: [OpenSIPS-Users] List of online users

2009-09-25 Thread madhu mitha
Is it so?.. The contact header seems to show only the URI of the sender who 
wants to register.. And not those of others who are registered with that 
domain.. Lik this..

SIP/2.0 200 OK
Via: SIP/2.0/UDP 
192.168.1.104:5074;rport=5074;branch=z9hG4bKPj408df03d-4ebe-404f-b7a0-4001bb5fa661
From: sip:2...@192.168.1.104;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618
To: sip:2...@192.168.1.104;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989
Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82
CSeq: 20315 REGISTER
Contact: sip:2...@192.168.1.104:5074;expires=300
Server: OpenSIPS (1.5.0-notls (i386/linux))
Content-Length: 0

What should I do?
Thanks for the prompt reply!..



--- On Fri, 25/9/09, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:

From: Bogdan-Andrei Iancu bog...@voice-system.ro
Subject: Re: [OpenSIPS-Users] List of online users
To: OpenSIPS users mailling list users@lists.opensips.org
Date: Friday, 25 September, 2009, 3:16 PM

Hi,

but any registrar (including opensips), automatically sends back in the 
200OK of a REGISTER request all the registered contacts (in the Contact 
hdr of the reply). Do you need something more?

Regards,
Bogdan

madhu mitha wrote:
 Is there any method to send the list of online registered users to a 
 SIP-phone/client as soon as a user registers with the opensips 
 server?.. What changes should be made in the config script?. Cuz I'm 
 given to understand that functions like ul_dump or ul show or the MI 
 command online cannot be exported to be used in scripts.. I'm using 
 Opensips 1.5.0 (no-tls) on Fedora without mysql.. Thanks in advance.. :)


 
 From cricket scores to your friends. Try the Yahoo! India Homepage! 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 ___
 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



  Now, send attachments up to 25MB with Yahoo! India Mail. Learn how. 
http://in.overview.mail.yahoo.com/photos___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] List of online users

2009-09-25 Thread smadhoo6

I just want the username of all the registered users to appear in the client
as soon as the client registers.
Precisely the output of the command
 #opensipsctl online  
And this should happen without the client adding a certain list of users
into it's .. say buddy list..!..
And regarding subscribe..
1) Should a database be maintained?
2) Is it possible to subscribe to all the registered users of the particular
domain??

Thanks for you time :)


Stanisław Pitucha wrote:
 
 2009/9/25 madhu mitha smadh...@yahoo.com
 Is there any method to send the list of online registered users to a
 SIP-phone/client as soon as a user registers with the opensips server?
 
 How do you want the list to be sent? Is that some sip-client's
 specific extension? Or do you just want to subscribe the client to all
 other phones' events?
 
 --
 KTHXBYE,
 
 Stanisław Pitucha, Gradwell Voip Engineer
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/List-of-online-users-tp3711302p3711595.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] List of online users

2009-09-25 Thread Bogdan-Andrei Iancu
It contains all the contacts of *that* user (the one who registers), not 
from all the subscribers.

Regards,
Bogdan

madhu mitha wrote:
 Is it so?.. The contact header seems to show only the URI of the 
 sender who wants to register.. And not those of others who are 
 registered with that domain.. Lik this..

 SIP/2.0 200 OK
 Via: SIP/2.0/UDP 
 192.168.1.104:5074;rport=5074;branch=z9hG4bKPj408df03d-4ebe-404f-b7a0-4001bb5fa661
 From: sip:2...@192.168.1.104;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618
 To: sip:2...@192.168.1.104;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989
 Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82
 CSeq: 20315 REGISTER
 Contact: sip:2...@192.168.1.104:5074;expires=300
 Server: OpenSIPS (1.5.0-notls (i386/linux))
 Content-Length: 0

 What should I do?
 Thanks for the prompt reply!..



 --- On *Fri, 25/9/09, Bogdan-Andrei Iancu /bog...@voice-system.ro/* 
 wrote:


 From: Bogdan-Andrei Iancu bog...@voice-system.ro
 Subject: Re: [OpenSIPS-Users] List of online users
 To: OpenSIPS users mailling list users@lists.opensips.org
 Date: Friday, 25 September, 2009, 3:16 PM

 Hi,

 but any registrar (including opensips), automatically sends back
 in the
 200OK of a REGISTER request all the registered contacts (in the
 Contact
 hdr of the reply). Do you need something more?

 Regards,
 Bogdan

 madhu mitha wrote:
  Is there any method to send the list of online registered users
 to a
  SIP-phone/client as soon as a user registers with the opensips
  server?.. What changes should be made in the config script?. Cuz
 I'm
  given to understand that functions like ul_dump or ul show or
 the MI
  command online cannot be exported to be used in scripts.. I'm
 using
  Opensips 1.5..0 (no-tls) on Fedora without mysql.. Thanks in
 advance.. :)
 
 
 
 
  From cricket scores to your friends. Try the Yahoo! India Homepage!
  http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 
 
 
  ___
  Users mailing list
  Users@lists.opensips.org /mc/compose?to=us...@lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 ___
 Users mailing list
 Users@lists.opensips.org /mc/compose?to=us...@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users


 
 From cricket scores to your friends. Try the Yahoo! India Homepage! 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 ___
 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] List of online users

2009-09-25 Thread Stanisław Pitucha
2009/9/25 smadhoo6 smadh...@yahoo.com:
 And this should happen without the client adding a certain list of users
 into it's .. say buddy list..!..

Buddy list works via SUBSCRIBE/presence mechanism (usually), so you'll
have to enable that in opensips.

 And regarding subscribe..
 1) Should a database be maintained?

Not sure - look for db_mode parameters in presence-related modules.

 2) Is it possible to subscribe to all the registered users of the particular
 domain??

It depends on a client probably... You can of course add subscribers
to the store manually, so that everyone is watching everyone else, but
it doesn't mean that your client will display the status of a client
it didn't ask for. So you'll have to test this one...

-- 
KTHXBYE,

Stanisław Pitucha, Gradwell Voip Engineer

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


Re: [OpenSIPS-Users] List of online users

2009-09-25 Thread smadhoo6

Orite.. So is it possible to show the other registered users ?
Thanks!

Bogdan-Andrei Iancu wrote:
 
 It contains all the contacts of *that* user (the one who registers), not 
 from all the subscribers.
 
 Regards,
 Bogdan
 
 madhu mitha wrote:
 Is it so?.. The contact header seems to show only the URI of the 
 sender who wants to register.. And not those of others who are 
 registered with that domain.. Lik this..

 SIP/2.0 200 OK
 Via: SIP/2.0/UDP 
 192.168.1.104:5074;rport=5074;branch=z9hG4bKPj408df03d-4ebe-404f-b7a0-4001bb5fa661
 From: sip:2...@192.168.1.104;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618
 To: sip:2...@192.168.1.104;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989
 Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82
 CSeq: 20315 REGISTER
 Contact: sip:2...@192.168.1.104:5074;expires=300
 Server: OpenSIPS (1.5.0-notls (i386/linux))
 Content-Length: 0

 What should I do?
 Thanks for the prompt reply!..



 --- On *Fri, 25/9/09, Bogdan-Andrei Iancu /bog...@voice-system.ro/* 
 wrote:


 From: Bogdan-Andrei Iancu bog...@voice-system.ro
 Subject: Re: [OpenSIPS-Users] List of online users
 To: OpenSIPS users mailling list users@lists.opensips.org
 Date: Friday, 25 September, 2009, 3:16 PM

 Hi,

 but any registrar (including opensips), automatically sends back
 in the
 200OK of a REGISTER request all the registered contacts (in the
 Contact
 hdr of the reply). Do you need something more?

 Regards,
 Bogdan

 madhu mitha wrote:
  Is there any method to send the list of online registered users
 to a
  SIP-phone/client as soon as a user registers with the opensips
  server?.. What changes should be made in the config script?. Cuz
 I'm
  given to understand that functions like ul_dump or ul show or
 the MI
  command online cannot be exported to be used in scripts.. I'm
 using
  Opensips 1.5..0 (no-tls) on Fedora without mysql.. Thanks in
 advance.. :)
 
 
 

 
  From cricket scores to your friends. Try the Yahoo! India Homepage!
 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 
 
  ___
  Users mailing list
  Users@lists.opensips.org /mc/compose?to=us...@lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 ___
 Users mailing list
 Users@lists.opensips.org /mc/compose?to=us...@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users


 
 From cricket scores to your friends. Try the Yahoo! India Homepage! 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 ___
 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
 
 

-- 
View this message in context: 
http://n2.nabble.com/List-of-online-users-tp3711302p3711762.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] List of online users

2009-09-25 Thread madhu mitha
Oh.. fine.. So If I have understood it rite.. it means it's not at all possible 
for a client to get the contact uris of other users who have registered , 
without the client knowing whose presence it wants to know!.. So , this 
Chatrooms like service ( lik when u log into the room, u get to see the list of 
ppl who've also joined , in spite of them not being in ur frends list!) is not 
possible?
Thanks!

--- On Fri, 25/9/09, Stanisław Pitucha virap...@gmail.com wrote:

From: Stanisław Pitucha virap...@gmail.com
Subject: Re: [OpenSIPS-Users] List of online users
To: OpenSIPS users mailling list users@lists.opensips.org
Date: Friday, 25 September, 2009, 4:36 PM

2009/9/25 smadhoo6 smadh...@yahoo.com:
 And this should happen without the client adding a certain list of users
 into it's .. say buddy list..!..

Buddy list works via SUBSCRIBE/presence mechanism (usually), so you'll
have to enable that in opensips.

 And regarding subscribe..
 1) Should a database be maintained?

Not sure - look for db_mode parameters in presence-related modules.

 2) Is it possible to subscribe to all the registered users of the particular
 domain??

It depends on a client probably... You can of course add subscribers
to the store manually, so that everyone is watching everyone else, but
it doesn't mean that your client will display the status of a client
it didn't ask for. So you'll have to test this one...

-- 
KTHXBYE,

Stanisław Pitucha, Gradwell Voip Engineer

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



  Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] List of online users

2009-09-25 Thread Bogdan-Andrei Iancu
As Stanisław asked you, how do you want to send back this information to 
the client?


Regards,
Bogdan

smadhoo6 wrote:
 Orite.. So is it possible to show the other registered users ?
 Thanks!

 Bogdan-Andrei Iancu wrote:
   
 It contains all the contacts of *that* user (the one who registers), not 
 from all the subscribers.

 Regards,
 Bogdan

 madhu mitha wrote:
 
 Is it so?.. The contact header seems to show only the URI of the 
 sender who wants to register.. And not those of others who are 
 registered with that domain.. Lik this..

 SIP/2.0 200 OK
 Via: SIP/2.0/UDP 
 192.168.1.104:5074;rport=5074;branch=z9hG4bKPj408df03d-4ebe-404f-b7a0-4001bb5fa661
 From: sip:2...@192.168.1.104;tag=24872646-f6e3-4d57-89c1-fc75e2e9c618
 To: sip:2...@192.168.1.104;tag=c97b4d1cb1f3d0da549e06a8d482ef63.4989
 Call-ID: 8ad183d2-9111-47b0-bf6d-a9cf7e5c1c82
 CSeq: 20315 REGISTER
 Contact: sip:2...@192.168.1.104:5074;expires=300
 Server: OpenSIPS (1.5.0-notls (i386/linux))
 Content-Length: 0

 What should I do?
 Thanks for the prompt reply!..



 --- On *Fri, 25/9/09, Bogdan-Andrei Iancu /bog...@voice-system.ro/* 
 wrote:


 From: Bogdan-Andrei Iancu bog...@voice-system.ro
 Subject: Re: [OpenSIPS-Users] List of online users
 To: OpenSIPS users mailling list users@lists.opensips.org
 Date: Friday, 25 September, 2009, 3:16 PM

 Hi,

 but any registrar (including opensips), automatically sends back
 in the
 200OK of a REGISTER request all the registered contacts (in the
 Contact
 hdr of the reply). Do you need something more?

 Regards,
 Bogdan

 madhu mitha wrote:
  Is there any method to send the list of online registered users
 to a
  SIP-phone/client as soon as a user registers with the opensips
  server?.. What changes should be made in the config script?. Cuz
 I'm
  given to understand that functions like ul_dump or ul show or
 the MI
  command online cannot be exported to be used in scripts.. I'm
 using
  Opensips 1.5..0 (no-tls) on Fedora without mysql.. Thanks in
 advance.. :)
 
 
 

 
  From cricket scores to your friends. Try the Yahoo! India Homepage!
 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 
 
  ___
  Users mailing list
  Users@lists.opensips.org /mc/compose?to=us...@lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users



 ___
 Users mailing list
 Users@lists.opensips.org /mc/compose?to=us...@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users


 
 From cricket scores to your friends. Try the Yahoo! India Homepage! 
 http://in.rd.yahoo.com/tagline_metro_4/*http://in.yahoo.com/trynew
 

 ___
 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] Load Balance Module URI Limit

2009-09-25 Thread Russell Bierschbach
The load_balance() call returns false when there are 34 or more records in
the table.

-Original Message-
From: users-boun...@lists.opensips.org
[mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Friday, September 25, 2009 2:18 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Load Balance Module URI Limit

Hi Russell,

So, if there are more than 34 records in DB, the LB will fails? by 
failing what you mean ? it does not start or load_balance() returns 
false all the time?

Regards,
Bogdan

Russell Bierschbach wrote:

 The load_balance() call always fails if there 34 or more entries in 
 the load_balancer table.  I have confirmed that it's not a problem 
 with the entries themselves (I've tried other entries that all work 
 when there are 33 or less records).  I have also changed the shared 
 memory from the default of 32 to 64, but that didn't seem to help.  Is 
 there some other configuration I'm missing, or is this a limitation of 
 the load balancer module... is there any place I can change it?

  

 version: opensips 1.6.0dev0-notls (x86_64/linux)

  

 Russ

 

 ___
 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] Wrong SDP parameters set

2009-09-25 Thread ASHWINI NAIDU
Hi all,

I am using opensips-1.6. when a call is made the C attribute of SDP has
2 Ip address

c=IN IP4 xxx.xxx.xxx.xxxyyy.yyy.yyy.yyy

where xxx.xxx.xxx.xxx is the ip of the sip client
yyy.yyy.yyy.yyy is the ip of the rtpproxy


-- 
Thanking You,
Ashwini BR Naidu
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Wrong SDP parameters set

2009-09-25 Thread Bogdan-Andrei Iancu
Hi ASHWINI,

That is typical result if you do call from the script RTPproxy or 
MEDIAproxy functions more than once.

Regards,
Bogdan

ASHWINI NAIDU wrote:
 Hi all,

 I am using opensips-1.6. when a call is made the C attribute of 
 SDP has 2 Ip address

 c=IN IP4 xxx.xxx.xxx.xxxyyy.yyy.yyy.yyy

 where xxx.xxx.xxx.xxx is the ip of the sip client
 yyy.yyy.yyy.yyy is the ip of the rtpproxy


 -- 
 Thanking You,
 Ashwini BR Naidu
 

 ___
 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] Presence in OpenSIPS and everyhing else in other platform

2009-09-25 Thread Francisco Gutierrez
Thanks Bogdan for your answer


So it's posible to have presence without registering the account on
OpenSIPS. So i will try that!

Best regards.

2009/9/25 Bogdan-Andrei Iancu bog...@voice-system.ro

 Hi Francisco,

 The setup is quite simply - put OpenSIPS to from your softswitch:
1) all received REGISTERs will be t_relay() to the softswitch -
 opensips will not act as a registrar at all
2) if PUBLISH or SUBSCRIBE, handle them locally on OpenSIPS via the
 presence agent configuration
3) any other requests - relay them .

 Regards,
 Bogdan

 Francisco Gutierrez wrote:
  Hi list.
 
  I'm trying to do the next thing, without success
 
  I want to enable Presence in a SoftX3000 Huawei Softswitch, and for
  that i want to use OpenSIPS. The problem is that i can't use two SIP
  accounts on the Phone (one for voip and the other for presence) so i'm
  trying to route the SIMPLE packets to the OpenSIPS and all the others
  to the Softswitch. I suppose that i must register the phone in both
  server.
 
  The Phone send the REGISTER to OpenSIPS, then OpenSIPS resend
  (t_relay) the REGISTER to the Softswitch. If i enable all the
  authentication on OpenSIPS, i get from the SoftX3000 an 401
  Unauthorized message. If i disable all the authentication on OpenSIPS
  and only resend the REGISTER to the SoftX3000, the phone register
  without problem (200 OK).
 
  I'm kind of n00b on OpenSIPS so i need a litle of help with this. ¿It
  is posible to do this? If someone need more information about my
  configuration, just ask.
 
 
  Thanks to all.
 
  Bless
 
  Saludos!
 
  PS: Sorry for my english =)
  
 
  ___
  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




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


[OpenSIPS-Users] Presence Issue

2009-09-25 Thread ASHWINI NAIDU
Hi all,

The opensips crashes due to presence problem. I have appended the log of
the opensips

Sep 25 20:33:03 rtp /sbin/opensips[5225]: NOTICE:presence:mod_init:
initializing module ...
Sep 25 20:33:03 rtp /sbin/opensips[5225]: ERROR:presence:restore_db_subs:
bad format for stored sockinfo string
Sep 25 20:33:03 rtp /sbin/opensips[5225]: ERROR:presence:mod_init: restoring
subscribe info from database
Sep 25 20:33:03 rtp /sbin/opensips[5225]: ERROR:core:init_mod: failed to
initialize module presence
Sep 25 20:33:03 rtp /sbin/opensips[5225]: ERROR:core:main: error while
initializing modules
Sep 25 20:33:03 rtp /sbin/opensips[5225]: NOTICE:presence:destroy: destroy
module ...
Sep 25 20:33:03 rtp /sbin/opensips[5225]: ERROR:dialog:use_dialog_table:
invalid database handle




-- 
Thanking You,
Ashwini BR Naidu
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Wrong SDP parameters set

2009-09-25 Thread ASHWINI NAIDU
Hi Bogdan,


Thanks for the reply. I solved it.

On Fri, Sep 25, 2009 at 6:30 PM, Bogdan-Andrei Iancu bog...@voice-system.ro
 wrote:

 Hi ASHWINI,

 That is typical result if you do call from the script RTPproxy or
 MEDIAproxy functions more than once.

 Regards,
 Bogdan

 ASHWINI NAIDU wrote:
  Hi all,
 
  I am using opensips-1.6. when a call is made the C attribute of
  SDP has 2 Ip address
 
  c=IN IP4 xxx.xxx.xxx.xxxyyy.yyy.yyy.yyy
 
  where xxx.xxx.xxx.xxx is the ip of the sip client
  yyy.yyy.yyy.yyy is the ip of the rtpproxy
 
 
  --
  Thanking You,
  Ashwini BR Naidu
  
 
  ___
  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




-- 
Thanking You,
Ashwini BR Naidu
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenXcap - OpenSIPS

2009-09-25 Thread Jawad hussain
Thanks All,

Now it seems that OpenXCAP giving some messages in Syslog but still there is
one error. Can some one help in resolving this.

*Sep 25 15:34:52 jawad-desktop openxcap[2646]: fatal error: failed to create
OpenXCAP 1.1.2: /usr/local/lib/libgnutls.so.26: undefined symbol:
gnutls_certificate_get_x509_cas*

Sep 25 15:34:52 jawad-desktop openxcap[2646]: Traceback (most recent call
last):
Sep 25 15:34:52 jawad-desktop openxcap[2646]: --- exception caught here
---
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File ./openxcap, line 61,
in module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from xcap.server import
XCAPServer
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/etc/openxcap/openxcap-1.1.2/xcap/server.py, line 24, in module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from xcap.tls import
Certificate, PrivateKey
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/etc/openxcap/openxcap-1.1.2/xcap/tls.py, line 8, in module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from gnutls.crypto import
X509Certificate,  X509PrivateKey
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/pymodules/python2.6/gnutls/crypto.py, line 11, in module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from gnutls.validators
import method_args, one_of
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/pymodules/python2.6/gnutls/validators.py, line 9, in module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from gnutls.constants
import *
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/pymodules/python2.6/gnutls/constants.py, line 38, in module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from gnutls.library import
constants
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/pymodules/python2.6/gnutls/library/__init__.py, line 7, in
module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from gnutls.library import
errors
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/pymodules/python2.6/gnutls/library/errors.py, line 15, in
module
Sep 25 15:34:52 jawad-desktop openxcap[2646]: from
gnutls.library.functions import gnutls_strerror, gnutls_alert_get
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/pymodules/python2.6/gnutls/library/functions.py, line 505, in
module
Sep 25 15:34:52 jawad-desktop openxcap[2646]:
gnutls_certificate_get_x509_cas =
_libraries['libgnutls.so.26'].gnutls_certificate_get_x509_cas
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/python2.6/ctypes/__init__.py, line 366, in __getattr__
Sep 25 15:34:52 jawad-desktop openxcap[2646]: func =
self.__getitem__(name)
Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File
/usr/lib/python2.6/ctypes/__init__.py, line 371, in __getitem__
Sep 25 15:34:52 jawad-desktop openxcap[2646]: func =
self._FuncPtr((name_or_ordinal, self))
Sep 25 15:34:52 jawad-desktop openxcap[2646]: exceptions.AttributeError:
/usr/local/lib/libgnutls.so.26: undefined symbol:
gnutls_certificate_get_x509_cas


Regards,
Jawad Hussain


2009/9/24 João Antunes joao.antu...@tagus.ist.utl.pt

 It isn't very spooky, i also recently set up an openxcap and opensips
 server and i remember that something similar happened.

 Try running openxcap manually with the no fork argument, if i'm not
 mistaken: $openxcap --no-fork
 It should give you more hints

 Cheers,
 João Antunes


 Jawad hussain escreveu:
 
  Hi,
 
  I want to use OpenXcap as an integrated presence server with OpenSIPS
  and I have just managed to get openxcap
  installed from debian repository but the problem is this when i just
  start this standalone server it seems that server get started but
  actually its not no pid exist and no process, can anybody suggest how
  to proceed.
 
  r...@jawad-desktop:/opt/
  opensips/opensips_1_5# /etc/init.d/openxcap restart
 
  Stopping OpenXCAP server: openxcap .
  Starting OpenXCAP server: openxcap
 
  --
  Regards
  Jawad Hussain
  
 
  ___
  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] solved = Re: explizit handling auf replyto

2009-09-25 Thread Uwe Kastens
Hi Bogdan,

Thanks again for your help.

I had a problem in my script, that causes some loop on one opensips
server. This causes, that the opensips server gets an INVITE from
itself, which was dropped by a security rule. After solving the cause
for that looping the expicit handlling - which caused some other trouble
- was not needed anymore.


BR

Uwe


Bogdan-Andrei Iancu schrieb:
 Hi Uwe,
 
 Sorry for the delay - I took a look at the logs and there is what I 
 understand from there:
 - I guess you do a parallel forking as the 486 comes from a second 
 branch (id 1 starting from 0) (see ;branch=z9hG4bK52ad.7d455a97.1 )
 - The TM decides to store the reply without relaying 
 DBG:tm:relay_reply: branch=1, save=1, relay=-1  TM does not relay it 
 as probably there is no final reply on the first branch (id = 0).
 
 So, the final reply is not forwarded because not all branches are 
 completed yet, so TM cannot pick yet a final reply to be sent to UAC.
 
 It is a typical behaviour during parallel forking.
 
 Regards,
 Bogdan
 
 
 Uwe Kastens wrote:
 Hello,

 Ok. I need to have that forward() in my configuration the get answers
 like 404, 486, 487 back to my asterisk. Reading your statements this
 should not be possible since I use t_relay for the requests and the
 replys should be routed by default.

 I will make a trace and post it to the list. One with forward and the
 other without.

 BR and Thanks in advance

 Uwe



 Bogdan-Andrei Iancu schrieb:
   
 Uwe,

 forward() is a function exclusivly used for REQUESTS - for replies, 
 nothing needs to be done as OpenSIPS will do it automatically:

 1) if the requests was statefully forwarded (via t_relay() ), the 
 transaction will contain all the info to route back the reply

 2) if the requests was statelessly forwarded (via forward() ), the VIA 
 stack (in received reply) will contain all the info to route back the reply

 Regards,
 Bogdan


 Uwe Kastens wrote:
 
 Hi Bogdan,

   
   
  I need to route this
 replys with an reply_route and forward them explicitly to the pstn 
 gateway.
   
   
   
 and how do you do reply routing ?? replies are automatically routed 
 based on VIA stack and you cannot influence this from script.
 
 
 ...
 if (!t_relay()) {
   sl_reply_error();
  };

 t_on_reply(1);
 }
 onreply_route[1]  {
 xlog(L_DBG,== route [1] t_on_failure msg-len from $si:$sp:
 $ml \n$mb\n ==\n);
 forward(10.20.30.101:5100);
 }

 BR

 Uwe



   
   
 Regards,
 Bogdan
 
 
 This not as it should be?



 BR

 Uwe
   
   
   
 using forward() forces a stateless behaviour of OpenSIPS. To be able to 
 catch replies for a requests (what on_reply route does) it requires a 
 statefull approach. This is the reason it does not work for you.

 If you use t_relay() instead of forward(), you should be able to use 
 failure and onreply routes.

 Regards,
 Bogdan

 Uwe Kastens wrote:
 
 
 
 Hello,

 I am using opensips 1.5.1 and I have the problem, that busy messages 
 are
 not passed to the mediagw. Anything else is working (ACK etc.pp.). If I
 route that message via forward(IP:port) to the media gw in 
 on_replyto,
 busy is processed correctly. If not, the busy is not send to the 
 mediagw.

 So I was wondering if I had to handle some replyto messages?

 BR

 uwe


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


-- 

kiste lat: 54.322684, lon: 10.13586

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


[OpenSIPS-Users] howto = mediaproxy on lenny

2009-09-25 Thread Uwe Kastens
Hello,

I was wondering why I was able to build mediaproxy packages on debian
lenny (stable) but been unable to install them.

It looks like, one needs only to build the python-application in the
correct version as dpk from source.

BR

Uwe

-- 

kiste lat: 54.322684, lon: 10.13586

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


Re: [OpenSIPS-Users] Presence in OpenSIPS and everyhing else in other platform

2009-09-25 Thread Bogdan-Andrei Iancu
Hi Francisco,

right - you do not need to register for having presence.

Regards,
Bogdan


Francisco Gutierrez wrote:
 Thanks Bogdan for your answer


 So it's posible to have presence without registering the account on 
 OpenSIPS. So i will try that!

 Best regards.

 2009/9/25 Bogdan-Andrei Iancu bog...@voice-system.ro 
 mailto:bog...@voice-system.ro

 Hi Francisco,

 The setup is quite simply - put OpenSIPS to from your softswitch:
1) all received REGISTERs will be t_relay() to the softswitch -
 opensips will not act as a registrar at all
2) if PUBLISH or SUBSCRIBE, handle them locally on OpenSIPS via the
 presence agent configuration
3) any other requests - relay them .

 Regards,
 Bogdan

 Francisco Gutierrez wrote:
  Hi list.
 
  I'm trying to do the next thing, without success
 
  I want to enable Presence in a SoftX3000 Huawei Softswitch, and for
  that i want to use OpenSIPS. The problem is that i can't use two SIP
  accounts on the Phone (one for voip and the other for presence)
 so i'm
  trying to route the SIMPLE packets to the OpenSIPS and all the
 others
  to the Softswitch. I suppose that i must register the phone in both
  server.
 
  The Phone send the REGISTER to OpenSIPS, then OpenSIPS resend
  (t_relay) the REGISTER to the Softswitch. If i enable all the
  authentication on OpenSIPS, i get from the SoftX3000 an 401
  Unauthorized message. If i disable all the authentication on
 OpenSIPS
  and only resend the REGISTER to the SoftX3000, the phone register
  without problem (200 OK).
 
  I'm kind of n00b on OpenSIPS so i need a litle of help with
 this. ¿It
  is posible to do this? If someone need more information about my
  configuration, just ask.
 
 
  Thanks to all.
 
  Bless
 
  Saludos!
 
  PS: Sorry for my english =)
 
 
 
  ___
  Users mailing list
  Users@lists.opensips.org mailto:Users@lists.opensips.org
  http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 


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




 -- 
 Pancho from Santiago/Chile
 

 ___
 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] Load Balance Module URI Limit

2009-09-25 Thread Bogdan-Andrei Iancu
OK - I will try to reproduce it. BTW, trunk or 1.5 ?

Regards,
Bogdan

Russell Bierschbach wrote:
 The load_balance() call returns false when there are 34 or more records in
 the table.

 -Original Message-
 From: users-boun...@lists.opensips.org
 [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
 Sent: Friday, September 25, 2009 2:18 AM
 To: OpenSIPS users mailling list
 Subject: Re: [OpenSIPS-Users] Load Balance Module URI Limit

 Hi Russell,

 So, if there are more than 34 records in DB, the LB will fails? by 
 failing what you mean ? it does not start or load_balance() returns 
 false all the time?

 Regards,
 Bogdan

 Russell Bierschbach wrote:
   
 The load_balance() call always fails if there 34 or more entries in 
 the load_balancer table.  I have confirmed that it's not a problem 
 with the entries themselves (I've tried other entries that all work 
 when there are 33 or less records).  I have also changed the shared 
 memory from the default of 32 to 64, but that didn't seem to help.  Is 
 there some other configuration I'm missing, or is this a limitation of 
 the load balancer module... is there any place I can change it?

  

 version: opensips 1.6.0dev0-notls (x86_64/linux)

  

 Russ

 

 ___
 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] howto = mediaproxy on lenny

2009-09-25 Thread Euge Serrano
Hello Uwe,

I recommend to upgrade your Lenny to Squeeze, after that you will be able to 
install it without problems

You can follow those easy steps

http://www.go2linux.org/how-to-upgrade-from-debian-lenny-to-squeeze

Euge



On 25/09/09 17:31, Uwe Kastens ki...@kiste.org wrote:

Hello,

I was wondering why I was able to build mediaproxy packages on debian
lenny (stable) but been unable to install them.

It looks like, one needs only to build the python-application in the
correct version as dpk from source.

BR

Uwe

--

kiste lat: 54.322684, lon: 10.13586

___
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] Load Balance Module URI Limit

2009-09-25 Thread Russell Bierschbach
1.6

version: opensips 1.6.0dev0-notls (x86_64/linux)

-Original Message-
From: users-boun...@lists.opensips.org
[mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Friday, September 25, 2009 10:39 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Load Balance Module URI Limit

OK - I will try to reproduce it. BTW, trunk or 1.5 ?

Regards,
Bogdan

Russell Bierschbach wrote:
 The load_balance() call returns false when there are 34 or more records in
 the table.

 -Original Message-
 From: users-boun...@lists.opensips.org
 [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
 Sent: Friday, September 25, 2009 2:18 AM
 To: OpenSIPS users mailling list
 Subject: Re: [OpenSIPS-Users] Load Balance Module URI Limit

 Hi Russell,

 So, if there are more than 34 records in DB, the LB will fails? by 
 failing what you mean ? it does not start or load_balance() returns 
 false all the time?

 Regards,
 Bogdan

 Russell Bierschbach wrote:
   
 The load_balance() call always fails if there 34 or more entries in 
 the load_balancer table.  I have confirmed that it's not a problem 
 with the entries themselves (I've tried other entries that all work 
 when there are 33 or less records).  I have also changed the shared 
 memory from the default of 32 to 64, but that didn't seem to help.  Is 
 there some other configuration I'm missing, or is this a limitation of 
 the load balancer module... is there any place I can change it?

  

 version: opensips 1.6.0dev0-notls (x86_64/linux)

  

 Russ

 

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


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


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

   


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


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


Re: [OpenSIPS-Users] Soon you can Blink!

2009-09-25 Thread osiris123d

From the Blink screenshots we see that it is running on MacOS.  Will this be
able to run on Windows?  Is it Java based?  Also I went to the registration
page and signed up, but I am wondering if the early adoption program has
started or if the email will be sent out shortly?

Thanks



Adrian Georgescu wrote:
 
 http://wiki.icanblink.com/
 
 Blink implements RTP audio sessions (VoIP), session based Instant  
 Messaging (IM), file transfer and multi-party chat sessions using MSRP  
 protocol and its relay extension, desktop sharing using VNC protocol,  
 publication and subscription for rich presence information such as  
 availability, moods, activities and geo-location, management for the  
 presence rules, resource lists, RLS services documents using XCAP  
 protocol.
 
 You can receive a notification when the software become available or  
 participate to our early adopter program by registering on the mailing  
 list:
 
 http://lists.ag-projects.com/mailman/listinfo/blink
 
 --
 Adrian
 
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Soon-you-can-Blink-tp3706066p3714945.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] how do you determine first registration of a device

2009-09-25 Thread Alex G
I have a scenario where I'm trying to fire a script based on the first
registration of a device. In normal circumstances I can check the location
table using registered() function and if there is an entry i know it's not
the first registration. My problem is when a phone does a quick reboot., it
sometimes comes back on line before the phone's entry is removed from the
location table. In this case, the above solution does not work.

Can anyone provide advice on how to determine first registration of a phone
coming back online in another way?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] unix domain MI

2009-09-25 Thread Richard Revels
I'm using unix domain socket for MI on opensips-1.5.2 and am getting  
an error when trying to do opensipsctl ul show.  Is this something  
that was fixed in a newer version?

Sep 25 19:36:21 wtrunking /usr/local/opensips/sbin/opensips[10316]:  
ERROR:mi_datagram:mi_datagram_flush_tree: failed to write - reason too  
long!
Sep 25 19:36:21 wtrunking /usr/local/opensips/sbin/opensips[10316]:  
ERROR:mi_datagram:mi_datagram_flush_tree: failed to write - reason too  
long!
Sep 25 19:36:21 wtrunking /usr/local/opensips/sbin/opensips[10316]:  
ERROR:mi_datagram:datagram_recur_write_tree: failed to write -line too  
long!!!
Sep 25 19:36:21 wtrunking /usr/local/opensips/sbin/opensips[10316]:  
ERROR:mi_datagram:mi_datagram_server: failed to build the response

Richard Revels




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