<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ok I got it working.  However, one more thing, I want the server to answer using the FQDN and not the IP address.  What file do I need to change to make this happen?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Lorenzo Mangani [mailto:lorenzo.mangani@gmail.com] <br><b>Sent:</b> Saturday, May 10, 2014 2:56 AM<br><b>To:</b> Horace Miles<br><b>Cc:</b> Andrew Pogrebennyk; spce-user@lists.sipwise.com<br><b>Subject:</b> Re: [Spce-user] New Install<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Horace,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What SIP client are you using and how are you configuring it? You might want to configure the server's IP as outbound proxy if resolution fails or you have no SRV entries in your DNS for sip service. If you run "ngrep -W byline port 5060" do you see registration packets arriving from the UA on the server?<o:p></o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white'>Best.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#777777;background:white'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666;background:white'>Lorenzo Mangani</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p></o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666;background:white'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666;background:white'>HOMER DEV TEAM<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#666666;background:white'>QXIP - Capture Engineering</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#666666;background:white'>Desk: +1 (202) 470-5312</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#666666;background:white'>Mobile: +31 6 4603-2730</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";background:white'><o:p> </o:p></span></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Sat, May 10, 2014 at 3:10 AM, Horace Miles <<a href="mailto:Horace.Miles@myit-solutions.com" target="_blank">Horace.Miles@myit-solutions.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Ok,<br><br>I completely started from scratch.  Have all the services started with no errors.  I can connect to the web interface.  I have checked to make sure that the domain is correct.  I have changed the config.yml to only want username for login.<br>I can telnet to the sipserver ip address 5060 and the sever responds.  However, when I try to connect with a sip client I get nothing whatsoever.  The proxy-log has nothing even showing a connection attempt.    Help.. what can I provide to have someone help me figure this out..?<o:p></o:p></p><div><p class=MsoNormal><br>-----Original Message-----<br>From: Andrew Pogrebennyk [mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>]<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Sent: Friday, May 09, 2014 8:12 AM<br>To: Horace Miles<br>Cc: Alexander Lutay; <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br>Subject: Re: [Spce-user] New Install<o:p></o:p></p></div><div><div><p class=MsoNormal>Hi,<br>the log you posted means that kamailio-proxy was not running and it failed to start because of incorrect rewrite rule in DB. I have to check that the admin panel correctly validates the input. Anyway, now that you have deleted the rewrite rule from DB please check that the proxy is<br>running: /etc/init.d/kamailio-proxy status If not re-start it. If you get the same error upon start, check mysql -e "select * from kamailio.dialplan;"<br>Then your client should be able to get some response back from the proxy.<br><br>Hope this helps.<br>Andrwe<br><br>On 05/09/2014 05:43 AM, Horace Miles wrote:<br>> Thanks for the reply,<br>><br>> In /var/log/ngcp/  the kamailio-proxy.log is empty In<br>> /var/log/ngcp/old/  the kamilio-proxy.log shows the following.<br>> The domain is correct and the subscriber username and password are correct.<br>><br>> May  8 05:23:55 sip proxy[4894]: ERROR: <core> [pvapi.c:790]: pv_parse_spec2(): error searching pvar "caller_cc"<br>> May  8 05:23:55 sip proxy[4894]: ERROR: <core> [pvapi.c:994]:<br>> pv_parse_spec2(): wrong char [)/41] in [$(caller_cc)\1] at [11 (1)]<br>> May  8 05:23:55 sip proxy[4894]: ERROR: <core> [re.c:181]:<br>> parse_repl(): subst_parser: bad specifier in replace part<br>> $(caller_cc)\1 May  8 05:23:55 sip proxy[4894]: ERROR: dialplan<br>> [dp_db.c:393]: build_rule(): failed to compile replacing expression<br>> $(caller_cc)\1 May  8 05:23:55 sip proxy[4894]: ERROR: dialplan<br>> [dp_db.c:111]: init_db_data(): failed to load database data May  8<br>> 05:23:55 sip proxy[4894]: ERROR: dialplan [dialplan.c:200]:<br>> mod_init(): could not initialize data May  8 05:23:55 sip proxy[4894]:<br>> ERROR: <core> [sr_module.c:970]: init_mod(): init_mod(): Error while<br>> initializing module dialplan<br>> (/usr/lib/x86_64-linux-gnu/kamailio/modules/dialplan.so)<br>><br>> I deleted the dialpaln, peers, which also deleted the Rewrite Rules and reapplied ngcpcfg.<br><br>_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>