Follow me can't get it to work

Discussion in 'General' started by benoitl13, Nov 25, 2008.

  1. benoitl13

    Joined:
    Oct 1, 2008
    Messages:
    8
    Likes Received:
    0
    Hello everyone,

    Or I am missing something or it simply does not work. I am trying to get the follow me function working with a Cell phone. When I call the extension, it rings but it doesn't get to the cell phone. I am looking at the console to see if I would get an error or something but I looks like it does not get triggered. Is there something special that has to be done to get it working?

    Thanks

    Ben
     
  2. Stinger81

    Joined:
    Oct 30, 2008
    Messages:
    56
    Likes Received:
    0
    How did you define those followme settings?

    What exactly are you trying to do? Let the cell phone ring simultaneously with your extension?
    Or do you want it to ring after a certain amount of time?

    Afterwards:
    -Define a "Misc Destination" with your cell phone
    -Point your "Destination if no answer" in your followme settings to this misc destination

    Simultaneously:
    -Define a "Misc Destination" with your cell phone
    -Define a "Misc Application" pointing to that misc destination, binding an extension to your cell phone
    -Add this extension to the list of followme extensions
     
  3. benoitl13

    Joined:
    Oct 1, 2008
    Messages:
    8
    Likes Received:
    0
    I went to my extension
    Add the follow me settings
    Ring time = 0
    Ring strategy = RingAllv2
    Follow-me list: add my extension and my cell phone (followed by # sign)
    Destination if no answer: hangup...

    What happen is that my extension rings forever....if I look at the console (verbose set as 99) the only steps that I see are...the following

    Executing [1410@default:1] Macro("H323/ip$192.168.101.20:11270/32686", "exten-vm|novm|1410") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("H323/ip$192.168.101.20:11270/32686", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("H323/ip$192.168.101.20:11270/32686", "user-callerid: Legault,Benoit 1259") in new stack
    -- Executing [s@macro-user-callerid:2] Set("H323/ip$192.168.101.20:11270/32686", "AMPUSER=1259") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("H323/ip$192.168.101.20:11270/32686", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("H323/ip$192.168.101.20:11270/32686", "1|Set|REALCALLERIDNUM=1259") in new stack
    -- Executing [s@macro-user-callerid:5] NoOp("H323/ip$192.168.101.20:11270/32686", "REALCALLERIDNUM is 1259") in new stack
    -- Executing [s@macro-user-callerid:6] Set("H323/ip$192.168.101.20:11270/32686", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:7] Set("H323/ip$192.168.101.20:11270/32686", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("H323/ip$192.168.101.20:11270/32686", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("H323/ip$192.168.101.20:11270/32686", "TTL: ARG1: novm") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("H323/ip$192.168.101.20:11270/32686", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("H323/ip$192.168.101.20:11270/32686", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("H323/ip$192.168.101.20:11270/32686", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("H323/ip$192.168.101.20:11270/32686", "Using CallerID "Legault,Benoit" <1259>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("H323/ip$192.168.101.20:11270/32686", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("H323/ip$192.168.101.20:11270/32686", "VMBOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("H323/ip$192.168.101.20:11270/32686", "EXTTOCALL=1410") in new stack
    -- Executing [s@macro-exten-vm:5] Set("H323/ip$192.168.101.20:11270/32686", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("H323/ip$192.168.101.20:11270/32686", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("H323/ip$192.168.101.20:11270/32686", "RT=""") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("H323/ip$192.168.101.20:11270/32686", "record-enable|1410|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("H323/ip$192.168.101.20:11270/32686", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("H323/ip$192.168.101.20:11270/32686", "recordingcheck|20081126-084644|1227707204.18902") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20081126-084644|1227707204.18902: PHPAGI internal configuration:
    recordingcheck|20081126-084644|1227707204.18902: Array
    recordingcheck|20081126-084644|1227707204.18902: (
    recordingcheck|20081126-084644|1227707204.18902: [phpagi] => Array
    recordingcheck|20081126-084644|1227707204.18902: (
    recordingcheck|20081126-084644|1227707204.18902: [debug] => 1
    recordingcheck|20081126-084644|1227707204.18902: [error_handler] => 1
    recordingcheck|20081126-084644|1227707204.18902: [admin] => keith@getclearvoice.com
    recordingcheck|20081126-084644|1227707204.18902: [hostname] => palast01.pal.lecavalier.com
    recordingcheck|20081126-084644|1227707204.18902: [tempdir] => /var/spool/asterisk/tmp/
    recordingcheck|20081126-084644|1227707204.18902: )
    recordingcheck|20081126-084644|1227707204.18902:
    recordingcheck|20081126-084644|1227707204.18902: [festival] => Array
    recordingcheck|20081126-084644|1227707204.18902: (
    recordingcheck|20081126-084644|1227707204.18902: [text2wave] => /usr/bin/text2wave
    recordingcheck|20081126-084644|1227707204.18902: )
    recordingcheck|20081126-084644|1227707204.18902:
    recordingcheck|20081126-084644|1227707204.18902: [asmanager] => Array
    recordingcheck|20081126-084644|1227707204.18902: (
    recordingcheck|20081126-084644|1227707204.18902: [server] => 127.0.0.1
    recordingcheck|20081126-084644|1227707204.18902: [port] => 5038
    recordingcheck|20081126-084644|1227707204.18902: [username] => admin
    recordingcheck|20081126-084644|1227707204.18902: [secret] => elastix456
    recordingcheck|20081126-084644|1227707204.18902: )
    recordingcheck|20081126-084644|1227707204.18902:
    recordingcheck|20081126-084644|1227707204.18902: [cepstral] => Array
    recordingcheck|20081126-084644|1227707204.18902: (
    recordingcheck|20081126-084644|1227707204.18902: [swift] => /opt/swift/bin/swift
    recordingcheck|20081126-084644|1227707204.18902: [voice] => David
    recordingcheck|20081126-084644|1227707204.18902: )
    recordingcheck|20081126-084644|1227707204.18902:
    recordingcheck|20081126-084644|1227707204.18902: )
    recordingcheck|20081126-084644|1227707204.18902:
    recordingcheck|20081126-084644|1227707204.18902: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("H323/ip$192.168.101.20:11270/32686", "No recording needed") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("H323/ip$192.168.101.20:11270/32686", "dial||tr|1410") in new stack
    -- Executing [s@macro-dial:1] GotoIf("H323/ip$192.168.101.20:11270/32686", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("H323/ip$192.168.101.20:11270/32686", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: PHPAGI internal configuration:
    dialparties.agi: Array
    dialparties.agi: (
    dialparties.agi: [phpagi] => Array
    dialparties.agi: (
    dialparties.agi: [debug] => 1
    dialparties.agi: [error_handler] => 1
    dialparties.agi: [admin] => keith@getclearvoice.com
    dialparties.agi: [hostname] => palast01.pal.lecavalier.com
    dialparties.agi: [tempdir] => /var/spool/asterisk/tmp/
    dialparties.agi: )
    dialparties.agi:
    dialparties.agi: [festival] => Array
    dialparties.agi: (
    dialparties.agi: [text2wave] => /usr/bin/text2wave
    dialparties.agi: )
    dialparties.agi:
    dialparties.agi: [asmanager] => Array
    dialparties.agi: (
    dialparties.agi: [server] => 127.0.0.1
    dialparties.agi: [port] => 5038
    dialparties.agi: [username] => admin
    dialparties.agi: [secret] => elastix456
    dialparties.agi: )
    dialparties.agi:
    dialparties.agi: [cepstral] => Array
    dialparties.agi: (
    dialparties.agi: [swift] => /opt/swift/bin/swift
    dialparties.agi: [voice] => David
    dialparties.agi: )
    dialparties.agi:
    dialparties.agi: )
    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 'Legault,Benoit' number is '1259'
    dialparties.agi: USE_CONFIRMATION: 'FALSE'
    dialparties.agi: RINGGROUP_INDEX: ''
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 1410 to extension map
    -- dialparties.agi: Extension 1410 cf is disabled
    -- dialparties.agi: Extension 1410 do not disturb is disabled
    > dialparties.agi: extnum 1410 has: cw: 0; hascfb: 0 [] hascfu: 0 []
    > dialparties.agi: ExtensionState: 0
    dialparties.agi: Extension 1410 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 1410
    -- dialparties.agi: dbset CALLTRACE/1410 to 1259
    -- dialparties.agi: Filtered ARG3: 1410
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("H323/ip$192.168.101.20:11270/32686", "SIP/1410||tr") in new stack
    Extension Changed 1410[ext-local] new state Ringing for Notify User 1400
    -- Called 1410
    -- SIP/1410-088bd790 is ringing
    -- SIP/1410-088bd790 is ringing
     
  4. Stinger81

    Joined:
    Oct 30, 2008
    Messages:
    56
    Likes Received:
    0
    Just did some testing over here:

    - The misc destination doesn't get dialed through followme.
    - Putting my cell phone number in the followme list, followed by a "#", results in my cell phone being dialed.

    So it basically does work work with a cell phone number entered directly in the list.

    What's (a part of) your cell phone number?
    Plus, could you please clean up that log with the default verbosity? Those details aren't necessary until we know where to look exactly... ;)
     
  5. benoitl13

    Joined:
    Oct 1, 2008
    Messages:
    8
    Likes Received:
    0
    That is exacly my problem I don't see either my cell phone. It is like the follow me setup is not taken into consideration even if it is active...I can do another test with the verbosity as default if you want but my cell won't show up.
     
  6. Stinger81

    Joined:
    Oct 30, 2008
    Messages:
    56
    Likes Received:
    0
    Is the number you put in the list exactly the same as how you would dial it from any extension on your box?

    How did you reload your configuration? (I noticed that the changes to followme are not activated with "dialplan reload", but only with that bar in the top of my browser window.)

    [stupidquestion]
    You didn't happen to check that checkbox for disabling the followme settings?
    [/stupidquestion]


    [smartquestion]
    You didn't mention which versions of the diverse pieces of software you are running.
    Which Elastix version are you running?
    Do you have the FreePBX modules updated to the most recent 2.4.x versions?
    Are you using the unembedded FreePBX?
    [/smartquestion]
     
  7. benoitl13

    Joined:
    Oct 1, 2008
    Messages:
    8
    Likes Received:
    0
    I tried 91450560XXXX(9 to dial out, pound sign at the end because it's an external number)
    I restart by just clicking on Apply Configuration.

    It's not a stupid question (beleive me, I work in IT...) I did make sure that was not checked AND for the purpose of it, I did also test it checked.

    The version that I am running is 1.1.8
    And FreePBX is 2.4.1.2
     
  8. Stinger81

    Joined:
    Oct 30, 2008
    Messages:
    56
    Likes Received:
    0
    Hello colleague,

    Running 1.1.8... Hmm... I don't have any real experience with the older versions, I have done the most testing with 1.3-2 (or whatever the notation is...)

    What's the exact Asterisk version you are running? Could it be an issue with an older Asterisk version not supporting followme?
     
  9. benoitl13

    Joined:
    Oct 1, 2008
    Messages:
    8
    Likes Received:
    0
    I am running 1.4.19. I'll be on site on Friday so I'll be able to reload the server, update it to 1.3.2 and...see if it is working from there. If not I'll post back what I have discovered.
     

Share This Page