[Freeswitch-users] Adding variable to be passed via mod_xml_curl
cliff at develix.com
Wed May 19 19:29:41 PDT 2010
I'm trying to use mod_xml_curl to fetch a dialplan based on the rdnis
and it's turning out to be harder than it should.
I'm unable to figure out how to add a custom value to be passed in the
2010-05-19 21:29:02.028280 [WARNING] ozmod_sangoma_boost.c:1632 RX EVENT: CALL_START:(80) [w1g20]
CSid=0 Seq=2995 Cn=[N/A] Cd= Ci= Rdnis=[SMG003-CPC-010-GEN-000-4062249157-003-0-0-1]
I need to acquire and pass the 4062249157 value from the Rdnis to my
HTTP server script (that's the actual Rdnis, the value in Cd is the LRN
and useless to me). Unfortunately, for whatever reason, mod_xml_curl
only passes the LRN to my script.
I'm having a difficult time as I can't determine exactly where I can put
anything that will happen before mod_xml_curl is called for the dialplan
(so I can't even use application info, for example, to see the list of
actual variables). Any advice on how to do this one thing would
probably get me 90% of the way there.
Thanks in advance,
More information about the FreeSWITCH-users