×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

TAPI: line identifier change when a new line is added...

TAPI: line identifier change when a new line is added...

TAPI: line identifier change when a new line is added...

(OP)
Hello,
I'm developing a TAPI client. I need make a call through a line. The identifier of this line change when a new line is added in server: example:

(time)   
          LineID      Comment
        ---------------------
          1          Modem 1
          2          Modem 2 (this is the line i need use)
          3          Network card

(time + 1)
          LineID      Comment
        ---------------------
          1          Modem 3
          2          Modem 1
          3          Modem 2 (this is the line i need use)
          4          Network card

Is possible identifier the line with a non-variable value??
Can I openLine with that non-variable value?

Thanks

dmb       

RE: TAPI: line identifier change when a new line is added...

dmb,

When I have used TAPI to do things like this (I don't like TAPI and avoid it at all costs), I use the familiar name of the modem to select it, not an index to its LineID.

If you use the familiar name, then when some adds a second modem of the same brand and model, it calls it #2, etc.  Once the software is configured to use a specific modem, then I either write a registry setting or use an INI file to store that device's familiar name.

I normally allow the user to configure the software, but you could hard code it (into a registry setting or INI file) if you are delivering a turn-key system.

pansophic

RE: TAPI: line identifier change when a new line is added...

(OP)
Ok, that solution is my current solution. I would like get the lineId using the familiar name. There are any TAPI method to obtain that? Ex: lineId = unknownMethod(FamilarNameDevice).

Thanks a lot!!!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close