Extensions Unavailable

Discussion in 'General' started by mentor, Jul 15, 2008.

  1. mentor

    Joined:
    Jul 14, 2008
    Messages:
    7
    Likes Received:
    0
    Hi:

    I am a newbie at Elastix/Asterisk and have run into a problem - my internal extensions have for some reason become unavailable.

    When I issue the 'sip show peers' command, they all reflect as online and available - they are all X-Lite at the moment and the application has been added to the exceptions list in the Windows firewall on all workstations.

    All of the extensions function normally for calling out to external numbers and inbound routing works as well. But we can't call internal extensions from X-Lite - they work from FOP, but not from the X-lite softphone.

    I have a copy of the debug output from Asterisk using 'set verbose 3'.

    elastix*CLI> set verbose 3
    Verbosity is at least 3
    The 'set verbose' command is deprecated and will be removed in a future release. Please use 'core set verbose' instead.
    -- Executing [4102@from-internal:1] Macro("SIP/4101-0a178eb8", "exten-vm|4102|4102") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/4101-0a178eb8", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/4101-0a178eb8", "user-callerid: device 4101") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/4101-0a178eb8", "AMPUSER=4101") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/4101-0a178eb8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/4101-0a178eb8", "1|Set|REALCALLERIDNUM=4101") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/4101-0a178eb8", "REALCALLERIDNUM is 4101") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/4101-0a178eb8", "AMPUSER=4101") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/4101-0a178eb8", "AMPUSERCIDNAME=Michael Wagener") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/4101-0a178eb8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/4101-0a178eb8", "AMPUSERCID=4101") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/4101-0a178eb8", "CALLERID(all)="Michael Wagener" <4101>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/4101-0a178eb8", "REALCALLERIDNUM=4101") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/4101-0a178eb8", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/4101-0a178eb8", "TTL: ARG1: 4102") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/4101-0a178eb8", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/4101-0a178eb8", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/4101-0a178eb8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/4101-0a178eb8", "Using CallerID "Michael Wagener" <4101>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/4101-0a178eb8", "FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/4101-0a178eb8", "VMBOX=4102") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/4101-0a178eb8", "EXTTOCALL=4102") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/4101-0a178eb8", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/4101-0a178eb8", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/4101-0a178eb8", "RT=15") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/4101-0a178eb8", "record-enable|4102|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/4101-0a178eb8", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/4101-0a178eb8", "recordingcheck|20080714-211307|1216062787.2") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20080714-211307|1216062787.2: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/4101-0a178eb8", "No recording needed") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/4101-0a178eb8", "dial|15|tr|4102") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/4101-0a178eb8", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/4101-0a178eb8", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_additional.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    dialparties.agi: Caller ID name is 'Michael Wagener' number is '4101'
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 4102 to extension map
    -- dialparties.agi: Extension 4102 cf is disabled
    -- dialparties.agi: Extension 4102 do not disturb is disabled
    dialparties.agi: Extension 4102 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 4102
    -- dialparties.agi: dbset CALLTRACE/4102 to 4101
    -- dialparties.agi: Filtered ARG3: 4102
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:4] NoOp("SIP/4101-0a178eb8", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack
    -- Executing [s@macro-exten-vm:10] Set("SIP/4101-0a178eb8", "SV_DIALSTATUS=") in new stack
    -- Executing [s@macro-exten-vm:11] GosubIf("SIP/4101-0a178eb8", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/4101-0a178eb8", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:13] Set("SIP/4101-0a178eb8", "DIALSTATUS=") in new stack
    -- Executing [s@macro-exten-vm:14] NoOp("SIP/4101-0a178eb8", "Voicemail is 4102") in new stack
    -- Executing [s@macro-exten-vm:15] GotoIf("SIP/4101-0a178eb8", "0?s-|1") in new stack
    -- Executing [s@macro-exten-vm:16] NoOp("SIP/4101-0a178eb8", "Sending to Voicemail box 4102") in new stack
    -- Executing [s@macro-exten-vm:17] Macro("SIP/4101-0a178eb8", "vm|4102|") in new stack
    -- Executing [s@macro-vm:1] Macro("SIP/4101-0a178eb8", "user-callerid|SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/4101-0a178eb8", "user-callerid: Michael Wagener 4101") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/4101-0a178eb8", "AMPUSER=4101") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/4101-0a178eb8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/4101-0a178eb8", "0|Set|REALCALLERIDNUM=4101") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("SIP/4101-0a178eb8", "REALCALLERIDNUM is 4101") in new stack
    -- Executing [s@macro-user-callerid:6] Set("SIP/4101-0a178eb8", "AMPUSER=4101") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/4101-0a178eb8", "AMPUSERCIDNAME=Michael Wagener") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/4101-0a178eb8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/4101-0a178eb8", "AMPUSERCID=4101") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/4101-0a178eb8", "CALLERID(all)="Michael Wagener" <4101>") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/4101-0a178eb8", "REALCALLERIDNUM=4101") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/4101-0a178eb8", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/4101-0a178eb8", "TTL: 64 ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/4101-0a178eb8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/4101-0a178eb8", "Using CallerID "Michael Wagener" <4101>") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/4101-0a178eb8", "VMGAIN=""") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/4101-0a178eb8", "1?vmx|1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] GotoIf("SIP/4101-0a178eb8", "0?s-|1") in new stack
    -- Executing [vmx@macro-vm:2] Set("SIP/4101-0a178eb8", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:3] GotoIf("SIP/4101-0a178eb8", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,5)
    -- Executing [vmx@macro-vm:5] NoOp("SIP/4101-0a178eb8", "Checking if ext 4102 is enabled: ") in new stack
    -- Executing [vmx@macro-vm:6] GotoIf("SIP/4101-0a178eb8", "1?s-|1") in new stack
    -- Goto (macro-vm,s-,1)
    -- Executing [4102@from-internal:2] Hangup("SIP/4101-0a178eb8", "") in new stack
    == Spawn extension (from-internal, 4102, 2) exited non-zero on 'SIP/4101-0a178eb8'
    -- Executing [h@from-internal:1] Macro("SIP/4101-0a178eb8", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/4101-0a178eb8", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/4101-0a178eb8", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/4101-0a178eb8", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/4101-0a178eb8", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/4101-0a178eb8", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/4101-0a178eb8", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/4101-0a178eb8' in macro 'hangupcall'
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/4101-0a178eb8'
    elastix*CLI>


    Please could someone give a hand, thank you.


    Kind regards,
    Mentor
     
  2. mentor

    Joined:
    Jul 14, 2008
    Messages:
    7
    Likes Received:
    0
    Hi:

    Has no one experienced this problem yet? :S

    I suspect that an update may have killed it, so if I don't get any kind of response/suggestion, perhaps best to re-install - see if that sorts it and for how long. Seems very MS to me.

    Regards,
    Mentor.
     
  3. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    Hi

    1) When you say unavailable you mean that you do not see the extensions on the FOP?

    2) Does the xlite show "your username is XXX" in the display?

    Based on this answers, maybe I could give you some more help.

    David Medina
     
  4. mentor

    Joined:
    Jul 14, 2008
    Messages:
    7
    Likes Received:
    0
    Hi David:

    Thank you for getting back to me - :)

    The extensions are viewable in the FOP, but they do not connect either - if I drag an extension on to another to make a connection, the originating extension rings and then when it is picked up it dies.

    Yes, X-Lite does show the username. I have also run sip show peers in Asterisk and it show all extensions connected.

    It would be great if you could help, thank you.


    Kind regards,
    Mentor
     
  5. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    hi again

    Please do the following:

    1) Delete all the extensions of the IPPBX and then reboot the server, then create only two new SIP extensions with voicemail.

    2) Register this two extensions and try to call from one extension to the other.

    I am assuming that this two new extensions are local extensions (inside your lan were your server is connected) correct?
    Remember to put on the xlite configuration in the Domain, the LOCAL IP of the elastix server.

    If this does not work, you should check your router or the firewall of each machine that has the softphones installed.

    Let me know

    Good Luck

    David Medina
     
  6. mentor

    Joined:
    Jul 14, 2008
    Messages:
    7
    Likes Received:
    0
    Hi David:

    Thank you for your reply. This just became interesting. The reason being that I followed your last post with no change.

    I checked the firewalls on the PC's and no change or problem there either.

    So I re-installed a test system that I had set up to play with something last week and did not update it. Just set up two test SIP accounts, using the same credentials as the live system and connected two workstations to the test Elastix domain. They work just fine.

    So, my conclusion is that somewhere in the 2.4 updates something got messed up. The only way to hunt it down would be to re-install the updates/patches one by one until it breaks. A bit painstaking for me and I am going to have to bounce this around a bit amopngst my colleagues to determine what we can all come up with.

    Anyway, I would value your comments. Thank you.


    Regards,
    Mentor
     
  7. roque.m

    Joined:
    Mar 18, 2008
    Messages:
    25
    Likes Received:
    0
  8. mentor

    Joined:
    Jul 14, 2008
    Messages:
    7
    Likes Received:
    0
    Hi Mr. Rogue:

    That worked just fine. Very good!! Thank you so much for your help!!

    Kind regards,
    Mentor;)
     

Share This Page