Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Sending XML over the asterisk PJSIP


 
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: Sat Oct 17, 2015 2:33 am    Post subject: [asterisk-users] Sending XML over the asterisk PJSIP Reply with quote

Can i send XML data over the asterisk PJSIP ?
Back to top
mjordan at digium.com
Guest





PostPosted: Sat Oct 17, 2015 11:24 am    Post subject: [asterisk-users] Sending XML over the asterisk PJSIP Reply with quote

On Sat, Oct 17, 2015 at 2:32 AM, Thyda ENG <engthyda@gmail.com> wrote:
Quote:
Can i send XML data over the asterisk PJSIP ?


That's a fairly generic question. Can you be more specific about what
you are trying to accomplish?

--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://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: Sat Oct 17, 2015 7:00 pm    Post subject: [asterisk-users] Sending XML over the asterisk PJSIP Reply with quote

I am pretty new with asterisk and actually, I want to send the image to the client and my process is that, first the image is uploaded to the server and once the image uploaded it will return the xml tag that contain the information about that image, Then the sip send that xml to the server, however I don't see any notify information on the server at all. I wonder do we need to config anything on the server to enable it accept the xml text ?



On Sat, Oct 17, 2015 at 11:24 PM, Matthew Jordan <mjordan@digium.com (mjordan@digium.com)> wrote:
Quote:
On Sat, Oct 17, 2015 at 2:32 AM, Thyda ENG <engthyda@gmail.com (engthyda@gmail.com)> wrote:
Quote:
Can i send XML data over the asterisk PJSIP ?


That's a fairly generic question. Can you be more specific about what
you are trying to accomplish?

--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://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
mjordan at digium.com
Guest





PostPosted: Sun Oct 18, 2015 6:07 pm    Post subject: [asterisk-users] Sending XML over the asterisk PJSIP Reply with quote

On Sat, Oct 17, 2015 at 6:59 PM, Thyda ENG <engthyda@gmail.com> wrote:
Quote:
I am pretty new with asterisk and actually, I want to send the image to the
client and my process is that, first the image is uploaded to the server and
once the image uploaded it will return the xml tag that contain the
information about that image, Then the sip send that xml to the server,
however I don't see any notify information on the server at all. I wonder do
we need to config anything on the server to enable it accept the xml text ?


I'm going to go out on a limb and say Asterisk probably isn't going to
do what you want.

Even if Asterisk 'received' the XML in some fashion, I'm not sure what
you'd expect Asterisk to do with it. Asterisk is a media application
server; I'm not sure what it would do once it got an XML DOM that was
metadata associated with an image.

You can send arbitrary text message to/from Asterisk using SIP MESSAGE
requests. The fact that the text is XML would be immaterial to
Asterisk. That's probably the closest way to send arbitrary data to
Asterisk without writing a specific new module in the PJSIP stack.

--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://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