..

ttyds CID assign

..

Developer Group

Developer Group
Connect with thousands of other developers to brainstorm ideas, share best practices and tips - or just chat about the latest emerging technologies making noise in the field. And of course, get the most up-to-date service and support news from Dialogic.
Dialogic Diva SDK programming questions

ttyds CID assign

  • I am using /dev/ttydsXX interface to communicate using 30 modems on DIVA E1 single port card. I need to serve only outgoing calls(no incoming calls at all) and control outgoing numbers (CIDs) in such way:

    /dev/ttyds01 - one defined number by Telco Network Provider as CID ,

    /dev/ttyds02 - next one defined number by Telco Network Provider as CID,

    to

    /dev/ttydsXX - next defined XXXXXXXXX number as CID

    How to achieve that functionality, becouse I tried:

    AT+iOTelco_Network_Provider_number

    OK

    AT #CID=3

    OK

    AT+iQ=o1+iK=o1 on dev/ttyds01

    OK

    and

    AT+iQ=o1+iK=o2 on dev/ttyds02

    OK

    but no effects. All efforts gives me single the same outgoing number on all ports, besides Telco Network Provider assigned over 30 numbers for me.

  • Can you check what the Diva board sends on the D-channel as a SETUP? Is it sending the correct number or not for the calling party number? It is possible the telco is overriding the number that the board sends. A trace will show you that.

  • I can force the calling number over linetest tool - option Phone test - using settings shown below and it works(verified) ,
    but I don't know how to set it all up on ttyds01 using AT-commands (I have to do it over modem directly).
    Please help.

  • You can check the config.ttydsxx files to set the init sequence to include the calling party number. See this article for reference: www.dialogic.com/.../Diva_M_LIN

  • You sent me config procedure for Hylafax software which is FAX server software. I use pure modems. How to force Numbering Type: National on /dev/ttyds01 for modem call & calling number identification?

  • The principles are the same, you can still set your init string whether it's for fax or not. To set the numbering type for both calling and called party numbers, you can use the AT+iN command. Check the Diva Reference guide for allowed values.