Sponsored Content
Full Discussion: Asterisk / SIP Question.
Top Forums UNIX for Advanced & Expert Users Asterisk / SIP Question. Post 302130349 by petebear on Sunday 5th of August 2007 06:42:59 PM
Old 08-05-2007
Asterisk / SIP Question.

I've asked this question on many other forums and no one seems to know, so that's why I posted in the experts forume. So I just got a new sip phone. It is connected via usb to box A in my bedroom. Box B is in the living room and is running asterisk connected with a Zaptel card to a POTS line. I'm having trouble setting up the phone. Does does box A with the sip phone connected to it need to also be running asterisk? Is there a default asterisk config file for SIP clients? How do I set up box B to be a SIP server to box A? Both box and b sit on the same lan. Any help is appreciated.
 

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

NAME
sip_get_request_uri_str - return request URI SYNOPSIS
cc [ flag ... ] file ... -lsip [ library ... ] #include <sip.h> const sip_str_t *sip_get_request_uri_str(sip_msg_t sip_msg, int *error); DESCRIPTION
For functions that return a pointer of type sip_str_t, sip_str_t is supplied by: typedef struct sip_str { char *sip_str_ptr; int sip_str_len; }sip_str_t; The sip_str_ptr parameter points to the start of the returned value and sip_str_len supplies the length of the returned value. For example, given the following request line in a SIP message input to sip_get_request_uri_str(): INVITE sip:marconi@radio.org SIP/2.0 the return is a pointer to sip_str_t with the sip_str_ptr member pointing to "s" of sip:marconi@radio.org and sip_str_len being set to 21, the length of sip:marconi@radio.org. The sip_get_request_uri_str() function returns the URI string from the request line in the SIP message sip_msg. RETURN VALUES
The sip_get_request_uri_str() function returns the URI string. The function returns NULL on failure. The value of errno is not changed by these calls in the event of an error. ERRORS
If the error is non-null, one of the following values is set: EINVAL For the sip_get_request_uri_str() function, there is no request line is in the SIP message. EPROTO For sip_get_request_uri_str, the request URI is invalid. On success, the value of the location pointed to by error is set to 0. 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_get_request_uri_str(3SIP)
All times are GMT -4. The time now is 05:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy