<div dir="ltr">I've been trying to dig into this more but can'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's authentication.<br><br><div class="" id="response-raw"><pre class=""><span class=""><?xml</span> <span class="">version</span><span class="">=</span><span class="">"1.0"</span> <span class="">encoding</span><span class="">=</span><span class="">"utf-8"</span> <span class="">?></span>
<span class=""><document</span> <span class="">type</span><span class="">=</span><span class="">"freeswitch/xml"</span><span class="">></span>
<span class=""><section</span> <span class="">name</span><span class="">=</span><span class="">"directory"</span><span class="">></span>
<span class=""><domain</span> <span class="">name</span><span class="">=</span><span class="">"</span><span class=""><span class="">0.0.0.0</span>"</span><span class="">></span>
<span class=""><groups></span>
<span class=""><group</span> <span class="">name</span><span class="">=</span><span class="">"default"</span><span class="">></span>
<span class=""><users></span>
<span class=""><user</span> <span class="">id</span><span class="">=</span><span class="">"1004"</span><span class="">></user></span>
<span class=""></users></span>
<span class=""><params></span>
<span class=""><param</span> <span class="">name</span><span class="">=</span><span class="">"dial-string"</span> <span class="">value</span><span class="">=</span><span class="">"{presence_id=<a href="mailto:1004@0.0.0.0">1004@0.0.0.0</a>}${sofia_contact(1004@</span><span class=""><span class="">0.0.0.0</span>)}"</span><span class="">></param></span>
<span class=""><param</span> <span class="">name</span><span class="">=</span><span class="">"a1-hash"</span> <span class="">value</span><span class="">=</span><span class="">"<HASH>"</span><span class="">></param></span>
<span class=""></params></span>
<span class=""><variables></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"user_context"</span> <span class="">value</span><span class="">=</span><span class="">"default"</span><span class="">></variable></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"effective_caller_id_name"</span> <span class="">value</span><span class="">=</span><span class="">"Test"</span><span class="">></variable></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"effective_caller_id_number"</span> <span class="">value</span><span class="">=</span><span class="">"1004"</span><span class="">></variable></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"dtmf-type"</span> <span class="">value</span><span class="">=</span><span class="">"info"</span><span class="">></variable></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"toll_allow"</span> <span class="">value</span><span class="">=</span><span class="">"domestic,international,local"</span><span class="">></variable></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"accountcode"</span> <span class="">value</span><span class="">=</span><span class="">"1004"</span><span class="">></variable></span>
<span class=""><variable</span> <span class="">name</span><span class="">=</span><span class="">"transfer_fallback_extension"</span> <span class="">value</span><span class="">=</span><span class="">"operator"</span><span class="">></variable></span>
<span class=""></variables></span>
<span class=""></group></span>
<span class=""></groups></span>
<span class=""></domain></span>
<span class=""></section></span>
<span class=""></document></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"><<a href="mailto:you.kissmyarse@gmail.com" target="_blank">you.kissmyarse@gmail.com</a>></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,<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't find user [1004@<IP>]<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@<IP><br>Contact: "" <sip:mp2337gf@1tfoakfdb6me.invalid;transport=ws;fs_nat=yes;fs_path=sip%3Amp2337gf%40<IP>%3A59613%3Btransport%3Dws><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: <IP><br>Port: 59613<br>Auth-User: 1004<br>Auth-Realm: <IP><br>MWI-Account: 1004@<IP><br><br><br>Originate command:<br>originate {ignore_early_media=true,origination_caller_id_number=1004}loopback/1004 &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>
</blockquote></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="mailto:ben@lazypeople.co.uk" 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>