[Freeswitch-users] Send extra custom info (image data) on call to show in target endpoint

Giovanni Maruzzelli 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
manipulation capabilities



-giovanni





On Fri, Mar 13, 2020 at 1:07 PM Jose David Jurado Alonso <
josedavid at zennio.com> wrote:

> Hi,
>
> 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
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



-- 
Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200313/f0771896/attachment.html>


More information about the FreeSWITCH-users mailing list