search for: ourport

Displaying 3 results from an estimated 3 matches for "ourport".

Did you mean: purport
2003 Oct 27
0
Asterisk behind nat with hole, hardcoding solution
...r/src/asterisk/channels/chan_sip.c 3. First find the function build_contact( ) and insert your ?outside? ip address in the right position, as is indicated below (the original line is commented out): static void build_contact(struct sip_pvt *p) { /* Construct Contact: header */ if (ourport != 5060) snprintf(p->our_contact, sizeof(p->our_contact), "<sip:%s@%s:%d>", p->exten, inet_ntoa(p->ourip), ourport); else // snprintf(p->our_contact, sizeof(p->our_contact), "<sip:%s@%s>", p->exten, inet_ntoa(...
2006 Mar 08
2
REGISTER headers changed
Can someone help me with upgrading to the lastest version. I am using the same sip.conf file, but the headers have changed and registration fails. Has something change in the conf file that would cause this? Notice 1.2.5 has no Authoization at all... Regards, Jason Version 1.0.9 --------------------------- REGISTER sip:voip-ca35323.ocn.ne.jp SIP/2.0 Via: SIP/2.0/UDP
2003 Dec 10
0
Native Bridging and Polycom 600 Solved
...{ struct sip_request req; if (p->canreinvite == REINVITE_UPDATE) reqprep(&req, p, "UPDATE", 0); else { // BEGIN POLYCOM CHANGE p->branch++; snprintf(p->via, sizeof(p->via), "SIP/2.0/UDP %s:%d;branch=z9hG4bK%08x", inet_ntoa(p->ourip), ourport, p->branch); // END POLYCOM CHANGE reqprep(&req, p, "INVITE", 0); } ... the rest of the method follows. Does anyone with any detailed knowledge of other SIP phones know if this will cause something bad to happen? And, if any Asterisk developers are reading, cou...