Fixes #777 in public. Turns out smqueue sends the right

contact header (with the openbts port), meaning there's no good reason
 it's hardcoded. Is no longer.

git-svn-id: http://wush.net/svn/range/software/public/subscriberRegistry/trunk@3365 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
Kurtis Heimerl 2012-03-25 00:15:01 +00:00
parent 888fa64d5b
commit e4011eaae7
1 changed files with 1 additions and 3 deletions

View File

@ -154,9 +154,7 @@ char *processBuffer(char *buffer)
osip_from_t * contact_header = (osip_from_t*)osip_list_get(&sip->contacts,0);
osip_uri_t* contact_url = contact_header->url;
char *remote_host = contact_url->host;
//char *remote_port = contact_url->port;
//this is an smqueue hack, will not be needed with FS -kurtis
char *remote_port = "5062";
char *remote_port = contact_url->port;
// return via
ostringstream newvia;