Discussion:
Getting CIP value within incoming.py
Rene Voss
2004-12-27 10:13:18 UTC
Permalink
Hi folks (and merry christmas by the way),

I want to test the CIP value within the incoming.py script to
distinguish analog from digital telephone calls. Has anyone an idea how
I can access it?

Since a few months we receive more and more annoying telephone calls
from call-centers or automatic call-computers - last time on Chrismas
Eve at 6 in the morning! I would like to answer these calls
automatically, but only the digital ones without a call_from number.
Therefor I need the CIP value.

Regards,
Rene
Gernot Hillier
2004-12-28 09:08:29 UTC
Permalink
Hi!
Post by Rene Voss
Hi folks (and merry christmas by the way),
Thanks :)
Post by Rene Voss
I want to test the CIP value within the incoming.py script to
distinguish analog from digital telephone calls. Has anyone an idea how
I can access it?
Unfortunately, you can't - without changes in the C++ part of CapiSuite.
Different CIP values are mapped to the simple VOICE and FAX service
indicators you get in the scripts to make it simpler.
Post by Rene Voss
Since a few months we receive more and more annoying telephone calls
from call-centers or automatic call-computers - last time on Chrismas
Eve at 6 in the morning! I would like to answer these calls
automatically, but only the digital ones without a call_from number.
Therefor I need the CIP value.
<OT>
Hmm, I had the same problem about three or four months ago. Then I started to
get really rude and to ask about their details to make a report against the
consumer advice centre ("Verbraucherzentrale"). Shortly after that, the calls
stopped...
</OT>
--
Ciao,

Gernot
Rene Voss
2004-12-28 12:17:59 UTC
Permalink
Post by Gernot Hillier
Post by Rene Voss
I want to test the CIP value within the incoming.py script to
distinguish analog from digital telephone calls. Has anyone an idea how
I can access it?
Unfortunately, you can't - without changes in the C++ part of CapiSuite.
That was exactly what I thought yesterday, after I'd taken a quick look
on your source.

I added the CIP value to the Connection class and passed it to the
Python incoming script. After I enhanced this script and the user's
config-section (with values for CIP- and caller-numbers), it's running
very well.
Post by Gernot Hillier
Post by Rene Voss
Since a few months we receive more and more annoying telephone calls
from call-centers or automatic call-computers [...]
<OT>
Hmm, I had the same problem about three or four months ago. Then I started to
get really rude and to ask about their details to make a report against the
consumer advice centre ("Verbraucherzentrale"). Shortly after that, the calls
stopped...
</OT>
I've tried the rude way, but it's really difficult to get useful
information from this computer-voice. :-)

Thanks,
René
Gernot Hillier
2004-12-28 14:47:02 UTC
Permalink
Hi!
Post by Rene Voss
Post by Gernot Hillier
Unfortunately, you can't - without changes in the C++ part of CapiSuite.
That was exactly what I thought yesterday, after I'd taken a quick look
on your source.
I added the CIP value to the Connection class and passed it to the
Python incoming script. After I enhanced this script and the user's
config-section (with values for CIP- and caller-numbers), it's running
very well.
Ah, ok, great. :)
Post by Rene Voss
Post by Gernot Hillier
Post by Rene Voss
Since a few months we receive more and more annoying telephone calls
from call-centers or automatic call-computers [...]
<OT>
Hmm, I had the same problem about three or four months ago. Then I
started to get really rude and to ask about their details to make a
report against the consumer advice centre ("Verbraucherzentrale").
Shortly after that, the calls stopped...
</OT>
I've tried the rude way, but it's really difficult to get useful
information from this computer-voice. :-)
Ah, ok, those thingies only hit me twice or so. The other times, I was called
by real persons...
--
Ciao,

Gernot
Loading...