Re: JTAPI-INTEREST Digest - <first ever> to 9 Oct 2006 (#2006-1)

STEINER Stephan <[email protected]> Tue, 10 Oct 2006 14:45:01 +0200
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <31228311EA1CC44CB456BD47102BCD9AB136B7@CHMAIZH07.ch.nextiraone-eu.ned>
John

Where are you redirecting a call to? If it's internally, you have to =
make sure that the call manager is configured to allow calling party =
modifications (there are settings in the user iirc.. or maybe the phone)
When you are redirecting externally, it depends on several factors:

1) You need a trunk type where the signalling protocol includes both =
caller and callee number. I know ISDN can do that, I'm not sure if any =
other trunk types support it, too. I know a regular CO FXS port won't =
do, as the CO sets the caller ID in that scenario.
2) Your carrier needs to support the sending of custom caller IDs. =
Whether this is possible depends on your carrier, and the regulations in =
your country of residence.
3) Your gateway needs to support modified caller IDs as well and must no =
perform any additional manipulations, and it needs to send out the =
number in the proper format (for ISDN, it is national format... ). E.g. =
with ISDN trunks you normally just send a few digits and the carrier =
sets the rest.. needless to say that in a case where you want to send =
the full caller id, the regular caller id manipulations that you might =
have on the gateway have to be bypassed.
4) Even when all of the above is satisfied, when you make calls across =
international borders, you'll still run into problems because when a =
number comes in national format, telco providers in other countries tend =
to internationalize that number by prepending the country prefix - and =
there's just no way around that.

If all that is fulfilled and it still doesn't work, start a trace on =
your gateway to see what it sends out via the PSTN trunk.

Regards
Stephan

> -----Original Message-----
> From: Discussion list for Java Telephony API [mailto:JTAPI-
> [email protected]] On Behalf Of Automatic digest processor
> Sent: Dienstag, 10. Oktober 2006 08:01
> To: Recipients of JTAPI-INTEREST digests
> Subject: JTAPI-INTEREST Digest - <first ever> to 9 Oct 2006 (#2006-1)
>=20
> There are 2 messages totalling 60 lines in this issue.
>=20
> Topics of the day:
>=20
>   1. Setting caller ID for an outbound call
>   2. I am currently on busines trip's and will reply to your email =
when I
> have
>      returned. In urgent matters for me please call my GSM, or please
> contact
>      Alcatel Norway on (+47) 6718 8400.
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff JTAPI-INTEREST".  For general help, send email =
to
> [email protected] and include in the body of the message "help".
>=20
> ----------------------------------------------------------------------
>=20
> Date:    Mon, 9 Oct 2006 13:03:46 -0600
> From:    John Spens <[email protected]>
> Subject: Setting caller ID for an outbound call
>=20
> Using a Cisco's JTAPI implementation, I'm attempting to set the caller =
ID
> on an outbound call.
>=20
> Can anyone give me some ideas?
>=20
> ---------------------------------------------------------
> I read another post that mentioned this using redirect:
> http://archives.java.sun.com/cgi-bin/wa?A2=3Dind0507&L=3Djtapi-
> interest&P=3DR213&I=3D-3
>=20
> "There are potentially other scenarios using redirects or routing
> functions
> which allow you to modify the caller ID. You can redirect and change =
the
> CLID, but I'm afraid redirect only works with calls that have not yet =
been
> picked up."
>=20
> I've tried using the CiscoConnection.redirect like this:
>=20
> CiscoConnection connection;
> // ... Retrieve a call that is ringing but hasn't been answered.
> connection.redirect("555000", CiscoConnection.REDIRECT_NORMAL,
> CiscoConnection.CALLINGADDRESS_SEARCH_SPACE,
> CiscoConnection.CALLED_ADDRESS_SET_TO_PREFERREDCALLEDPARTY, "5551234",
> null, null);
>=20
> I do see on my cisco phone (5550000) "Forwarded for 5551234".
> But any other phone shows "Unknown".
> ---------------------------------------------------------
>=20
> Thanks,
> John
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff JTAPI-INTEREST".  For general help, send email =
to
> [email protected] and include in the body of the message "help".
>=20
> ------------------------------
>=20
> Date:    Tue, 10 Oct 2006 01:00:31 +0200
> From:    Kai Ren=E8 Nordt=F8mme <[email protected]>
> Subject: I am currently on busines trip's and will reply to your email
> when I have returned. In urgent matters for me please call my GSM, or
> please contact Alcatel Norway on (+47) 6718 8400.
>=20
> I will be out of the office starting  03.10.2006 and will not return =
until
> 16.10.2006.
>=20
> ENJOY THIS DAY AND THANK'S FOR CONTACTING ME ...
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff JTAPI-INTEREST".  For general help, send email =
to
> [email protected] and include in the body of the message "help".
>=20
> ------------------------------
>=20
> End of JTAPI-INTEREST Digest - <first ever> to 9 Oct 2006 (#2006-1)
> *******************************************************************

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".