Re: [OpenSIPS-Users] Extracting a value from a header and assigning it to an AVP

2011-09-28 Thread Sven Schulz
this condition !  On Wed, Sep 28, 2011 at 1:26 AM, Sven Schulz sv...@psu.edu wrote: Lets say for example, another SIP server sends my opensips server a header ³P-Hint: 3². I would like to extract the value (3) from that header (P-Hint:) and assign it to an AVP. How do I do this? I tried

[OpenSIPS-Users] Extracting a value from a header and assigning it to an AVP

2011-09-27 Thread Sven Schulz
Lets say for example, another SIP server sends my opensips server a header ³P-Hint: 3². I would like to extract the value (3) from that header (P-Hint:) and assign it to an AVP. How do I do this? I tried this but it doesn¹t seem to work: if (is_present_hf(P-Hint)) {

Re: [OpenSIPS-Users] unable to load module mi_xmlrpc

2011-07-14 Thread Sven Schulz
I had a similar problem on Centos (and RHEL). Try downloading the latest version of xmlrpc-c from svn. On 7/14/11 11:31 AM, Akib Sayyed akibsay...@gmail.com wrote: guys i am having problem loading libxmlrpc here is error Jul 14 13:58:46 localhost opensips: ERROR:core:sr_load_module: could

Re: [OpenSIPS-Users] opensips.pid on Red Hat

2011-03-10 Thread Sven Schulz
For opensip-cp install on centos 5, here are the packages I installed (using yum): php php-mysql php-xmlrpc php-pear-MDB2 php-pear-Log php-pear-MDB2-Driver-mysql Sven Schulz Penn State University Telecommunications and Network Services 814.865.6116 sip:s...@psu.edu On 3/10/11 5:12 AM, Toyima

Re: [OpenSIPS-Users] how to fit OpenSIPS into my scenario of database routing with more params?

2011-02-22 Thread Sven Schulz
Yes you can use the permissions module to check the incoming IP. Use the function called check_source_address() before calling do_routing. Sven On 2/22/11 2:05 PM, Georgy Goshin go...@inbox.ee wrote: Hello! I need to replace Mera MVTS in VoIP wholesale setup, need help with it because I

Re: [OpenSIPS-Users] Dialog Module and Bogus Event 8 in state 2

2011-01-19 Thread Sven Schulz
? Thanks and regards, Bogdan Sven Schulz wrote: Bogdan, I hope this capture gets formatted correctly when I paste it in. Apparently Cisco uses NOTIFY to negotiate DTMF-relay. Inside the initial INVITE is a Allow-Events: kpml which the receiving gateway interprets this as an out-of-band dtmf

Re: [OpenSIPS-Users] Dialog Module and Bogus Event 8 in state 2

2011-01-14 Thread Sven Schulz
/ processing of the NOTIFY... Best regards, Bogdan Sven Schulz wrote: Directly after the 183 Ringing is a NOTIFY message coming from the destination (which is a Cisco Sip gateway). The source sends a corresponding 200 OK to this NOTIFY (also a cisco PBX). So is the bogus event

Re: [OpenSIPS-Users] Dialog Module and Bogus Event 8 in state 2

2011-01-12 Thread Sven Schulz
dialog in early state.maybe it is a PRACK to the 183can you check that ? Regards, Bogdan Sven Schulz wrote: Running opensips 1.6.3, dialog module seems to function correctly however I keep getting these messages: CRITICAL:dialog:log_next_state_dlg: bogus event 8 in state 2 for dlg

[OpenSIPS-Users] Dialog Module and Bogus Event 8 in state 2

2011-01-11 Thread Sven Schulz
-8ec1eb8e532c-42504961' '292F5834-D13' They only seem to happen when an INVITE is followed by a 183 RINGING message. INVITES without a 183 wont get this error messege. Is this normal or should I be concerned? Sven Schulz Penn State University Telecommunications and Network Services 814.865.6116 sip:s

[OpenSIPS-Users] Private Memory vs Shared Memory

2010-11-18 Thread Sven Schulz
Just a few generic questions: What is the difference between shared and private memory in opensips? And how does each relate to the child processes? Also, is there a good guideline to what these should be set in relation to how much RAM is installed. Thanks, Sven Schulz Penn State University

Re: [OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-11-04 Thread Sven Schulz
- see http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id294060) when the GW is selected - you can check the value of the AVP for whatever purposes. You can use attr to place a token meaning GW is internal or external. Regards, Bogdan Sven Schulz wrote: Thanks Bogdan

Re: [OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-11-03 Thread Sven Schulz
goes_to_gw() after do_routing() ? I mean, after do_routing() it is pretty sure the call will go to a gw. Regards, Bogdan Sven Schulz wrote: After hitting do_routing, the RURI contains the DNS name of the selected gw. Because I have the DNS name entered in dr_gateways. If I change the DNS name

Re: [OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-11-02 Thread Sven Schulz
goes_to_gw() and does not work? If so, I can provide you a small patch for extra debugging to doublechecks the checks in goes_to_gw() Regards, Bogdan Sven Schulz wrote: Yes I believe Im seeing it resolve when I reload drouting: Oct 29 13:22:14 testsipcore1 /sbin/opensips[9313

Re: [OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-11-02 Thread Sven Schulz
: and when calling goes_to_gw(), what the current RURI contains: the IP or the name ? Bogdan Sven Schulz wrote: Yes that is the correct IP. But the IP address works fine, its the DNS name shown in the output below that doesn't work in goes_to_gw. On 11/2/10 5:21 AM, Bogdan-Andrei Iancu bog

Re: [OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-10-29 Thread Sven Schulz
/drouting.html#id294469 ? in latest SVN 1.6.3, in debug mode, you should see some messages (at startup) like : first gw ip addr [x] additional gw ip addr [] indicating the DNS resolving of GWs defined by names. Regards, Bogdan Sven Schulz wrote: Using opensips 1.6.3 SVN # 7282

Re: [OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-10-29 Thread Sven Schulz
, and it debug=6 do you see in the logs the messages I mentioned ? Regards, Bogdan Sven Schulz wrote: HI Bogden, I thought this param was enabled by default? But I set it anyways and it doesn't make a difference. On 10/23/10 6:57 AM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi

[OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-10-19 Thread Sven Schulz
or is it a bug? do_routing() if (goes_to_gw(2)) { xlog (the GW type is 2); setflag(10); route(4); exit; } For example, the above code only works if the gateway is defined as ³10.1.1.5² not ³test.something.com². The gw type field is always set to ³2². Sven Schulz Penn State

[OpenSIPS-Users] Cdr_flag error in ACC module

2010-08-19 Thread Sven Schulz
in config file, line 124, column 20-21: Parameter cdr_flag not found in module acc - can't set Aug 19 11:00:12 osdevel opensips: ERROR:core:main: bad config file (1 errors) Sven Schulz ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org

[OpenSIPS-Users] XLOG Module Missing?

2010-07-23 Thread Sven Schulz
HI, Ive checked out the latest (7059) and it appears as if xlog is misssing in 1.6? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] XLOG Module Missing?

2010-07-23 Thread Sven Schulz
Nevermind, I see its been moved into core. On 7/23/10 4:32 PM, Sven Schulz sv...@psu.edu wrote: HI, Ive checked out the latest (7059) and it appears as if xlog is misssing in 1.6? ___ Users mailing list Users@lists.opensips.org http

Re: [OpenSIPS-Users] Dialplan Segfaults with Blank Fields

2010-06-04 Thread Sven Schulz
How do I do that? On 6/3/10 4:27 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Sven, could you get the backtrace from the core file ? Regards, Bogdan Sven Schulz wrote: I was having problem with control panel (dialplan) so I decides to enter diaplan rules using mysql

Re: [OpenSIPS-Users] Opensips-cp Dialplan Problem

2010-06-04 Thread Sven Schulz
5:53 AM, Alex Ionescu a...@opensips.org wrote: Hi Sven, I have tested the latest version of CP (taken from SVN). I've inserted a few rules, and it worked just fine. All the fields were populated. Can you be more specific please ? Regards, Alex On 6/3/2010 16:55, Sven Schulz wrote

Re: [OpenSIPS-Users] Drouting and SRV records

2010-06-03 Thread Sven Schulz
Thanks Bogdan, That does resolve correctly now. On 6/2/10 4:04 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: While checking the SIP DNS resolver, found some issues that I fixed on SVN trunk (see rev 6936). Could you re-test Regards, Bogdan Sven Schulz wrote: Sure

[OpenSIPS-Users] Opensips-cp Dialplan Problem

2010-06-03 Thread Sven Schulz
Using opensips-cp latest version from SVN. Whenever I use CP to insert a new rule, some of the fields arnt populated. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Drouting and SRV records

2010-06-02 Thread Sven Schulz
3 - skipping Sven On 6/2/10 2:36 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Sven, is phonetest.psu.edu valid (resolvable) in DNS ? try enabling full debug (debug=6) and see the previous debug messages from the DNS resolver. Regards, Bogdan Sven Schulz wrote

Re: [OpenSIPS-Users] Drouting and SRV records

2010-06-02 Thread Sven Schulz
Sure: +--+--+---+---++---+ ++ | gwid | type | address | strip | pri_prefix | attrs | probe_mode | description| +--+--+---+---++---+ ++ |

[OpenSIPS-Users] Drouting and SRV records

2010-06-01 Thread Sven Schulz
]: ERROR:drouting:dr_load_routing_info: failed to add destination id 20 - skipping Dest ID #20 is that SRV record. So does this mean that I cant use SRV records as gateways in drouting? Sven Schulz Penn State University Telecommunications and Network Services 814.865.6116 sip:s...@psu.edu

[OpenSIPS-Users] Opensips-CP Required Fields

2010-05-18 Thread Sven Schulz
? Sven Schulz Penn State University Telecommunications and Network Services ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Opensip-cp and xml-rpc-c question

2010-04-28 Thread Sven Schulz
it please do : ./configure --disable-abyss-threads (this is very important) ... then you do as usual make all and make install. I hope you will succeed eventually ! Regards, Alex On 4/27/2010 22:58, Sven Schulz wrote: Opensip-cp and xml-rpc-c question 2 part Question: 1. Can I use

Re: [OpenSIPS-Users] Opensip-cp and xml-rpc-c question

2010-04-28 Thread Sven Schulz
:45 AM, Sven Schulz sv...@psu.edu wrote: Alex, I just tried what you said and it still doesn¹t work. Are there any dependencies for xml-rpc-c that I need? Also, Im using 64 bit, if that matters. Sven On 4/28/10 4:49 AM, Alex Ionescu a...@opensips.org wrote: Hi Sven, For your first

[OpenSIPS-Users] Db_mysql disconnect/reconnect errors

2010-04-13 Thread Sven Schulz
]: INFO:db_mysql:get_new_stmt_ctx: re-connected successful for 0x792a70 Sven Schulz Penn State University Telecommunications and Network Services 814.865.6116 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman