Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to config instance messaging for asterisk 12


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
engthyda at gmail.com
Guest





PostPosted: Tue Sep 22, 2015 1:36 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

I am using the asterisk 12 with pjsip, I wonder how could I config the instance meesseging for pjsqip in asterisk 12 ? What is the default message context for pjssip ? I use the default extension.conf from the installation and I successfully could make the call over each but when I try to send message, it does not receive by the client.
Back to top
jcolp at digium.com
Guest





PostPosted: Tue Sep 22, 2015 5:43 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

On 15-09-22 03:34 AM, Thyda ENG wrote:
Quote:
I am using the asterisk 12 with pjsip, I wonder how could I config the
instance meesseging for pjsqip in asterisk 12 ? What is the default
message context for pjssip ? I use the default extension.conf from the
installation and I successfully could make the call over each but when I
try to send message, it does not receive by the client.

The context can be configured (at least in 13) using the message_context
option on endpoints but will fall back to the value of the context
option otherwise.

Just an additional reminder that 12 is in security fix only[1] and has
not received bug fixes for quite some time. It will also go end of life
at the end of this year.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

--
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
Back to top
engthyda at gmail.com
Guest





PostPosted: Tue Sep 22, 2015 8:49 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

Yes, sorry actually in asterisk 13, anyway how could i do that ?

On Tue, Sep 22, 2015 at 5:43 PM, Joshua Colp <jcolp@digium.com (jcolp@digium.com)> wrote:
Quote:
On [url=tel:15-09-22%2003]15-09-22 03[/url]:34 AM, Thyda ENG wrote:
Quote:
I am using the asterisk 12 with pjsip, I wonder how could I config the
instance meesseging for pjsqip in asterisk 12 ? What is the default
message context for pjssip ? I use the default extension.conf from the
installation and I successfully could make the call over each but when I
try to send message, it does not receive by the client.



The context can be configured (at least in 13) using the message_context option on endpoints but will fall back to the value of the context option otherwise.

Just an additional reminder that 12 is in security fix only[1] and has not received bug fixes for quite some time. It will also go end of life at the end of this year.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

--
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
Back to top
jcolp at digium.com
Guest





PostPosted: Tue Sep 22, 2015 8:52 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

On 15-09-22 10:48 AM, Thyda ENG wrote:
Quote:
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
Back to top
engthyda at gmail.com
Guest





PostPosted: Tue Sep 22, 2015 8:58 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

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@digium.com (jcolp@digium.com)> wrote:
Quote:
On [url=tel:15-09-22%2010]15-09-22 10[/url]:48 AM, Thyda ENG wrote:
Quote:
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


Back to top
jcolp at digium.com
Guest





PostPosted: Tue Sep 22, 2015 9:04 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

On 15-09-22 10:57 AM, Thyda ENG wrote:
Quote:
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
Back to top
engthyda at gmail.com
Guest





PostPosted: Tue Sep 22, 2015 9:09 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

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@digium.com (jcolp@digium.com)> wrote:
Quote:
On [url=tel:15-09-22%2010]15-09-22 10[/url]:57 AM, Thyda ENG wrote:
Quote:
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


Back to top
jcolp at digium.com
Guest





PostPosted: Tue Sep 22, 2015 9:20 am    Post subject: [asterisk-users] How to config instance messaging for asteri Reply with quote

On 15-09-22 11:05 AM, Thyda ENG wrote:
Quote:
I heard some talk about message_context too but I don't know to where to
put the message_context info in .

It goes in the endpoint[1].

[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip#Asterisk13Configuration_res_pjsip-endpoint_message_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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services