this works now like it should work. But I have a new problem.
If I use our old Sofphone which we created we don't see any CallInfo events in the RCC API. I have activated the CallAdd, CallUpdate and CallDell events now in the RCC API but the call id's I get are unknown to the RCC API.
I have testet this with the Innovaphone Softphone where we get the CallInfo Events and it looks like this:
{"mt":"CallAdd","api":"RCC","src":"RccApiSession","guid":"f3a5ab53251a610178d80050569337b0","cn":"Sascha","call":3,"state":0,"conf-id":"4cdc18fc2c2b4dfd8546813e3fb53f24","call-id":"65e328aa77c34f1f8fed747cf031cfff"}
{"mt":"CallAdd","api":"RCC","src":"RccApiSession","guid":"065e4f3637d45c013c6b0050569337b0","cn":"AMT","call":4,"state":128,"conf-id":"4cdc18fc2c2b4dfd8546813e3fb53f24","call-id":"c4d24c4720ad640118c60050569337b0"}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":3,"msg":"x-setup","remote":{"h323":"Sascha","e164":"109"},"local":{"h323":"","e164":"001511234567"}}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":4,"msg":"r-setup","remote":{"h323":"","e164":"001511234567"},"local":{"h323":"Sascha","e164":"109"}}
{"mt":"CallInfo","api":"RCC","src":"f3a5ab53251a610178d80050569337b0","user":1,"call":2,"state":1,"conf":"4cdc18fc2c2b4dfd8546813e3fb53f24","peer":{"e164":"001511234567","h323":""},"time":0,"msg":"x-setup"}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":4,"msg":"x-call-proc","remote":{"h323":"","e164":"001511234567"},"local":{"h323":"Sascha","e164":"109"}}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":3,"msg":"r-call-proc","remote":{"h323":"Sascha","e164":"109"},"local":{"h323":"","e164":"001511234567"}}
{"mt":"CallInfo","api":"RCC","src":"f3a5ab53251a610178d80050569337b0","user":1,"call":2,"state":3,"peer":{"e164":"001511234567","h323":""},"time":4,"msg":"r-call-proc"}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":3,"msg":"r-alert","remote":{"h323":"Sascha","e164":"109"},"local":{"h323":"","e164":""}}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":4,"msg":"x-alert","remote":{"h323":"","e164":"001511234567"},"local":{"h323":"Sascha","e164":"109"}}
{"mt":"CallInfo","api":"RCC","src":"f3a5ab53251a610178d80050569337b0","user":1,"call":2,"state":4,"peer":{"e164":"001511234567","h323":""},"time":6,"msg":"r-alert"}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":3,"msg":"r-conn","remote":{"h323":"Sascha","e164":"109"},"local":{"h323":"","e164":"0004915187654321"}}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":4,"msg":"x-conn","remote":{"h323":"","e164":"0004915187654321"},"local":{"h323":"Sascha","e164":"109"}}
{"mt":"CallInfo","api":"RCC","src":"f3a5ab53251a610178d80050569337b0","user":1,"call":2,"state":5,"peer":{"e164":"0004915187654321","h323":"","norm":"0004915187654321"},"time":9,"msg":"r-conn"}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":3,"msg":"r-rel","remote":{"h323":"Sascha","e164":"109"},"local":{"h323":"","e164":"0004915187654321"}}
{"mt":"CallUpdate","api":"RCC","src":"RccApiSession","call":4,"msg":"x-rel","remote":{"h323":"","e164":"0004915187654321"},"local":{"h323":"Sascha","e164":"109"}}
{"mt":"CallInfo","api":"RCC","src":"f3a5ab53251a610178d80050569337b0","user":1,"call":2,"state":6,"peer":{"e164":"0004915187654321","h323":""},"time":14,"msg":"r-rel"}
{"mt":"CallDel","api":"RCC","src":"RccApiSession","call":3}
{"mt":"CallDel","api":"RCC","src":"RccApiSession","call":4}
{"mt":"CallInfo","api":"RCC","src":"f3a5ab53251a610178d80050569337b0","user":1,"call":2,"del":true,"state":6,"peer":{"e164":"0004915187654321","h323":""},"time":14,"msg":"del"}
I know that the call from the CallInfo event is the call I need to make a UserRedirect but when I use the call from the CallUpdate event I get this error.