Navigation



Ignore:
Timestamp:
Jul 28, 2010, 4:17:29 PM (14 years ago)
Author:
Alexandre Westfahl <awestfahl@freediameter.net>
Branch:
default
Phase:
public
Message:

Added dynamic port choice for app_sip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_sip/registrationtermination.c

    r433 r440  
    5454        sin.sin_addr.s_addr = inet_addr("127.0.0.1");
    5555        sin.sin_family = AF_INET;
    56         sin.sin_port = htons(PORT);
     56        sin.sin_port = htons(as_conf->rtr_port);
    5757        socklen_t sinsize = sizeof(csin);
    5858        int accepted=0;
     
    251251       
    252252        //TODO:remove for debug
    253         fd_msg_dump_walk(INFO,message);
     253        //fd_msg_dump_walk(INFO,message);
    254254        CHECK_FCT( fd_msg_send( &message, NULL, NULL ));
    255255       
Note: See TracChangeset for help on using the changeset viewer.