Re: [OpenSIPS-Users] Crash: EOF on 12 (v.1.6.4.2)

2011-11-29 Thread Bogdan-Andrei Iancu
Hi James, It seams that the crash is because of a bogus debug message - do you run opensips in full debug mode (debug=6) ? Anyhow, in gdb, please switch to frame #1 and print the following values: p *p *p-pres_uri p-pres_uri *p-watcher_uri p-call_id p-to_tag

Re: [OpenSIPS-Users] Modify To:'s field and forward

2011-11-29 Thread Bogdan-Andrei Iancu
Hi, See the uac module, with the uac_replace_from() and uac_replace_to() functions: http://www.opensips.org/html/docs/modules/1.7.x/uac.html#id250475 http://www.opensips.org/html/docs/modules/1.7.x/uac.html#id292749 The functions allows you independently change the display or/and the

Re: [OpenSIPS-Users] CRITICAL:core:yyerror: parse error in config file

2011-11-29 Thread Bogdan-Andrei Iancu
Hi, There is nothing like compiling an opensips script or so. the -c flag is for check the validity of opensips script, without actually starting opensips the -f file is specifying opensips which file to use as script file. if you do not specify, a default one will be loaded (in etc/

[OpenSIPS-Users] init.d script for OpenXCAP on CentOS 6

2011-11-29 Thread Silvije Kalabić
Hello, I have posted this same question and on the Stackowerflow - http://stackoverflow.com/questions/8309414/init-d-script-for-openxcap-on-centos-6 I'm somewhat new to Linux and OpenXCAP and I'm trying to make an init.d script for OpenXCAP on CentOS 6. My script can start and stop OpenXCAP

Re: [OpenSIPS-Users] Modify To:'s field and forward

2011-11-29 Thread spady
Hi Bogdan, thanks for your advice. I was wondering what will happen to real RTP stream. I mean: as I sayd, for Fax server point of view, OpenSIPS acts as Sip Proxy to direct the T38 flow, after correct fax's handshake. OpenSIPS, after analyzed/changed the INVITE, should redirect all stream to IP

Re: [OpenSIPS-Users] dispatch to Asterisk cluster behind NAT

2011-11-29 Thread Matt Hamilton
Thanks Ovidiu. I'm looking into rtpproxy. Opensips can sit at the edge of your private network (with one interface on the public network and the other one on the private network) or it can sit inside the private network (and some port forwarding is required on the firewall). Any

Re: [OpenSIPS-Users] dispatch to Asterisk cluster behind NAT

2011-11-29 Thread Ovidiu Sas
Running opensips at the edge of the network is simpler then running it behind a firewall (the config needs more tweaks). If you don't have a lot of experience with opensips, I would recommend running opensips on two interfaces. Regards, Ovidiu Sas On Tue, Nov 29, 2011 at 8:09 AM, Matt Hamilton

Re: [OpenSIPS-Users] dispatch to Asterisk cluster behind NAT

2011-11-29 Thread Matt Hamilton
Running opensips at the edge of the network is simpler then running it behind a firewall (the config needs more tweaks). If you don't have a lot of experience with opensips, I would recommend running opensips on two interfaces. That's what I'm going to do. Thanks again. Matt

Re: [OpenSIPS-Users] CRITICAL:core:yyerror: parse error in config file

2011-11-29 Thread M.Abdulaziz
Hi Bogdan Thank you for helping. *UAC* 192.168.1.69 *Opensips* 192.168.1.69:5060 When I run this sipp command sipp 192.168.1.69:5060 -sf uac-reg.xml -inf users.txt * I got no reaction from opensips * What is wrong? I follow every instruction that I know but with no success? this is my

Re: [OpenSIPS-Users] CRITICAL:core:yyerror: parse error in config file

2011-11-29 Thread duane . larson
I think before you start testing OpenSIPS with SIPP you need to make sure your config or your install of OpenSIPS is actually working. Are you able to register a softphone client? When you use ngrep or any other siptrace do you see opensips responding to anything? When you look in syslog do

Re: [OpenSIPS-Users] Crash: EOF on 12 (v.1.6.4.2)

2011-11-29 Thread James Lamanna
Here's probably a more telling BT (Debug=3) #0 0x2aba8e563f33 in get_dialog (dialog=0x7fff59e5b5d0, hash_code=value optimized out) at hash.c:480 480 if((p-watcher_uri-len== dialog-watcher_uri-len) (gdb) bt #0 0x2aba8e563f33 in get_dialog

Re: [OpenSIPS-Users] Crash: EOF on 12 (v.1.6.4.2)

2011-11-29 Thread James Lamanna
Realized I got variables from the wrong frame. (gdb) print p $1 = (ua_pres_t *) 0x2aba902bfb00 (gdb) print *p $2 = {hash_index = 305, local_index = 0, id = {s = 0x2aba902bfc44 DIALOG_PUBLISHb\374+\220\272*, len = 14}, pres_uri = 0x2aba902bfc18, event = 64, expires = 1322593862, desired_expires