[Freeswitch-users] Send extra custom info (image data) on call to show in target endpoint
gmaruzz at gmail.com
Fri Mar 13 12:33:14 UTC 2020
SIP messages (requests and replies) can have bodies.
those bodies are composed exactly like in smtp (mail)
so, they can be multipart, and contains any kind of stuff
check MIME, multipart
I do not think FreeSWITCH can compose multipart bodies, but you sure can do
it easily with a proxy (or maybe a FreeSWITCH lua script that builds the
body, then send that body, perhaps via ESL?)
for proxies, check OpenSIPS and Kamailio, they have excellent body
On Fri, Mar 13, 2020 at 1:07 PM Jose David Jurado Alonso <
josedavid at zennio.com> wrote:
> I'm looking for a way to be able to pass extra information (one image data
> for example) in a call.
> The purpose is to be able to display a preview image of the caller on the
> target device (mobile) so that they can see it before taking or rejecting
> the call.
> Currently, I have the image saved and send it using a push notification
> when the call occurs but I would like to skip that step and send it over
> SIP. In this way, you could send the image on the fly without having to
> store it on the server.
> For this, I need to know if there is the possibility of sending the image
> as data using the SIP protocol, in the SIP INVITE header or using an
> additional method so that the target endpoint (mobile) can see the image
> before to take the call.
> Any ideas on how to do it?
> José David Jurado Alonso
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users