[Freeswitch-users] valet_park and caller Id number
prestonh at gmail.com
Mon Apr 30 15:35:39 UTC 2018
I'll make myself a note to try and see if I can circle back around someday
if possible and do that. I'm happy to share the code if anyone else wants
to do the extra work of adding a config option and making a patch request.
I'm unfortunately too tied up right now trying to get my final caller ID
name bug fixed. It seems I may be the last person still using PRIs :) (or
at least no one uses PRIs with FreeSWITCH).
On Fri, Apr 27, 2018 at 5:06 PM, Joel Serrano <joel at gogii.net> wrote:
> Maybe you can make that functionality configurable and submit a PR to
> I’m sure someone can/will benefit from your effort.
> On Fri, Apr 27, 2018 at 13:47 Preston Hagar <prestonh at gmail.com> wrote:
>> Just thought I would send a followup in case someone ever runs into the
>> same problem and comes across this thread later.
>> We ended up having to modify mod_valet_parking.c to pull in the
>> caller_id_number channel variable and then added it as an
>> Then in sofia_presence.c we edited the section that builds the presence
>> XML for parked calls and grabbed that caller ID number and put it in the
>> <remote><identity display="" section instead of just having the word "park"
>> hardcoded like it is now.
>> We now get caller Id numbers on things like Voice Operator Panel by
>> having it monitor the presence on the parked extensions.
>> If anyone ever needs the code, feel free to contact me and I'm happy to
>> On Thu, Apr 19, 2018 at 1:23 PM, Preston Hagar <prestonh at gmail.com>
>>> I've setup mod_valet_park to have a set of "parking slots" so that our
>>> receptionist can park the calls in, page for someone to pickup, and then
>>> that person can dial in and pick up. That is all working well.
>>> I'm using Voice Operator Panel (VOP) for the receptionist software and
>>> want them to be able to monitor presence on the parking slots so that they
>>> can see which ones have calls parked that haven't been picked up. I'd also
>>> like them to be able to see the caller id of the call parked in each slot.
>>> VOP is monitoring presence fine, but for callerId it just shows "park"
>>> as the number. I traced the presence packets in the console and the
>>> problem is that in the remote->identity display section of the notify
>>> packet, it has "park" as the value to display, instead of the caller id
>>> number parked there.
>>> (see example XML below).
>>> I have a couple of questions:
>>> 1. Is it even possible to get mod_valet_park/freeswitch to report the
>>> parked caller id number in presence requests in the current
>>> mod_valet_park? If so, how is it done?
>>> 2. If it isn't in the current code, can anyone point me to the code
>>> block that generates that remote XML section of the presence notification?
>>> I poked around in the valet_send_presence function of mod_valet_parking.c,
>>> but can't seem to figure out how that block is built. I will admit that
>>> I'm still getting up to speed on how Presence works in FreeSWITCH.
>>> Thanks for your help!
>>> Here is a sample notify block:
>>> <?xml version="1.0"?>
>>> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
>>> version="0" state="full" entity="sip:park+8001 at pbx.
>>> <dialog id="8001" direction="recipient">
>>> <identity display="park">sip:8001 at pbx.
>>> <target uri="sip:8001 at pbx.myfreeswitchdomain.com;proto=
>>> <param pname="+sip.rendering" pvalue="no"/>
>>> <identity display="park">sip:8001</identity>
>>> <target uri="sip:park+8001 at pbx.myfreeswitchdomain.com"/>
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users