Displaying 2 results from an estimated 2 matches for "vdest".
Did you mean:
dest
2003 Oct 27
0
Asterisk behind nat with hole, hardcoding solution
...(dest.sin_addr));
snprintf(c, sizeof(c), "c=IN IP4 213.84.4.39\r\n");
snprintf(t, sizeof(t), "t=0 0\r\n");
snprintf(m, sizeof(m), "m=audio %d RTP/AVP", ntohs(dest.sin_port));
snprintf(m2, sizeof(m2), "m=video %d RTP/AVP",
ntohs(vdest.sin_port));
/* Start by sending our preferred codecs */
cur = prefs;
5. Perform a ?make? in this directory, and copy the resulting ?chan_sip.so?
file to your /usr/lib/asterisk/modules/ directory.
6. Restart asterisk.
It works for me (tested with xten softphone)
This causes Asteri...
2010 Oct 12
0
rtpip patch
...T_MAX_EXTENSION]; /*!< SDP owner name
for the SIP channel */
static int global_authfailureevents; /*!< Whether we send
authentication failure manager events or not. Default no. */
@@ -10196,21 +10189,8 @@
get_our_media_address(p, needvideo, &sin, &vsin, &tsin, &dest, &vdest);
-
- /*
- snprintf(owner, sizeof(owner), "o=%s %d %d IN IP4 %s\r\n",
ast_strlen_zero(global_sdpowner) ? "-" : global_sdpowner,
p->sessionid, p->sessionversion, ast_inet_ntoa(dest.sin_addr));
- snprintf(connection, sizeof(connection), "c=IN IP4 %s\r\n",
ast_inet...