Stefan Sayer writes:

> sbc:cc:pcalls b/f: if call_profile not available, refuse with 500

i pulled master where this commit is included and now got from my
cc_pcalls tests:

Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [onInvite, SBC.cpp:591] DEBUG: 
processing initial INVITE sip:[email protected]
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [replaceParameters, 
ParamReplacer.cpp:353] DEBUG: cc_interfaces pattern replace: 
'$H(P-Call-Control)' -> 'cc_pcalls;uuid=sip:[email protected];max_calls=1'
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [fixupCCInterface, SBC.cpp:561] 
DEBUG: instantiating CC interface from 
'cc_pcalls;uuid=sip:[email protected];max_calls=1'
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [fixupCCInterface, SBC.cpp:566] 
DEBUG:     module='cc_pcalls'
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [fixupCCInterface, SBC.cpp:578] 
DEBUG:     'uuid'='sip:[email protected]'
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [fixupCCInterface, SBC.cpp:578] 
DEBUG:     'max_calls'='1'
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [onInvite, SBC.cpp:653] DEBUG: 
processing replacements for call control interface 'cc_dyn_0'
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [start, CCParallelCalls.cpp:116] 
ERROR: internal: call_profile object not found in parameters
Oct  7 18:39:19 sip sems[25116]: [#b53fab70] [CCStart, SBC.cpp:1240] DEBUG: 
replying with 500 Server Internal Error on call control action REFUSE from 
'cc_dyn_0' headers=''

why is sems complaining about "call_profile object not found in
parameters"?  in call_control.sbcprofile.conf i have:

call_control=$H(P-Call-Control)

and when invite comes in it has:

        P-App-Name: sbc
        P-App-Param: profile=call_control;from=sip:[email protected]
        P-Call-Control: cc_pcalls;uuid=sip:[email protected];max_calls=1

-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to