Re: [Freeswitch-dev] Re-Routing to a new dialplan

2009-07-09 Thread Mathieu Rene
If you are in an event you need to get a ptr to the session then use switch_ivr_session_transfer() Like: switch_core_session_t *session; const char *destination = "dest"; const char *dialplan = "XML"; const char *context = "default"; if ((session = switch_core_s

Re: [Freeswitch-dev] Re-Routing to a new dialplan

2009-07-09 Thread Anthony Minessale
look for switch_ivr_session_transfer On Thu, Jul 9, 2009 at 5:36 PM, Kevin Snow wrote: > > I’m working on a module in C and I’ve hit a little bit of a stumbling > block. I have a situation where I receive an event and in response I want to > send a known session to a new dialplan eventhough it’

[Freeswitch-dev] Re-Routing to a new dialplan

2009-07-09 Thread Kevin Snow
I¹m working on a module in C and I¹ve hit a little bit of a stumbling block. I have a situation where I receive an event and in response I want to send a known session to a new dialplan eventhough it¹s somewhere in the middle of another dialplan. I can¹t find examples of doing this in C. Are ther