sofia status profile internal reg <span></span><br><br>On Sunday, February 1, 2015, Benjamin Rowe &lt;<a href="mailto:you.kissmyarse@gmail.com">you.kissmyarse@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">0.0.0.0 is just a place holder. I did try ${domain} but to no avail. Curious to see if I replace loopback/1004 with sofia/default/1004%0.0.0.0 if it would not enter the dialplan. Might work, just seems odd that in flat file it works fine.</p>
<p dir="ltr">Many Thanks<br>
Ben</p>
<div class="gmail_quote">On Feb 1, 2015 8:08 AM, &quot;Chris Tunbridge&quot; &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;blasterjr@gmail.com&#39;);" target="_blank">blasterjr@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>if you execute &#39;sofia_contact<span> 1004@</span><span><span>0.0.0.0&#39; (without quotes) at the CLI what do you get, or is 0.0.0.0 just the replacement of the actual ip?<br><br></span></span></div><span><span>I recommend setting your ip or teh 0.0.0.0 in your PHP script to ${domain} so that it dynamically resolves it.<br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 30, 2015 at 1:29 PM, Benjamin Rowe <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;you.kissmyarse@gmail.com&#39;);" target="_blank">you.kissmyarse@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;ve been trying to dig into this more but can&#39;t find the issue i think it must have something to do with the dial-string. Here is curl response from my PHP script for 1004&#39;s authentication.<br><br><div><pre><span>&lt;?xml</span> <span>version</span><span>=</span><span>&quot;1.0&quot;</span> <span>encoding</span><span>=</span><span>&quot;utf-8&quot;</span> <span>?&gt;</span>
<span>&lt;document</span> <span>type</span><span>=</span><span>&quot;freeswitch/xml&quot;</span><span>&gt;</span>
  <span>&lt;section</span> <span>name</span><span>=</span><span>&quot;directory&quot;</span><span>&gt;</span>
    <span>&lt;domain</span> <span>name</span><span>=</span><span>&quot;</span><span><span>0.0.0.0</span>&quot;</span><span>&gt;</span>
      <span>&lt;groups&gt;</span>
        <span>&lt;group</span> <span>name</span><span>=</span><span>&quot;default&quot;</span><span>&gt;</span>
          <span>&lt;users&gt;</span>
            <span>&lt;user</span> <span>id</span><span>=</span><span>&quot;1004&quot;</span><span>&gt;&lt;/user&gt;</span>
          <span>&lt;/users&gt;</span>
          <span>&lt;params&gt;</span>
            <span>&lt;param</span> <span>name</span><span>=</span><span>&quot;dial-string&quot;</span> <span>value</span><span>=</span><span>&quot;{presence_id=<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;1004@0.0.0.0&#39;);" target="_blank">1004@0.0.0.0</a>}${sofia_contact(1004@</span><span><span>0.0.0.0</span>)}&quot;</span><span>&gt;&lt;/param&gt;</span>
            <span>&lt;param</span> <span>name</span><span>=</span><span>&quot;a1-hash&quot;</span> <span>value</span><span>=</span><span>&quot;&lt;HASH&gt;&quot;</span><span>&gt;&lt;/param&gt;</span>
          <span>&lt;/params&gt;</span>
          <span>&lt;variables&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;user_context&quot;</span> <span>value</span><span>=</span><span>&quot;default&quot;</span><span>&gt;&lt;/variable&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;effective_caller_id_name&quot;</span> <span>value</span><span>=</span><span>&quot;Test&quot;</span><span>&gt;&lt;/variable&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;effective_caller_id_number&quot;</span> <span>value</span><span>=</span><span>&quot;1004&quot;</span><span>&gt;&lt;/variable&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;dtmf-type&quot;</span> <span>value</span><span>=</span><span>&quot;info&quot;</span><span>&gt;&lt;/variable&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;toll_allow&quot;</span> <span>value</span><span>=</span><span>&quot;domestic,international,local&quot;</span><span>&gt;&lt;/variable&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;accountcode&quot;</span> <span>value</span><span>=</span><span>&quot;1004&quot;</span><span>&gt;&lt;/variable&gt;</span>
            <span>&lt;variable</span> <span>name</span><span>=</span><span>&quot;transfer_fallback_extension&quot;</span> <span>value</span><span>=</span><span>&quot;operator&quot;</span><span>&gt;&lt;/variable&gt;</span>
          <span>&lt;/variables&gt;</span>
        <span>&lt;/group&gt;</span>
      <span>&lt;/groups&gt;</span>
    <span>&lt;/domain&gt;</span>
  <span>&lt;/section&gt;</span>
<span>&lt;/document&gt;</span></pre></div><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 29, 2015 at 6:20 PM, Benjamin Rowe <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;you.kissmyarse@gmail.com&#39;);" target="_blank">you.kissmyarse@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Evening All,<div><div><br><br>I have a basic system up and running i am able to dial out via my provider on both sip endpoints. I have setup 2 users 1000 and 1004. 1000 is created from the flat file xml and 1004 is from the xml_curl request. when i attempt to originate a call from user 1000 to an external number it passes through fine however when i originate a call from user 1004 i get subscriber absent both are running the same setup to my knowledge. Any Ideas?<br clear="all"><div><br>Errors:<br>2015-01-29 18:12:17.745051 [WARNING] mod_dptools.c:3979 Can&#39;t find user [1004@&lt;IP&gt;]<br>2015-01-29 18:12:17.745051 [NOTICE] switch_ivr_originate.c:2735 Cannot create outgoing channel of type [user] cause: [SUBSCRIBER_ABSENT]<br>2015-01-29 18:12:17.745051 [DEBUG] switch_ivr_originate.c:3723 Originate Resulted in Error Cause: 20 [SUBSCRIBER_ABSENT]<br>2015-01-29 18:12:17.745051 [INFO] mod_dptools.c:3234 Originate Failed.  Cause: SUBSCRIBER_ABSENT<br>2015-01-29 18:12:17.745051 [NOTICE] switch_channel.c:4724 Hangup loopback/1004-b [CS_EXECUTE] [SUBSCRIBER_ABSENT]<br><br></div><div>Sofia Registrations:<br>=================================================================================================<br>Call-ID:        ocq57n8fn23uo0s7rh2025<br>User:           1004@&lt;IP&gt;<br>Contact:        &quot;&quot; &lt;sip:mp2337gf@1tfoakfdb6me.invalid;transport=ws;fs_nat=yes;fs_path=sip%3Amp2337gf%40&lt;IP&gt;%3A59613%3Btransport%3Dws&gt;<br>Agent:          SIP.js/0.6.3-devel BB<br>Status:         Registered(WS-NAT)(unknown) EXP(2015-01-29 18:24:02) EXPSECS(571)<br>Ping-Status:    Reachable<br>Host:           fs01-a<br>IP:             &lt;IP&gt;<br>Port:           59613<br>Auth-User:      1004<br>Auth-Realm:     &lt;IP&gt;<br>MWI-Account:    1004@&lt;IP&gt;<br><br><br>Originate command:<br>originate {ignore_early_media=true,origination_caller_id_number=1004}loopback/1004 &amp;bridge(sofia/gateway/test/555123456)<br><br></div><div>Many Thanks<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><div>Benjamin Rowe<br></div>
</div></font></span></div></div></div>
</blockquote></div><div><div><br><br clear="all"><div><br></div>-- <br><div>Benjamin Rowe<br><br>Lazypeople<br><br>Mobile: <a href="tel:%2B44%20%280%297904%20026869" value="+447904026869" target="_blank">+44 (0)7904 026869</a><br>Phone: +44 (0)845 86 99 892<br>Email: <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;ben@lazypeople.co.uk&#39;);" target="_blank">ben@lazypeople.co.uk</a><br>Web: <a href="http://www.lazypeople.co.uk" target="_blank">http://www.lazypeople.co.uk</a></div>
</div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>
</blockquote><br><br>-- <br><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div><br>