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
sip_process_new_packet(3SIP)			   Session Initiation Protocol Library Functions		      sip_process_new_packet(3SIP)

NAME
sip_process_new_packet - send an inbound message to the SIP stack for processing SYNOPSIS
cc [ flag ... ] file ... -lsip [ library ... ] #include <sip.h> void sip_process_new_packet(sip_conn_object_t conn_object, void *msgstr, size_t msgstr); DESCRIPTION
The sip_process_new_packet() function receives incoming message, creates a SIP message, processes it and passes it on to the application. For a byte-stream protocol like TCP sip_process_new_packet() also takes care of breaking the byte stream into message boundaries using the CONTENT-LENGTH header in the SIP message. If the SIP message arriving on TCP does not contain a CONTENT-LENGTH header, the behavior is unspecified. sip_process_new_packet() deletes the SIP message on return from the application's receive function, thus if the application wishes to retain the SIP message for future use, it must use sip_hod_msg() so that the message is not freed by sip_process_new_packet(). RETURN VALUES
The value of errno is not changed by these calls in the event of an error. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
libsip(3LIB) SunOS 5.11 25 Jan 2007 sip_process_new_packet(3SIP)
All times are GMT -4. The time now is 06:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy