Is there any way or method to have multiple xml_curl calls per call?

Something like

 

Call comes in

xml_curl gets dialplan xml

At some point in the dialplan xml something triggers a second call to xml_curl with current dial plan parameters.

 

 

Hope that makes some kind of sense.

 

Thanks

 

Tim