How to make Bus S0 work ?

  • Hello (sorry for my poor english I'm french) ,


    I tried many time to make a BUS S0 :
    I've got a modem to connect to system but I want to make it work through a Starface system.


    My configuration :


    A line as SIP (work)
    An internal ISDN Line (the bus )


    On the picture the Bus was not plug to the modem but it lights green


    Screenshot_25.png



    Screenshot_26.png


    Screenshot_27.png


    Screenshot_28.png


    My modem start to work but it stopped


    Any idea ?


    Don't take care off the attached thumbnails it's nothing with this problem

  • Just to get it right: Did the internal connection ever work or has it never worked?
    If it has never worked, please check the cabling. Depending on the revision of your Sirrix card the internal ISDN cable needs have the following wiring:
    * Sirrix Revision 5: internal ISDN cables need to be straight-through cables (http://wiki.starface.de/index.php/Datei:Sirrix-ISDN-%3D.jpg)
    * Sirrix Revision >=6: internal ISDN cables need to be crossed. Pins 3 and 4 crossed and Pins 5 and 6 crossed (http://wiki.starface.de/images…g/100px-Sirrix-ISDN-X.jpg).


    If there is a label on your card next to the LED status lights,... the second digit is the revision number.

  • Thanks first for looking at my problem.


    The internal connection never work .
    the cable used is a crossed one (which work on others PABX)


    If you want I can post here what I saw in the log event as I tried to established a communication.

  • Please make sure it is the right kind of cable for your specific ISDN card. Different cards may have different wiring. Vendors usually ship cables that are used to connect to the PSTN (external ISDN). Internal ISDN devices need crossed TX/RX wires (those are not equivalent to ethernet crossover cables!).
    So if the external port is straight through, the internal port is crossed and vice versa.
    It pretty much sounds like this is your problem.

  • Thanks for taking pictures! The crossing of your cable is different from the crossing of "crossed Sirrix" cables.


    Your cable:
    3---5 (red)
    4---6 (black)
    5---1 (yellow)
    6---2 (green)


    What you need (if your external ISDN cable is straight through) is:
    3---4
    4---3
    5---6
    6---5


    See the pictures I have linked. If the cable worked somewhere else it only means that it was used with a different kind of ISDN card.

  • Hello it's me again ,


    I've made another cable .


    busok.png


    and I've tried to establish a communication


    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [0081580481@BUS_test-incoming:1] Set("Srx/g31-0x7f0c5c002bb0", "channelname=BUS_test-incoming") in new stack
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [0081580481@BUS_test-incoming:2] Set("Srx/g31-0x7f0c5c002bb0", "lineconfigid=1001") in new stack
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [0081580481@BUS_test-incoming:3] Set("Srx/g31-0x7f0c5c002bb0", "TIMEOUT(digit)=1") in new stack
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Digit timeout set to 1
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [0081580481@BUS_test-incoming:4] Goto("Srx/g31-0x7f0c5c002bb0", "BUS_test-incoming-manuell|0081580481|1") in new stack
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Goto (BUS_test-incoming-manuell,0081580481,1)
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [0081580481@BUS_test-incoming-manuell:1] Set("Srx/g31-0x7f0c5c002bb0", "FullExten=0081580481") in new stack
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [0081580481@BUS_test-incoming-manuell:2] Goto("Srx/g31-0x7f0c5c002bb0", "call|1") in new stack
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Goto (BUS_test-incoming-manuell,call,1)
    [Jul 8 07:24:16] VERBOSE[3408] logger.c: -- Executing [call@BUS_test-incoming-manuell:1] WaitExten("Srx/g31-0x7f0c5c002bb0", "2") in new stack
    [Jul 8 07:24:18] VERBOSE[3408] logger.c: -- Timeout on Srx/g31-0x7f0c5c002bb0, continuing...
    [Jul 8 07:24:18] VERBOSE[3408] logger.c: -- Executing [call@BUS_test-incoming-manuell:2] ResetCDR("Srx/g31-0x7f0c5c002bb0", "") in new stack
    [Jul 8 07:24:18] VERBOSE[3408] logger.c: -- Executing [call@BUS_test-incoming-manuell:3] StopPlayTones("Srx/g31-0x7f0c5c002bb0", "") in new stack
    [Jul 8 07:24:18] VERBOSE[3408] logger.c: -- Executing [call@BUS_test-incoming-manuell:4] Goto("Srx/g31-0x7f0c5c002bb0", "international|0081580481|1") in new stack
    [Jul 8 07:24:18] VERBOSE[3408] logger.c: -- Goto (international,0081580481,1)
    [Jul 8 07:24:18] VERBOSE[3408] logger.c: -- Executing [0081580481@international:1] AGI("Srx/g31-0x7f0c5c002bb0", "agi://localhost/initdial.agi") in new stack
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCLIDNUM=60)
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCLIDINTNUM=)
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCLIDNAME=)
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCALLERACCID=-1)
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---Call from: (name) (num) 60 (intern) )
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (Set) Options: (CHANNEL(language)=fr)
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- AGI Script Executing Application: (Playback) Options: (core/sf-phone-not-assigned)
    [Jul 8 07:24:19] VERBOSE[3408] logger.c: -- <Srx/g31-0x7f0c5c002bb0> Playing 'core/sf-phone-not-assigned' (language 'fr')
    [Jul 8 07:24:23] DEBUG[3408] res_agi.c: Srx/g31-0x7f0c5c002bb0 hungup
    [Jul 8 07:24:23] VERBOSE[3408] logger.c: == Spawn extension (international, 0081580481, 1) exited non-zero on 'Srx/g31-0x7f0c5c002bb0'
    [Jul 8 07:24:39] VERBOSE[1871] logger.c: -- Remote UNIX connection

  • Now this looks much better. There is actually a call being established. The internal ISDN line is not assigned to a user though and therefor not allowed to make calls.
    Either assign a phone by dialing *77+Login ID on the internal ISDN device or by adding the Srx-Device to a user manually through Admin/Users/Phones.

  • ok now the srx device is right assigned to a user


    Screenshot_29.png


    And I've got this , the communication start but stopped


    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [0081580481@BUS_test-incoming:1] Set("Srx/g31-0x7f86100012e0", "channelname=BUS_test-incoming") in new stack
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [0081580481@BUS_test-incoming:2] Set("Srx/g31-0x7f86100012e0", "lineconfigid=1001") in new stack
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [0081580481@BUS_test-incoming:3] Set("Srx/g31-0x7f86100012e0", "TIMEOUT(digit)=1") in new stack
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Digit timeout set to 1
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [0081580481@BUS_test-incoming:4] Goto("Srx/g31-0x7f86100012e0", "BUS_test-incoming-manuell|0081580481|1") in new stack
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Goto (BUS_test-incoming-manuell,0081580481,1)
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [0081580481@BUS_test-incoming-manuell:1] Set("Srx/g31-0x7f86100012e0", "FullExten=0081580481") in new stack
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [0081580481@BUS_test-incoming-manuell:2] Goto("Srx/g31-0x7f86100012e0", "call|1") in new stack
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Goto (BUS_test-incoming-manuell,call,1)
    [Jul 8 08:57:59] VERBOSE[10768] logger.c: -- Executing [call@BUS_test-incoming-manuell:1] WaitExten("Srx/g31-0x7f86100012e0", "2") in new stack
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Timeout on Srx/g31-0x7f86100012e0, continuing...
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Executing [call@BUS_test-incoming-manuell:2] ResetCDR("Srx/g31-0x7f86100012e0", "") in new stack
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Executing [call@BUS_test-incoming-manuell:3] StopPlayTones("Srx/g31-0x7f86100012e0", "") in new stack
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Executing [call@BUS_test-incoming-manuell:4] Goto("Srx/g31-0x7f86100012e0", "international|0081580481|1") in new stack
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Goto (international,0081580481,1)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Executing [0081580481@international:1] AGI("Srx/g31-0x7f86100012e0", "agi://localhost/initdial.agi") in new stack
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCLIDNUM=3188674)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCLIDINTNUM=100)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCLIDNAME=Raphael Betou)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (__SFCALLERACCID=1000)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---Call from: (name) Raphael Betou (num) 3188674 (intern) 100 )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (CHANNEL(language)=fr)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[Info]---Call outgoing for account 1000 to 081580481 )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---Using [OVH SIP] to pre-format outgoing number )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---outgoingExten(pre-formated :( 003281580481 )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (CDR(userfield)=1034)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---New CallerID for Outgoing Call 003223188674 )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (SIPRemoveHeader) Options: (P-)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (SIPRemoveHeader) Options: (privacy)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (SIPAddHeader) Options: (P-Asserted-Identity: <sip:023188674@sip.ovh.be>)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (CALLERID(NUM)=003223188674)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---for call over line OVH SIP )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---outgoingExten(formated from line): 081580481 )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (ResetCDR) Options: ()
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (EXTEN=081580481)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]---Trying to place an outgoing call on line: OVH SIP )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/003223188674)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (noop) Options: (---[info]--- AvailChan: SIP/003223188674-00000004 )
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (set) Options: (AVAILCHAN="")
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (UserEvent) Options: (OutgoingCall|Channel: Srx/g31-0x7f86100012e0|Uniqueid: asterisk-1436338679.8|Data: SIP/003223188674,081580481)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=1)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- AGI Script Executing Application: (Dial) Options: (SIP/003223188674/081580481|90|wWtT)
    [Jul 8 08:58:01] VERBOSE[10768] logger.c: -- Called SIP/003223188674/081580481
    [Jul 8 08:58:08] VERBOSE[10768] logger.c: -- SIP/003223188674-00000005 is making progress passing it to Srx/g31-0x7f86100012e0
    [Jul 8 08:58:09] VERBOSE[10768] logger.c: -- SIP/003223188674-00000005 is ringing
    [Jul 8 08:58:09] VERBOSE[10768] logger.c: -- SIP/003223188674-00000005 is making progress passing it to Srx/g31-0x7f86100012e0
    [Jul 8 08:58:13] VERBOSE[10768] logger.c: -- SIP/003223188674-00000005 is making progress passing it to Srx/g31-0x7f86100012e0
    [Jul 8 08:58:14] VERBOSE[10768] logger.c: -- SIP/003223188674-00000005 answered Srx/g31-0x7f86100012e0
    [Jul 8 08:58:18] DEBUG[10768] res_agi.c: Srx/g31-0x7f86100012e0 hungup
    [Jul 8 08:58:18] VERBOSE[10768] logger.c: == Spawn extension (international, 0081580481, 1) exited non-zero on 'Srx/g31-0x7f86100012e0'

  • The internal Srx-Channel was hung up 4 seconds after beeing answered:
    [Jul 8 08:58:14] VERBOSE[10768] logger.c: -- SIP/003223188674-00000005 answered Srx/g31-0x7f86100012e0
    [Jul 8 08:58:18] DEBUG[10768] res_agi.c: Srx/g31-0x7f86100012e0 hungup

    This is most likely because of the ISDN Terminal (your device) hanging up.
    If you're certain that this is not the cause, you could perform an D-Channel dump containing the unsolicited hangup.


    To do that, establish an SSH connection to the STARFACE host, start the dump with:
    activate_isdn_debug.sh


    Then restart the asterisk service:
    /etc/init.d/asterisk restart


    Place the call, if it gets terminated, stop the dump:
    deactivate_isdn_debug.sh


    Restart the asterisk service again:
    /etc/init.d/asterisk restart


    Tar the Logfiles:
    tar -cvhzf /root/s0-troubles.tar.gz /var/log/dchannel /var/log/asterisk/full

    and post the tarball (/root/s0-troubles.tar.gz) root/here for further analyses.

    Viele Grüße
    Niklas


    - Ex STARFACE Support: 2014-2020 -



  • Thank you for looking at my problem


    here's the tarball s0-troubles.tar.gz


  • The disconnect was issued by the TE (your device, not the STARFACE). Hangupcause was 16: Normal call clearing.

    Viele Grüße
    Niklas


    - Ex STARFACE Support: 2014-2020 -

  • Thank you so much , now I've to try to understand why my modem hangup


    Or I'll try another one model


    I'll inform you of my test

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!