title: asterisk SIP User-to-User
body: <p>I am trying to make a SIP transfer from one Asterisk to another with passing UUI.
  On my asterisk 13 i have a simple dialplan:</p>
  
  <pre><code>exten =&gt; 2222,1,Answer
  exten =&gt; 2222,n,Transfer(SIP/1111@asterisk14&amp;User-to-User=342342ef34;encoding=hex)
  exten =&gt; 2222,n,Hangup
  </code></pre>
  
  <p>I have registered SIP trunk between my asterisk 13 ans asterisk 1.4</p>
  
  <pre><code>register =&gt; asterisk13:welcome@10.254.2.115/asterisk14
  [asterisk14]
  type=friend
  secret=welcome
  context=asterisk14_incomming
  host=dynamic
  </code></pre>
  
  <p>and done similar config on the second asterisk
  Now I have error:</p>
  
  <blockquote>
    <p>Purely numeric hostname (1111), and not a peer--rejecting!</p>
  </blockquote>
  
  <p>I have read all I can find about this error but cant find how to resolve it.</p>
  
  <p>thanks in advance for any suggestions</p>