Hi.
I've tried to compile the rtpproxy, but unfortunately, when compiling, I get the following error message:
Makefile:33: *** missing separator. Stop
I've tried to use gmake or to get the last apt of make, but I since have it...
What have I to do?
Unfortunately when I posted this message yesterday, the carriage returns were lost
and each paragraph came out as a single line. Sorry about that; I'm trying again now.
I have also modified the message to reflect the fact that I've learned something in the
intervening hours ;-). Tx to anyone who can help. Mike
---------------------------------------------------
I am in the process of establishing a SIP-based system using SER which will allow
my end users to connect to each other and to dial out to the pstn using a SIP/pstn
gateway run by a provider downstream.
Some of the users on my system are consultants who work on several projects at
once. They would like to prefix the numbers they dial with their own arbitrary
4-digit project codes for different calls and have the accounting I send them show
the project code they used for each call. Since my accounting is done downstream
at the pstn gateway, and it shows the username for each call, I would like to change
the username on each of the calls going out of my SER to include the project code.
Then no changes would need to be made in the billing software and each call will be
easy to identify as to user and project.
I believe that the username which shows up in the billing comes from the FROM field
that is transmitted for the call from my SIP, so that is the value I need to change (ie. the value of the
environment variable SIP_HF_FROM).
Of course the project code would get stripped off the uri itself so that just the correct uri is sent,
and I have figured out how to do that using the strip function. But I am new to SER
and just figuring my way through this, so I need a bit of help with the rest of it.
Here is an example of what I want to set up.
If user Mike wishes to call 1-111-1111 and wants to code it to project 1234, he would dial:
*123411111111(a)wherever.com
and the outgoing uri would be just:
11111111(a)wherever.com (this is done using strip)
The FROM value generated would be something like:
Mike SER <SIP:Mike@here.com:5060 >;tag=xxxxxxxxxx
and I need to change it to include the original name+project code:
Mike1234 SER <SIP:Mike@here.com:5060 >;tag=xxxxxxxxxx
Note: the asterisk in the dial string just indicates that a project code follows. Not all users will want this
feature and calls without an asterisk will be handled differently.
If I can do the last part (change the outgoing FROM to mike1234) I'll have it cracked.
It would be best to do this within SER, but I don't see a way to do it. If there is a way, please
let me know.
So then it seems to me that the best thing might be to use the exec_dst command to
pass a set of commands to the shell would cause characters 2 through 5 of SIP_ORURI
(in this example 1234) to be inserted into SIP_HF_FROM. So something like:
EXPORT SIP__HF_FROM=first_part_of_SIP_HF_FROM+(characters 2-5 of SIP_ORURI)+last_part_of_SIP_HF_FROM
...... Obviously my bash-knowledge needs a bit of work here ;-)
If this would work, can someone tell me the shell commands to use? I am not concerned with the exact
logic of how to separate the first and last parts of the FROM field as I am in understanding how
to tell the shell to modify the environmental variables so that when control returns to SER it will
have the correct values.
Alternatively, what about calling a small executable that reads the appropriate
environment variables and changes the value of $SIP_USER before returning to SER?
I had at first thought this might be the simplest way to do it, but now I understand that
when a program modifies an environment variable the variable returns to its original
value when the child process ends. If that is correct, then SER would never see the change.
Note that I'm aware that it would be easier to do this accounting on my own SER system,
where I could pick off the appropriate information. However, since the pstn gateway at the
next hop does the official accounting and billing, I want the billing it produces to include
the project codes, and I think the easiest way to do this is for me to modify the outgoing FROM.
I have been working away at this, starting from zero knowledge of Linux, but I've come
about as far as I can get. I would appreciate any advice.
Thanks,
Mike
Hi everboddy,
I wonder if SER is acting as a passive proxy or active proxy.
Many thanks
Ahmet
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
I had a problem that was in the URL. The email sent a message containing
the url ~~/user/my_account.php. I found the typo(?) in a couple of the
files, and changed it to ~~/user_interface/my_account.php and everything
worked great.
-----Original Message-----
From: Leif Madsen [mailto:leif@hacklocalhost.com]
Sent: Tuesday, October 21, 2003 5:50 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] A couple of initial problems with SER
Good day all,
I have attempted to search through the archives before posting here, but
alas, I have been unable to find the answers. If there are websites or
links that would help me with finding the answers to my questions, those
would be great as well.
I am mostly having problems related with my_account.php (or at least
that is what is being accessed when things fail). I can create a new
account, and it emails me the confirmation link fine, but when I go to
click on the link, it just hangs in the browser with "Web site found.
Waiting for reply..."
It never actually errors out (at least not for the last 5-10 minutes
while I've registered and sent this email). The other problem I have is
in the admin interface. If I click on "Account" then it ends up doing
the same thing. It attempts to connect to the my_account.php script,
but just hangs (doesn't even seem to timeout)
If there is somewhere I can check logs and stuff, that would also be great.
Thanks in advance!
--
+------------------------------------------+
|Leif Madsen - http://www.hacklocalhost.com|
+------------------------------------------+
| @| leif at hacklocalhost dot com |
| SMS| sms at hacklocalhost dot com |
| FWD| 18924 IAX| 1700-363-0761 |
|iptel| 8972-1969 sipph| 1-747-386-1618 |
+------------------------------------------+
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
it is OK, Thanks
-----Original Message-----
From: Jan Janak [mailto:jan@iptel.org]
Sent: Wed 22.10.2003 16:56
To: TeleSIP
Cc: SCHWEIZER Laurent; serusers(a)lists.iptel.org
Subject: Re: [Serusers] ser and mysql on 2 different server
Hello,
it is also possible to write it on a single line like this:
modparam("usrloc|auth_db|group", "db_url", "sql://username:password@your_mysql_host/ser")
The first parameter is a regular expression so you just need to provide
expression that will match all the modules.
Jan.
On 22-10 09:52, TeleSIP wrote:
> In you ser.cfg you will need these 3 lines (also depends on what modules you
> use):
>
> modparam("usrloc", "db_url", "sql://username:password@your_mysql_host/ser")
> modparam("auth_db", "db_url", "sql://username:password@your_mysql_host/ser")
> modparam("group", "db_url", "sql://username:password@your_mysql_host/ser")
>
> ----- Original Message -----
> From: "SCHWEIZER Laurent" <laurent.schweizer(a)eivd.ch>
> To: <serusers(a)lists.iptel.org>
> Sent: Wednesday, October 22, 2003 9:45 AM
> Subject: [Serusers] ser and mysql on 2 different server
>
>
>
> Hello,
>
> I want to have ser and mysql server on 2 different server, i have found how
> I set the ip adresse for serctl, but I dont know how I set the ip adresse of
> the mysql server for ser
>
> Thanks
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
Hello,
I want to have ser and mysql server on 2 different server, i have found how I set the ip adresse for serctl, but I dont know how I set the ip adresse of the mysql server for ser
Thanks
Hello List,
I am running SER (0.8.11) on a machine that has two network interfaces. On one interface I have a 192.168.1.0/24 network (internal network) and the other one is the public interface. SER is working as a registrar and as a proxy. When a UA on the private network sends a SUBSCRIBE message to a UA on the outside via the SER proxy (listening on 192.168.1.1), the packet received by other UA has the 192.168.1.1 layer 3 address. So it means that SER is using the internal interface address as the layer 3 source address when sending packets through the external interface. Is this a known bug? (NAT on the machine is working fine. I am using redhat 9, kernel 2.4.21)
Is there any way to change/replace/manipulate the VIA header like you can do with the URI's? Sorry am very new to SER and am trying to read as much as I can.
Any feedback will be greately appreciated.
Thanks,
Dhiraj Bhuyan
Security Research Engineer
BT Exact
Tel: +44 1473 643932
Mob: +44 7962 012145
Email: dhiraj.2.bhuyan(a)bt.com
Hello,
On 10/22/2003 3:17 AM, Iizuka, Hirotaka, VF-JP wrote:
>Thank you for the reply.
>
>>>Hi, I need to know if SER provides "presence" service.
>>>
>>SER has a presence agent (PA module), as far as I know is still in alpha
>>stage, mainly tested with Jabber gateway and it is going to be
>>refurbished.
>>
>>
>
>Do you mean the presence agent is built-in to SER? How do I use this PA module?
>
you have to load the PA module in ser config file -- just do it as for
the other module. There is a small documentation about this module,
online at: http://iptel.org/ser/doc/modules/html/pa.html
>>What kind of "presence service" do you want to have?
>>
>>
>
>I want the "presence sevice" to be able to notify me who is available on the other end.
>
Many clients, mostly the soft ones, know to deal with presence by
themselves.
Best regards,
}Daniel
Thank you Daniel. I have installed the 0.8.11 version. The SER is
running and I am able to see the various processes.
I am having the following problems:
1. I tried to register my SIP SJ client to the server and on running
ethereal I found that the REGISTER packet was directed to 208.27.83.140
by SER. And so my user registration was timing out.
Shouldn't SIP SER do the registration?
2. I made the changes as per HOWTOs for Serweb. Unfortunately, I have
not been able to run serweb.
The document HOWTOs mentioned changes with respect to RH Linux 8.0 and I
was using 7.3. The directory '/usr/www/html' didn't contain a directory
'htdoc' but only 'htdig'. I assumed that htdoc meant htdig and made the
same changes. But I am not able to launch serweb?
Could someone please let me know how to start serweb and why my
registrations are being forwarded by SER to some other IP?
I intend to run SER at first with mySql.
Thanks & regards,
Subhra
-----Original Message-----
From: Daniel-Constantin Mierla
[mailto:Daniel-Constantin.Mierla@fokus.fraunhofer.de]
Sent: Tuesday, October 21, 2003 1:55 AM
To: Subhra Saha
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] SER installation problems
Hello,
use SER v0.8.11. The 0.8.8 is very very very ... obsolete and is no
longer supported by us. Beside that, 0.8.11 has many feature
improvements, bug fixes a.s.o. Also, the documentation you find in our
web site refers to the latest release (0.8.11), maybe not yet full
updated but almost.
I am using ser on RH7.3 and it works perfectly, but I don't remember
what was the state of sectl at the 0.8.8 release moment. So, please try
the version 0.8.11 and tell us if something does not work. SER should
start without problems with the default config file provided in
packages.
Best regards,
}Daniel
On 10/21/2003 1:40 AM, Subhra Saha wrote:
>Hi,
>I am new to using SER and at the moment having installation problems.
>
>I am trying to run SER 0.8.8 version on a Redhat Linux 7.3 machine. Is
>it OK?
>
>After proceeding as specified in the quick install guide, I have been
>able to start the SER.
>
>But on trying to monitor the performance of SER using '/usr/sbin/serctl
>moni', the following is shown:
>
>[cycle #:1 ; if constant make sure server lives and fifo is on
>I am not able to follow this.
>
>Have also downloaded and untared the serweb. But I have not been able
to
>figure out how to go about using it.
>
>Could someone please let me know how to go about configuring the SER
and
>when to be certain that the SER running is OK?
>
>Thanks & Regards,
>Subhra Saha
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
Good day all,
I have attempted to search through the archives before posting here, but
alas, I have been unable to find the answers. If there are websites or
links that would help me with finding the answers to my questions, those
would be great as well.
I am mostly having problems related with my_account.php (or at least
that is what is being accessed when things fail). I can create a new
account, and it emails me the confirmation link fine, but when I go to
click on the link, it just hangs in the browser with "Web site found.
Waiting for reply..."
It never actually errors out (at least not for the last 5-10 minutes
while I've registered and sent this email). The other problem I have is
in the admin interface. If I click on "Account" then it ends up doing
the same thing. It attempts to connect to the my_account.php script,
but just hangs (doesn't even seem to timeout)
If there is somewhere I can check logs and stuff, that would also be great.
Thanks in advance!
--
+------------------------------------------+
|Leif Madsen - http://www.hacklocalhost.com|
+------------------------------------------+
| @| leif at hacklocalhost dot com |
| SMS| sms at hacklocalhost dot com |
| FWD| 18924 IAX| 1700-363-0761 |
|iptel| 8972-1969 sipph| 1-747-386-1618 |
+------------------------------------------+