Sponsored Content
Full Discussion: Asterisk / SIP Question.
Top Forums UNIX for Advanced & Expert Users Asterisk / SIP Question. Post 302130591 by cbkihong on Tuesday 7th of August 2007 01:46:43 AM
Old 08-07-2007
If you understand SIP, you should know that any SIP client needs to register to a SIP proxy to make it known to the proxy about its location (IP address, port etc.). Asterisk can act as a SIP proxy. I'm not sure about the exact "sip phone" you mentioned. But if your SIP phone is reachable over the LAN (i.e. has IP address), then you may configure it to register to the Asterisk server on the LAN. Exactly how to configure depends on how you would like to set it up, really.

How did you set up your Asterisk? If you compile and install manually, there is a chance for you to install a set of sample configuration with Asterisk. It would include sip.conf. For SIP, you just have to look into that file for SIP profiles and other related configuration (dtmfmode, jitter buffer, etc.). If your system is AsteriskNow or Trixbox based, they should be there out of the box.

By the way, Asterisk Forums :: Index is likely a better place than here for Asterisk questions.
 

We Also Found This Discussion For You

1. IP Networking

How to interconnect two Asterisk Servers with a SIP trunk Internationally

How to interconnect two Asterisk Servers with a SIP trunk Internationally Is it possible to setup an asterisk box in ex. Colombia S.A and another in the USA, setting up trunks between the boxes to speak to each other via sip or aix, create extensions, forward any incoming call on that local... (0 Replies)
Discussion started by: metallica1973
0 Replies
Net::SIP::ReceiveChain(3pm)				User Contributed Perl Documentation			       Net::SIP::ReceiveChain(3pm)

NAME
Net::SIP::ReceiveChain - handle incoming packet by multiple receivers SYNOPSIS
# create proxy which works as a registrar too, but # all register requests should be authorized my $registrar = Net::SIP::Registrar->new... my $auth = Net::SIP::Authorize->new .... my $reg_chain = Net::SIP::ReceiveChain->new( [ $auth,$registrar ], methods => [ 'REGISTER' ], ); my $proxy = Net::SIP::StatelessProxy->new... my $chain = Net::SIP::ReceiveChain->new( [ $registrar,$proxy ] ); DESCRIPTION
This package is used to handle incoming packets by multiple receivers, e.g. make sure that requests for Net::SIP::Registrar will be authorized by Net::SIP::Authorize. Objects in the chain might be Net::SIP::Registrar, Net::SIP::StatelessProxy, Net::SIP::Authorize, Net::SIP::ReceiveChain itself and every other object which handles "receive" like described below. CONSTRUCTOR
new ( OBJECTS, %ARGS ) This creates a new registar object, OBJECTS is a reference to an array of objects implementing the "receive" method. %ARGS can have the following keys: filter A callback which gets called during "receive" with all arguments of the method. If it returns TRUE the packet will be handled by the chain, otherwise not. methods If filter is not given but methods is it will set filter to a callback which accepts only the methods specified in the array reference given to methods. 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. Returns TRUE if the packet was fully handled by one of the objects in the chain, else FALSE: o If a filter was given checks the packet against the filter and returns FALSE if the filter does return FALSE. o Otherwise it will call "receive" on all objects in the chain until one of these returns TRUE. In this case it will return TRUE. o If no object in the chain handled the packet it will return FALSE. perl v5.14.2 2010-02-02 Net::SIP::ReceiveChain(3pm)
All times are GMT -4. The time now is 04:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy