Hi Bogdan,
Actually I managed to reproduce the problem with debug=4 (I took more
than one re-Subscribe cycle), see line 11345 in file below:
https://dl.dropboxusercontent.com/u/3182365/opensips-subscribe-fail.log
Best regards,
Chris
Hi Chris,
This is more than weired...I will try to
Hi Bogdan,
Something very odd. I am unable to reproduce this issue with debug set
to 4. With debug=4 OpenSIPS is correctly refreshing subscription.
As soon as I change debug to 3 or 2 the problem is back.
Regards,
Chris
Hi Chris,
Could you please run a test only this single
Hi Bogdan,
Another short video (switch to HD 1080p for better quality):
https://www.youtube.com/watch?v=8IHaso7gY9I
as you can see the subscription is initially visible both in MI and DB.
It seems it disappears both from memory and DB right the very same
moment when the next re-subscription
Hi Bogdan,
pcap trace for Jitsi 198472 on the right side of the video:
https://dl.dropboxusercontent.com/u/3182365/jitsi/jitsi-198472.pcap
trace produced from the above:
https://dl.dropboxusercontent.com/u/3182365/jitsi/jitsi-198472_index.html
F36 is where unexpected 481 Subscription does
Hi Bogdan,
Traces are coming from production server with debug=-2 in the main .cfg
file, and I got no ERR:presence... error at all.
Could you please let me know what debug level shall I set to see the errors?
Best regards,
Chris
Hi Chris,
When the 481 reply is generated, what is the
Hi Bogdan,
When 481 reply is generated I see:
ERROR:presence:get_stored_info: record not found in hash_table
ERROR:presence:handle_subscribe: getting stored info
I also see:
ERROR:presence:update_presentity: No E_Tag match
[a.1391365440.4336.222096.59935]
but this would be related to issue
Hi,
I am trying to get open source SIP client - Jitsi - to work with
OpenSIPS presence.
The problem is I am getting 481 Subscription does not exists to it
seems established and asknowledged SUBSCRIBE dialog, and relevant
record from active_watchers table is removed.
Please see 6 minutes long
Hi Bogdan,
Many thanks for looking into this.
I will try to get carrier who operates UAC2 to fix their buggy SIP Proxy.
Best regards,
Chris
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Hi,
I have a strange problem with OpenSIPS 1.11.1 removing Via header and
routing 487 response with no Via header (which is than dropped by UA1
as invalid SIP packet - missing Via).
You can see the call flow below:
https://dl.dropboxusercontent.com/u/3182365/call-cancel/call2_index.html
I
Hi,
Thanks! Moving db_mysql.so to the very top of my modules list solved problem :)
Best regards,
Chris
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Hi,
Please find below link to a pastebin showing system debug logs:
http://pastebin.com/JmJsrkfG
Best regards,
Chris
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Hi,
Just upgraded to 1.10.1 and when starting openSIPS getting error as
below in a log file:
ERROR:db_mysql:mysql_raise_event: event not registered -1
Any suggestions what my be the reason for it and how to fix very much
appreciated.
Best regards,
Chris
Hi,
I have OpenSIPS 1.6.2 running as a production server for more than 2
years now. Today it has crashed leaving the following in syslog:
kernel: opensips[3328]: segfault at 0 ip 00422e13 sp
7fffb002f220 error 4 in opensips[40+142000]
full backtrace attached to this message.
for the INVITEs without credentials.
Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 04/21/2013 11:26 AM, Chris Maciejewski wrote:
Hi,
I have a scenario where OpenSIPS relays proxy authentication to PSTN
gateway which uses SRV records
Hi,
I have a scenario where OpenSIPS relays proxy authentication to PSTN
gateway which uses SRV records of equal priority and weight. Example
SIP diagram can be found below:
https://dl.dropboxusercontent.com/u/3182365/OpenSIPS-SRV-Auth.pdf
Would it be possible to make OpenSIPS send Re-INVITE
Hi,
Writing to let you know we just published Nagios plugin that checks
OpenSIPs memory (private/shared) usage.
Useful when you want to monitor your OpenSIPs server with this popular
open source monitoring tool.
Please see below for more details:
Hi,
I was wondering if there is a way to get a list of active watchers
cached in memory (before they are dumped to active_watchers table) via
MI.
What I am looking for is similar functionality as in ul_dump MI
command of userloc module.
Is this possible at all?
Best regards,
Chris
Hi,
I am having troubles with {s.decode.hexa} transformation.
My URI is sip:%232005@sip.local (note: '#' character encoded as %23),
so I would expect the following:
$var(rUdecoded) = $(rU{s.decode.hexa});
xlog(Decoded URI: $var(rUdecoded));
to print in the log file:
Decoded URI: #2005
but
Hi,
I am using OpenSIPs 1.6.4.2 no-tls. When UA sends PUBLISH with empty
body to remove Event State as per 4.5 RFC 3903 OpenSIPs logs the
following error:
ERROR:presence_xml:agregate_xmls: while parsing xml body message
ERROR:presence_xml:pres_agg_nbody: while aggregating body
Hi,
What is the maximum subscribers population (assuming I NAT ping them
all) I can handle with default memory allocation?
At what number of registers do I need to compile OpenSIPs with more
memory as described at: http://www.opensips.org/Resources/DocsTsInm
Regards,
Chris
Hi, I am trying (on OpenSIPs 1.6.2 no tls) to use ds_is_in_list
function in REQUEST_ROUTE as described in:
http://www.opensips.org/html/docs/modules/1.6.x/dispatcher.html#id293378
dispatcher.so is loaded for sure, as I can use other function from
this module just fine. But this block:
if
To answer my own question... I missed the fact second argument 'port'
is also mandatory.
Once change to:
if (ds_is_in_list($si, $sp))
{
// do some stuff
}
All works as expected.
Regards,
Chris
On 11 May 2011 20:46, Chris Maciejewski ch...@wima.co.uk wrote:
Hi, I am trying
Hi,
Could please someone explain to me how expired records are (or should
be) purged from 'presentity' (MySQL) table?
What mechanism (and how often) triggers deletion of old records?
Recently I discovered couple of hundred of thousands records in
'presentity' table with 'expires' timestamp a
queries will go
via same connection with no risk to have something else between.
Regards,
Bogdan
Chris Maciejewski wrote:
Hi,
I am trying to figure out if is it safe to use in OpenSIPs config file:
avp_db_query(INSERT INTO some_table VALUES ('data1'));
avp_db_query(SELECT
Hi,
I am trying to figure out if is it safe to use in OpenSIPs config file:
avp_db_query(INSERT INTO some_table VALUES ('data1'));
avp_db_query(SELECT LAST_INSERT_ID(),$avp(last_id););
// do stuff with $avp(last_id);
How does OpenSIPs connects to MySQL sever? Does it use some smart
connection
wrote:
Hi Cris,
I updated the config: http://www.opensips.org/Resources/PuaXmppConfig.
Regards,
--
Anca Vamanu
www.voice-system.ro
On 11/03/2010 06:22 PM, Chris Maciejewski wrote:
Hi,
I am trying to implement the scenario where SIP UA will subscribe to
the presence of Google Talk XMPP
Hi Anca,
Thanks you! Missing sip_domain parameter was the reason for my problem.
Kind regards,
Chris
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Hi,
I am trying to implement the scenario where SIP UA will subscribe to
the presence of Google Talk XMPP user via OpenSIPs (1.6.2)
pua_xmmp/xmpp modules and third party XMPP server (ejabberd or
jabberd2). Please see diagram below:
[ SIP UA ]
|
SUBSCRIBE u...@gmail.com
Hi,
I am trying to send SIP MESSAGE to my Google Talk account via OpenSIPs
XMPP module + jabberd2.
Currently using configuration exactly as per
http://www.opensips.org/html/docs/modules/1.6.2/xmpp.html
When I am sending:
MESSAGE sip:gtalk-u...@talk.google.com SIP/2.0.
Via: SIP/2.0/UDP
no module parameter, you'd probably need to hack the source code.
On Sat, Apr 24, 2010 at 12:27 AM, Chris Maciejewski ch...@wima.co.uk wrote:
Hi,
Is it possible to use different name of 'location' table? For example
if I wanted to use 'prefix1_location' instead of standard 'location',
I
pinging
them ?
I can make a small patch to you to set nathelper for pinging only if the
record socket is local, if not, no pinging - this may solve the pinging
problem, but overall, it will make no difference I guess.
Regards,
Bogdan
Chris Maciejewski wrote:
Hi,
I made a diagram
On 24 April 2010 00:14, Iñaki Baz Castillo i...@aliax.net wrote:
2010/4/23 RAJNIKANT VANZA rajniva...@gmail.com:
Hi Chris,
You want to try for 2 opensips + 1 MySQL database.
As per my knowledge u can write listen = 0.0.0.0 ipaddress in both
opensip.crf file and try it.
I have configured
Hi,
Is it possible to use different name of 'location' table? For example
if I wanted to use 'prefix1_location' instead of standard 'location',
I understand in my config file I would use:
save(prefix1_location);
lookup(prefix1_location);
but how do I tell 'userloc' module to use
On 22 April 2010 19:52, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris Maciejewski ch...@wima.co.uk
Hi,
I made a diagram showing what I am trying to achieve:
http://wima.co.uk/2x_opensips.pdf
Is this possible at all?
Can we make two OpenSIPs share the same 'location' table, yet each
Hi,
I'm trying to run two opensips instances accessing one MySQL database
using the usrloc db-only mode.
This results in the following warning in my log files:
WARNING:usrloc:get_all_db_ucontacts: non-local socket
udp:xxx.xxx.xxx.xxx:5060...ignoring
The only discussion/solution I found was in
On 22 April 2010 17:30, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris Maciejewski ch...@wima.co.uk
Hi,
I'm trying to run two opensips instances accessing one MySQL database
using the usrloc db-only mode.
This results in the following warning in my log files
On 22 April 2010 17:47, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris Maciejewski ch...@wima.co.uk
On 22 April 2010 17:30, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris Maciejewski ch...@wima.co.uk
Hi,
I'm trying to run two opensips instances accessing one MySQL database
On 22 April 2010 17:58, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris Maciejewski ch...@wima.co.uk
On 22 April 2010 17:47, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris Maciejewski ch...@wima.co.uk
On 22 April 2010 17:30, Laszlo las...@voipfreak.net wrote:
2010/4/22 Chris
On 22 April 2010 18:00, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:
Hi Chris,
running 2 opensips with different IPs ? because opensips saves in
location table its own socket (where the REGISTER was received), and if
the other server will try to use it, it will not recognize this socket
On 22 April 2010 18:11, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:
Chris Maciejewski wrote:
On 22 April 2010 18:00, Bogdan-Andrei Iancu bog...@voice-system.ro wrote:
Hi Chris,
running 2 opensips with different IPs ? because opensips saves in
location table its own socket (where
-system.ro wrote:
Hi Chris,
Sure it is possible. Do in cfg:
listen=udp:ip:5060
listen=udp:ip:5566
listen=tcp:ip:5060
listen=tcp:ip:5566
And do not forget to set fork to yes.
Regards,
Bogdan
Chris Maciejewski wrote:
Hi,
I know the answer to this question is probably
Hi,
I know the answer to this question is probably no, but wanted to
check with you.
Is it possible to make one instance of opensips listen on two different ports?
Lets say if I wanted opensips to listen on UDP/TCP 5060 and UDP/TCP 5566?
Can this be done?
Best regards,
Chris
maybe with multidomain configuration ?
sorry I'm new to openSIPS and not sure
Thanks for your suggestion, but multidomain will not solve this problem.
In fact there is 'domain' and 'username' column in 'presentity' table,
so you can easily distinguish presence record coming from different
Hi Anca,
Thanks for your reply.
What I would like to do is:
1. There is a subscriber sip:us...@exampe.com
2. He has two endpoints registered:
a) sip:us...@10.10.0.1:43431 (UA1) - presence online
b) sip:us...@10.10.0.2:23433 (UA2) - presence away
3. When incoming MESSAGE request is
Hi Iñaki,
Thanks for your reply. Please see my comments below.
I understand what you mean but this is not how SIMPLE is designed.
Would it not be useful to add contact column to presentity table,
so we could map presence status to particular contact?
No, this is not possible. presentity
Current status (away/busy etc) as PUBLISHed by the User Agent is
stored in 'presentity' table.
Let say there are two enpoints registered for subscriber 1000 at
sip:1...@192.168.5.10:5060 and sip:1...@192.168.5.11:5060.
Is there any way to distinguish in 'presentity' table which record
relates to
Iancu bog...@voice-system.ro:
Hi Chris,
Found the problem and fixed it. Please updated from SVN and give it a try.
Regards,
Bogdan
Chris Maciejewski wrote:
Hi Bogdan,
Thanks for your help.
XML MI command attached.
Please let me know if I can help somehow in fixing this issue (testing
the display
name and adds an extra pare of angle brackets...Could you send the
complete MI command you are using - I will try to reproduce and debug this.
Thanks Regards,
Bogdan
Chris Maciejewski wrote:
Hi,
I am trying to include display name in a From header (ie. 'From:
Test User
Hi,
I am trying to include display name in a From header (ie. 'From:
Test User sip:t...@example.com'), when sending local messages with
mi_xmlrpc (openSIPs 1.5.3).
Already tried many options, but I always end up with 'From: Test
User sip:t...@example.com' which obviously fails.
My XML headers
Hi Saúl, thanks for suggestion, but this is exactly the code I currently use.
I posted it in my previous message in this thread:
http://lists.opensips.org/pipermail/users/2009-September/008034.html
...unfortunately it doesn't work the way I want.
2009/9/13 Saúl Ibarra sag...@gmail.com:
Read
...@sip1.domain.com password
2009/9/9, Chris Maciejewski ch...@wima.co.uk:
Hi,
What would be the best/easiest way of preventing registrations into
wrong domains?
For example:
subscriber table:
| username | domain | password
| 1 | sip1.domain | secret1
reply 401 Unauthorized,
and if user 10001 will send REGISTER to sip1.domain OpenSIPs will
always reply 401 Unauthorized.
Regards,
Chris
2009/9/12 Iñaki Baz Castillo i...@aliax.net:
El Sábado, 12 de Septiembre de 2009, Chris Maciejewski escribió:
if (!www_authorize($td, subscriber))
Why the f
Hi,
What would be the best/easiest way of preventing registrations into
wrong domains?
For example:
subscriber table:
| username | domain | password
|1| sip1.domain | secret1
|10001| sip2.domain | secret2
in my openser.cfg I got:
modparam(usrloc,
duane.lar...@gmail.com:
Can we see the code in your opensips.cfg file that is handling your Register
requests?
Chris Maciejewski wrote:
Hi,
What would be the best/easiest way of preventing registrations into
wrong domains?
For example:
subscriber table:
| username | domain
Hi,
I just noticed OpenSIPs dies with the following output in the log,
when MySQL goes down:
ERROR:db_mysql:re_init_statement: failed while mysql_stmt_prepare:
(1243) Unknown prepared statement handler (4) given to
mysql_stmt_close
ERROR:db_mysql:db_mysql_do_prepared_query: failed to re-init
Sorry, should have mentioned this in my first post. I am running
opensips-1.5.1-notls
Best regards,
Chris
2009/6/21 Thomas Gelf tho...@gelf.net
What OpenSIPS version are you running? Some related issues habe been
fixed with 1.5.1...
Best regards,
Thomas Gelf
Chris Maciejewski schrieb
Hi Matti,
Below is a PHP snippet I use do add subscribers directly to MySQL database:
$username = 'some_user';
$realm = 'my.sip.com';
$password = 'top_secret';
$ha1 = md5($username.':'.$realm.':'.$password);
$ha1b = md5($username.'@'.$realm.':'.$realm.':'.$password);
$query =
Hi Bogdan,
Yes, sure. No problem at all.
Best regards,
Chris
2009/5/14 Bogdan-Andrei Iancu bog...@voice-system.ro:
Hi Chris,
Can I link your tool from the opensips tools web page -
http://www.opensips.org/Resources/DocsTools ?
Thanks and regards,
Bogdan
Chris Maciejewski wrote:
Hi
Hi,
You can find a PhpSIP UA I wrote some time ago, which can be used to
send a NOTIFY to resync/reboot Linksys phone. It is far from being a
complete SIP UA (no transactions matching etc.), but I am using it all
the time to send NOTIFY, or INVITE, REFER for Click 2 Call from my web
application
Hi,
I would like to ask what would be the best way to handle CANCEL
request with a To tag. I know such a CANCEL request is not RFC
compatible, but unfortunately I came across some buggy UAs doing this.
What I did is:
if (has_totag())
{
/**
* sequential request withing a dialog should
*
();
exit;
}
to my lose routing logic, OpenSIPs generates CANCEL and sends it to
the next hop:
http://wima.co.uk/sip/2009-05-11_10-46-46-test-call_index.html
2009/5/11 Iñaki Baz Castillo i...@aliax.net:
2009/5/11 Chris Maciejewski ch...@wima.co.uk:
Hi,
I would like to ask what would be the best
2009/4/21 Bogdan-Andrei Iancu bog...@voice-system.ro:
Hi Chris,
Chris Maciejewski wrote:
Hi,
I am trying to implement a Ring Group with
a Memory Hunt ring strategy.
The scenario looks as follows:
There is a subscriber A, B and C. All of them are members of the same
Ring Group.
When
2009/4/19 Iñaki Baz Castillo i...@aliax.net:
El Domingo, 19 de Abril de 2009, Chris Maciejewski escribió:
Hi,
I am trying to implement a Ring Group with
a Memory Hunt ring strategy.
The scenario looks as follows:
There is a subscriber A, B and C. All of them are members of the same
Ring
Hi,
I am trying to implement a Ring Group with
a Memory Hunt ring strategy.
The scenario looks as follows:
There is a subscriber A, B and C. All of them are members of the same
Ring Group.
When there is a INVITE to a Ring Group Opensips should send an
INVITE to subscriber A, after 10 seconds
Hi,
I am trying to catch bad URIs like sip:!@some.domain.com, but despite having:
--
if (!uri=~^sip:[0-9]{1,1...@.*)
{
sl_send_reply(403, 403 Forbidden);
exit;
}
---
in the beginning of my main route, when sending INVITE
sip:!@some.domain.com to my OpenSips I can
Hi,
I am not sure what is wrong with my config, but 'domain' column in
'location' table is always 'NULL'.
Any help, suggestions very much appreciated.
Best regards,
Chris
___
Users mailing list
Users@lists.opensips.org
66 matches
Mail list logo