Hi Rolf,
The error says that you did not have a session running when you asked
the session to be terminated. The reason for that is that you have
initiated the session with *postpaid as RequestType and we don't create
sessions for that.
DanB
On Wed, 2018-02-07 at 10:18 -0800, Rolf Røsok wrote:
> I got an error from the SMGenericV1.TerminateSession method.
> Even though the CDR was created. What does this error mean?
> #
> T 2018/02/07 18:51:48.439298
10.30.2.165:34497 ->
10.30.2.20:2012
> [AP]
> { "method": "SMGenericV1.GetMaxUsage", "id": 730200065, "params": [ {
> "Subject": "Kvantel", "Destination": "4790197839", "RequestType":
> "*postpaid", "SetupTime": "1518025908", "OriginID": "5a14f1b-
> 368e27d1-24a7ef-7f42a44e2738-4102280a-13ca-7217", "Account":
> "
4746112617", "Tenant": "Telecom.no", "EmailAddress": "support@teleco
>
m.no" } ] }
> T 2018/02/07 18:51:48.454894
10.30.2.20:2012 ->
10.30.2.165:34497
> [AP]
> {"id":730200065,"result":-1,"error":null}
> #
> T 2018/02/07 18:52:02.243308
10.30.2.165:52437 ->
10.30.2.20:2012
> [AP]
> { "method": "SMGenericV1.InitiateSession", "id": 1428322344,
> "params": [ { "Subject": "Kvantel", "Destination": "4790197839",
> "RequestType": "*postpaid", "SetupTime": "1518025908", "OriginID":
> "5a14f1b-368e27d1-24a7ef-7f42a44e2738-4102280a-13ca-7217", "Account":
> "
4746112617", "Tenant": "Telecom.no", "EmailAddress": "support@teleco
>
m.no", "DialogID": 1871408923, "DialogEntry": 3385, "AnswerTime":
> "1518025922" } ] }
> T 2018/02/07 18:52:02.245124
10.30.2.20:2012 ->
10.30.2.165:52437
> [AP]
> {"id":1428322344,"result":-1,"error":null}
> #
> T 2018/02/07 18:52:08.487250
10.30.2.165:52437 ->
10.30.2.20:2012
> [AP]
> { "method": "SMGenericV1.TerminateSession", "id": 1428322348,
> "params": [ { "Subject": "Kvantel", "Destination": "4790197839",
> "RequestType": "*postpaid", "SetupTime": "1518025908", "OriginID":
> "5a14f1b-368e27d1-24a7ef-7f42a44e2738-4102280a-13ca-7217", "Account":
> "
4746112617", "Tenant": "Telecom.no", "EmailAddress": "support@teleco
>
m.no", "AnswerTime": "1518025922", "Usage": "6s" } ] }
> T 2018/02/07 18:52:08.487626
10.30.2.20:2012 ->
10.30.2.165:52437
> [AP]
> {"id":1428322348,"result":null,"error":"SESSION_NOT_FOUND"}
> #
> T 2018/02/07 18:52:08.497461
10.30.2.165:45062 ->
10.30.2.20:2012
> [AP]
> { "method": "SMGenericV1.ProcessCDR", "id": 851410947, "params": [ {
> "Subject": "Kvantel", "Destination": "4790197839", "RequestType":
> "*postpaid", "SetupTime": "1518025908", "OriginID": "5a14f1b-
> 368e27d1-24a7ef-7f42a44e2738-4102280a-13ca-7217", "Account":
> "
4746112617", "Tenant": "Telecom.no", "EmailAddress": "support@teleco
>
m.no", "Usage": "6s", "AnswerTime": "1518025922", "DisconnectCause":
> "Upstream BYE" } ] }
> T 2018/02/07 18:52:08.501985
10.30.2.20:2012 ->
10.30.2.165:45062
> [AP]
> {"id":851410947,"result":"OK","error":null}
> --
> You received this message because you are subscribed to the Google
> Groups "CGRateS" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
cgrates+u...@googlegroups.com.
> To post to this group, send email to
cgr...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/
> msgid/cgrates/f22d5582-0110-4f9d-ae56-9e144e47309d%
40googlegroups.com
> .
> For more options, visit
https://groups.google.com/d/optout.