update again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1001 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8fd69bbb6b
commit
0c21661c0b
|
@ -724,7 +724,7 @@ static switch_status channel_write_frame(switch_core_session *session, switch_fr
|
||||||
stun_packet_attribute_add_username(packet, login, 32);
|
stun_packet_attribute_add_username(packet, login, 32);
|
||||||
sendto(tech_pvt->rtp_sock, (char *)packet, stun_packet_length(packet), 0 ,(struct sockaddr *)&servaddr, sizeof(servaddr));
|
sendto(tech_pvt->rtp_sock, (char *)packet, stun_packet_length(packet), 0 ,(struct sockaddr *)&servaddr, sizeof(servaddr));
|
||||||
//xstun
|
//xstun
|
||||||
printf("XXXX SEND STUN REQ %s U=%s to %s:%d\n", packet->header.id, login, tech_pvt->remote_ip, tech_pvt->remote_port);
|
//printf("XXXX SEND STUN REQ %s U=%s to %s:%d\n", packet->header.id, login, tech_pvt->remote_ip, tech_pvt->remote_port);
|
||||||
tech_pvt->stuncount = 25;
|
tech_pvt->stuncount = 25;
|
||||||
} else {
|
} else {
|
||||||
tech_pvt->stuncount--;
|
tech_pvt->stuncount--;
|
||||||
|
|
Loading…
Reference in New Issue