<div dir="ltr">The default message context for the pjsip is the same the call context, so to set the new message context for the pjsqip you need to modify your pjsip.endpoint_custom.conf and add the message context as in the example below :<div><br></div><div>







<p class=""><span class="">[</span><span class="">100</span><span class="">]</span></p>
<p class=""><span class="">type=endpoint</span></p>
<p class=""><span class="">aors</span><span class="">=100</span></p>
<p class=""><span class="">auth=100-auth</span></p>
<p class=""><span class="">allow=</span><span class="">ulaw</span><span class="">,</span><span class="">alaw</span><span class="">,</span><span class="">gsm</span><span class="">,</span><span class="">g726</span></p>
<p class=""><span class="">context</span><span class="">=from-internal</span></p>
<p class=""><span class="">callerid</span><span class="">=device <100></span></p>
<p class=""><span class="">dtmf_mode</span><span class="">=rfc4733</span></p>
<p class=""><span class="">use_avpf</span><span class="">=no</span></p>
<p class=""><span class="">ice_support</span><span class="">=no</span></p>
<p class=""><span class="">media_use_received_transport</span><span class="">=no</span></p>
<p class=""><span class="">trust_id_inbound</span><span class="">=yes</span></p>
<p class=""><span class="">media_encryption</span><span class="">=no</span></p>
<p class=""><span class="">rtp_symmetric</span><span class="">=yes</span></p>
<p class=""><span class="">rewrite_contact</span><span class="">=yes</span></p>
<p class=""><b><span class="">message_context</span><span class="">=astsms</span></b></p><p class=""><span class=""><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 8:35 AM, Sonny Rajagopalan <span dir="ltr"><<a href="mailto:sonny.rajagopalan@gmail.com" target="_blank">sonny.rajagopalan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am looking for documentation support for enabling instant messaging between endpoints using Asterisk 13.1.0 and vanilla VoIP clients such as Zoiper. Where do I enable this support on the server side and does it need anything on the client side? I see plenty of online help for chan_sip, but nothing for chan_pjsip.</div><div><br></div><div>I imagine there is both pjsip.conf configuration and extensions.conf configuration?<br></div><div><br></div><div>Any help is appreciated.<br></div><div><br></div><div>Thanks,</div><div>Sonny.</div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>