<div dir="ltr">According to what I have done , I add the message_context to the pjsip.endpoint_custom.conf in /etc/asterisk and then I create that message_context in the extension.conf, and it works.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 9:34 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">So, the only thing that is needed in the endpoint definition in pjsip.conf (there is no such file pjsip.endpoint_custom.conf) is <div><br></div><div><b style="font-size:12.8px">message_context=astsms</b><br></div><div><b style="font-size:12.8px"><br></b></div><div>Is that correct? Anything I need to do in extensions.conf? I see that the messages are received at Asterisk (when I turn on pjsip set logger on) but they are not delivered to the other endpoint. What gives?</div><div><br></div><div>Any help appreciated. Thanks!</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 16, 2015 at 9:16 PM, Thyda ENG <span dir="ltr"><<a href="mailto:engthyda@gmail.com" target="_blank">engthyda@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">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><span>[</span><span>100</span><span>]</span></p>
<p><span>type=endpoint</span></p>
<p><span>aors</span><span>=100</span></p>
<p><span>auth=100-auth</span></p>
<p><span>allow=</span><span>ulaw</span><span>,</span><span>alaw</span><span>,</span><span>gsm</span><span>,</span><span>g726</span></p>
<p><span>context</span><span>=from-internal</span></p>
<p><span>callerid</span><span>=device <100></span></p>
<p><span>dtmf_mode</span><span>=rfc4733</span></p>
<p><span>use_avpf</span><span>=no</span></p>
<p><span>ice_support</span><span>=no</span></p>
<p><span>media_use_received_transport</span><span>=no</span></p>
<p><span>trust_id_inbound</span><span>=yes</span></p>
<p><span>media_encryption</span><span>=no</span></p>
<p><span>rtp_symmetric</span><span>=yes</span></p>
<p><span>rewrite_contact</span><span>=yes</span></p>
<p><b><span>message_context</span><span>=astsms</span></b></p><p><span><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><span><font color="#888888">
<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></font></span></blockquote></div><br></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>
</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>