[asterisk-users] How do I enable instant messaging support for PJSIP endpoints on Asterisk 13.1.0?

Thyda ENG engthyda at gmail.com
Mon Nov 16 20:44:00 CST 2015


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.

On Tue, Nov 17, 2015 at 9:34 AM, Sonny Rajagopalan <
sonny.rajagopalan at gmail.com> wrote:

> So, the only thing that is needed in the endpoint definition in pjsip.conf
> (there is no such file pjsip.endpoint_custom.conf) is
>
> *message_context=astsms*
>
> 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?
>
> Any help appreciated. Thanks!
>
> On Mon, Nov 16, 2015 at 9:16 PM, Thyda ENG <engthyda at gmail.com> wrote:
>
>> 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 :
>>
>> [100]
>>
>> type=endpoint
>>
>> aors=100
>>
>> auth=100-auth
>>
>> allow=ulaw,alaw,gsm,g726
>>
>> context=from-internal
>>
>> callerid=device <100>
>>
>> dtmf_mode=rfc4733
>>
>> use_avpf=no
>>
>> ice_support=no
>>
>> media_use_received_transport=no
>>
>> trust_id_inbound=yes
>>
>> media_encryption=no
>>
>> rtp_symmetric=yes
>>
>> rewrite_contact=yes
>>
>> *message_context=astsms*
>>
>>
>>
>> On Tue, Nov 17, 2015 at 8:35 AM, Sonny Rajagopalan <
>> sonny.rajagopalan at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> 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.
>>>
>>> I imagine there is both pjsip.conf configuration and extensions.conf
>>> configuration?
>>>
>>> Any help is appreciated.
>>>
>>> Thanks,
>>> Sonny.
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>                http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>                http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151117/42f13856/attachment.html>


More information about the asterisk-users mailing list