08-02-2002
its clear now. thanks for the responce.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
We're an internet company with several domain names. Our mail server was originally set up to deal with xxx@domain1.com email addresses which works fine.
The problem I have is that we're now also using a domain2.com, and sales@domain1.com isn't the same as sales@domain2.com.
I've added... (1 Reply)
Discussion started by: captainash
1 Replies
2. Forum Support Area for Unregistered Users & Account Problems
This forum is intended only as a means to contact us if you are having trouble with your account. This forum is the only area on the site where even unregistered users can post. But because some spammers were using this to post spam, we have changed things a little bit. When an unregistered user... (0 Replies)
Discussion started by: Perderabo
0 Replies
3. Shell Programming and Scripting
Hello,
i have a file contains the information like below
/home/username/domain.com/log/access
/home/username/domain23.net/log/access
/home/reseller/username/domain.com/log/access
using a loop i can read every line of the file but i wants to extract domain name like(domain.com,... (3 Replies)
Discussion started by: eyes_drinker
3 Replies
4. Shell Programming and Scripting
I am needing to extract and list domain names out of a very large text file. The text file contains tlds .com .net .org and others as well as third level domains e.g. host1.domain.com and the names are placed within paragraphs of text.
Domains do not have a http:// prefix so I'm thinking the... (6 Replies)
Discussion started by: totus
6 Replies
5. Windows & DOS: Issues & Discussions
Dear Expert,
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
Discussion started by: regmaster
2 Replies
6. UNIX for Dummies Questions & Answers
I am totally new to shell scripting. I want to see people from which domain access my website. I want to generate the domain names from IP addresses in the Apache access.log file.
There are around 54 log files. I concatenate all the files into one.
I am using Ubuntu 12.04 LTS.
So I... (4 Replies)
Discussion started by: Ronni
4 Replies
7. Red Hat
Hi everyone,
I am working a contract and the customer has not registered there RHEL 5 servers. They have a cluster of servers and it would seem that they all stop logging in messages @ appox 15:50 and then start logging again at 4:04 am. Is this a normal thing for non-registered?
Lee (3 Replies)
Discussion started by: Lee Dunsmoor
3 Replies
LEARN ABOUT DEBIAN
net::sip::registrar
Net::SIP::Registrar(3pm) User Contributed Perl Documentation Net::SIP::Registrar(3pm)
NAME
Net::SIP::Registrar - Endpoint for registering SIP clients
SYNOPSIS
my $reg = Net::SIP::Registrar->new(
dispatcher => $dispatcher,
min_expires => 10,
max_expires => 60,
domains => [ 'example.com','example.org' ],
);
DESCRIPTION
This package implements a simple SIP registrar. In the current implementation registry information are only kept in memory, e.g. they are
not preserved over restarts.
The implementation itself does not checking if the UAC is authorized to register the given address. This can be done with using an
appropriate Authorize Module inside a ReceiveChain in front of the registrar.
CONSTRUCTOR
new ( %ARGS )
This creates a new registar object, %ARGS can have the following keys:
dispatcher
Net::SIP::Dispatcher object manging the registar. Mandatory.
max_expires
Maximum expires time accepted. If the client requests a larger expires value it will be capped at max_expires Defaults to 300.
min_expires
Minimum expires value. If the client requests a smaller value the registrar will return a response of "423 Interval too brief".
Defaults to 30.
domains or domain
Either string or reference to list of strings containing the names of the domains the registrar is responsable for. If not
given the registrar accepts everything.
METHODS
receive ( PACKET,LEG,FROM )
PACKET is the incoming packet, LEG is the Net::SIP::Leg where the packet arrived and FROM is the "ip:port" of the sender. Responses
will be send back to the sender through the same leg.
Called from the managing Net::SIP::Dispatcher object if a new packet arrives. Will return "()" and ignore the packet if it's not a
REGISTER request or if it is not responsable for the domain given in the "From" heeader of the REGISTER request.
If it is responsable for the packet it will create a response and return the code of the response. Responses are either "423 Interval
too brief" if the request expires time is too small, or "200 Ok" if the expires time is 0 (e.g. the client should be unregistered) or
greater or equal min_expires.
In case of a successful response it wil also update the internal registry information.
query ( ADDR )
Search for ADDR (which has format "proto:user@domain") in the registry. Returns @List of all sip or sips contacts for ADDR.
expire
Removes all expired entries from the internal registry. Called whenever the registry information gets updated from sub receive.
perl v5.14.2 2010-08-09 Net::SIP::Registrar(3pm)