Thyda ENG
2015-Sep-22 13:57 UTC
[asterisk-users] How to config instance messaging for asterisk 12
MessageSend is command for send message, however I don't know what the context for sending message. I create a pjsip with the context 'from-internal' then when i config the extension for context 'from-internal' it works but then the my call dialplan does not work. Because they both sms and call are coming to the same context 'from-internal', as I notice. I wonder how could i custom the context for the messaging ? On Tue, Sep 22, 2015 at 8:52 PM, Joshua Colp <jcolp at digium.com> wrote:> On 15-09-22 10:48 AM, Thyda ENG wrote: > >> Yes, sorry actually in asterisk 13, anyway how could i do that ? >> > > I've told you how the context is determined in my response. Otherwise the > MESSAGE dialplan function and MessageSend dialplan application can be used > to retrieve message information and send a message out of dialog. > > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- 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/20150922/c82285e0/attachment.html>
Joshua Colp
2015-Sep-22 14:02 UTC
[asterisk-users] How to config instance messaging for asterisk 12
On 15-09-22 10:57 AM, Thyda ENG wrote:> MessageSend is command for send message, however I don't know what the > context for sending message. I create a pjsip with the context > 'from-internal' then when i config the extension for context > 'from-internal' it works but then the my call dialplan does not work. > Because they both sms and call are coming to the same context > 'from-internal', as I notice. I wonder how could i custom the context > for the messaging ?As I originally mentioned the "message_context" option can be used to send messages to a different context. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Thyda ENG
2015-Sep-22 14:05 UTC
[asterisk-users] How to config instance messaging for asterisk 12
I heard some talk about message_context too but I don't know to where to put the message_context info in . On Tue, Sep 22, 2015 at 9:02 PM, Joshua Colp <jcolp at digium.com> wrote:> On 15-09-22 10:57 AM, Thyda ENG wrote: > >> MessageSend is command for send message, however I don't know what the >> context for sending message. I create a pjsip with the context >> 'from-internal' then when i config the extension for context >> 'from-internal' it works but then the my call dialplan does not work. >> Because they both sms and call are coming to the same context >> 'from-internal', as I notice. I wonder how could i custom the context >> for the messaging ? >> > > As I originally mentioned the "message_context" option can be used to send > messages to a different context. > > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - US > Check us out at: www.digium.com & www.asterisk.org > > -- > _____________________________________________________________________ > -- 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/20150922/3abba671/attachment.html>