[Freeswitch-users] valet_park and caller Id number
prestonh at gmail.com
Thu Apr 19 18:23:06 UTC 2018
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
(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:
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0"
state="full" entity="sip:park+8001 at pbx.myfreeswitchdomain.com">
<dialog id="8001" direction="recipient">
<identity display="park">sip:8001 at pbx.myfreeswitchdomain.com
<target uri="sip:8001 at pbx.myfreeswitchdomain.com;proto=park">
<param pname="+sip.rendering" pvalue="no"/>
<target uri="sip:park+8001 at pbx.myfreeswitchdomain.com"/>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users