I was having a similar issue, after some investigation I found that
nothing happens because call_profile is null after the dynamic cast
(so the functions start/connect/end return imeadiatly)

The issue goes away if you revert to 4f3e1b179492b9bfd5916747d747176c419f9721

Torrey





On 7 October 2011 13:47, Juha Heinanen <[email protected]> wrote:
> stefan,
>
> i had change to test call control from master branch.  i'm testing it
> with cc_pcalls module.  invite comes in and i get to syslog:
>
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [onInvite, SBC.cpp:591] DEBUG: 
> processing initial INVITE sip:[email protected]
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [replaceParameters, 
> ParamReplacer.cpp:351] DEBUG: cc_interfaces pattern replace: 
> '$H(P-Call-Control)' -> 'cc_pcalls;uuid=sip:[email protected];max_calls=1'
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [fixupCCInterface, SBC.cpp:561] 
> DEBUG: instantiating CC interface from 
> 'cc_pcalls;uuid=sip:[email protected];max_calls=1'
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [fixupCCInterface, SBC.cpp:566] 
> DEBUG:     module='cc_pcalls'
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [fixupCCInterface, SBC.cpp:578] 
> DEBUG:     'uuid'='sip:[email protected]'
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [fixupCCInterface, SBC.cpp:578] 
> DEBUG:     'max_calls'='1'
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [onInvite, SBC.cpp:653] DEBUG: 
> processing replacements for call control interface 'cc_dyn_0'
> Oct  7 14:34:05 sip sems[18366]: [#b53fab70] [invoke, CCParallelCalls.cpp:72] 
> DEBUG: CCParallelCalls: start(['cc_dyn_0', 
> '7DE5F8E3-4E8EE3AD00029D3F-B56FDB70', <Object>, [1317987245, 175580, 0, 0, 0, 
> 0], {'max_calls': '1', 'uuid': 'sip:[email protected]'}, 10])
>
> i un-commented the last entry to make sure that CCParallelCalls::invoke
> is executed.
>
> the problem is that i don't get any other debug messages to syslog from
> cc_pcalls module, especially based on this:
>
> DBG("enforcing limit of %i calls for uuid '%s'\n", max_calls, uuid.c_str());
>
> sems just sends the invite out.
>
> what do i do wrong or is there a bug in cc_pcalls module?
>
> -- juha
> _______________________________________________
> Semsdev mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/semsdev
>
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to