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::Dropper(3pm)					User Contributed Perl Documentation				    Net::SIP::Dropper(3pm)

NAME
Net::SIP::Dropper - drops SIP messages based on callback SYNOPSIS
use Net::SIP::Dropper::ByIPPort; my $drop_by_ipport = Net::SIP::Dropper::ByIPPort->new( database => '/path/to/database.drop', methods => [ 'REGISTER', '...', '' ], attempts => 10, interval => 60, ); use Net::SIP::Dropper::ByField; my $drop_by_field = Net::SIP::Dropper::ByField->new( methods => [ 'REGISTER', '...', '' ], 'From' => qr/sip(?:vicious|sscuser)/, 'User-Agent' => qr/^friendly-scanner$/, ); my $drop_subscribe = sub { my ($packet,$leg,$from) = @_; # drop all subscribe requests and responses return $packet->method eq 'SUBSCRIBE' ? 1:0; }; my $dropper = Net::SIP::Dropper->new( cbs => [ $drop_by_ipport, $drop_by_field, $drop_subscribe ]); my $chain = Net::SIP::ReceiveChain->new( [ $dropper, ... ] ); DESCRIPTION
Drops messages. This means, does no further processing in the Net::SIP chain and does not send something back if the incoming message match the settings. Some useful droppers are defined in Net::SIP::Dropper::ByIpPort and Net::SIP::Dropper::ByField. CONSTRUCTOR
new ( ARGS ) ARGS is a hash with key "cb" or "cbs". "cb" is a single callback to be processed, "cbs" is an arrayref with callbacks. If one of the callbacks returns true the message will be dropped. If all callbacks return false the message will be forwarded in the chain. Returns a new dropper object to be used in the chain. perl v5.14.2 2011-02-03 Net::SIP::Dropper(3pm)
All times are GMT -4. The time now is 12:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy