title: pjsip send sms how to
body: <p>I'm trying to send sms messages through pjsip without luck so far.</p>
  
  <p>The account gets registered on a server and I get a register success response but I can't find any good tutorials that show how to send sms.</p>
  
  <p>I found this book online but it still doesn't give me any examples of how to use this library:
  <a href="http://www.scribd.com/doc/90092246/Pjsip-Dev-Guide#outer_page_48" rel="noreferrer">http://www.scribd.com/doc/90092246/Pjsip-Dev-Guide#outer_page_48</a></p>
  
  <p>I know I'm supposed to use:</p>
  
  <pre><code>pjsip_endpt_create_request(pjsip_endpoint *endpt, const pjsip_method method, const pj_str_t *target, const pj_str_t *from, const pj_str_t *to, , const pj_str_t *call_id, int cseq, const pj_str_t *text, pjsip_tx_data **p_tdata);
  
  pjsip_endpt_acquire_transport(pjsip_endpoint *endpt, pjsip_transport_type_e type, const pj_sockaddr_t *remote, int addr_len, const pjsip_tpselector *sel, pjsip_transport **p_tp)
  </code></pre>
  
  <p>but apart from these, I have no idea.</p>
  
  <p>Note: I don't want instant messaging, I want the texts to be delivered as SMS if possible.
  And it needs to be done in pjsip, no other library (no flexibility unfortunately).</p>
  
  <p>Thanks in advance!</p>