From e4011eaae77fff40d77e669cb377f8198cde25dc Mon Sep 17 00:00:00 2001 From: Kurtis Heimerl Date: Sun, 25 Mar 2012 00:15:01 +0000 Subject: [PATCH] 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 --- sipauthserve.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sipauthserve.cpp b/sipauthserve.cpp index 0684827..2f93acc 100644 --- a/sipauthserve.cpp +++ b/sipauthserve.cpp @@ -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;