All phones auto answer problem

  1. 9 years ago

    Since today I am having a strange issue with auto answer on FOP2. Auto Answer Header is configured accordingly to auto answer on originate on my Yealinks.
    Now what has been happening is that when I originate a call, the called party on the other end also auto answers (also Yealink phones).
    So looks like the auto answer header is sent to the remote party as well.
    How can that be?
    I am not aware of any changes I made, except for minor FreePBX module upgrades.

  2. admin

    25 Oct 2015 Administrator

    Remove the auto answer variables in FOP2 manager for your buttons to have just ONE underscore instead of TWO.

    _SIPADDHEADER51=etc,etc,etc

    Then restart FOP2 and try again...

  3. Edited 9 years ago by avayax

    Tried, but no luck on this.
    I don't know if that is related, a few days ago I changed my extension to send"Remote-Party-ID-Header".
    I have since changed it back, but the problem is still happening.
    127.0.0.1 -> Exten: 5313
    127.0.0.1 -> CallerID: Johann <5314>
    127.0.0.1 -> Async: 1
    127.0.0.1 -> Account:
    127.0.0.1 -> Channel: SIP/5314
    127.0.0.1 -> Context: from-internal
    127.0.0.1 -> Action: Originate
    127.0.0.1 -> Priority: 1
    127.0.0.1 -> Variable: _SIPADDHEADER51=Alert-Info:answer-after=0
    127.0.0.1 -> ActionID: 247

  4. I removed all underscore and problem went away.
    What does the underscore do?

  5. admin

    25 Oct 2015 Administrator

    The underscore makes the variable be inherited by child channels. Two underscores make the inheritance for all descendants on the channel path. IF the originate channel in FOP2 is a Local channel (the one used in user&device mode, or if you use followme), then the underscore is mandatory so the variable actually reaches the device/phone. IF the originating channel is a direct device, then it is not needed.

  6. So when I leave out the underscore, can I expect some things not to work anymore?

  7. admin

    26 Oct 2015 Administrator

    It it works for you now, then everything should be fine as the originate channel in FOP2 is not a Local channel.. if FOP2 originates direct to the device, then the variable will reach its destination and phone will auto answer.

    In any case, if something fails, is the phone not doing the auto answer, nothing else.

or Sign Up to reply!