VOIP Asterisk FindMe FollowMe phone number cannot be formatted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gfoxjr
    Junior Member
    • Jun 2018
    • 15

    VOIP Asterisk FindMe FollowMe phone number cannot be formatted

    Incoming calls are not being identified as a valid phone number for users that have findme followme enabled. Witness:

    Num: 5042580331 CallerIDName: FOX GREG ConnectedLineNum: 1002 ConnectedLineName: Greg Fox Jr UniqueID: 1529448508.380 DestUniqueID: 1529448521.383 Dialstring: FMGL-1012@from-internal [channelVariablesrotected] => Array ( [dahdi/5-1] => Array ( ) ) [linesrotected] => Array ( ) [variablesrotected] => Array ( ) [keysrotected] => Array ( [event] => Dial [privilege] => call,all [subevent] => Begin [channel] => DAHDI/5-1 [destination] => Local/FMGL-1012@from-internal-0000002f;1 [calleridnum] => 5042580331 [calleridname] => FOX GREG [connectedlinenum] => 1002 [connectedlinename] => Greg Fox Jr [uniqueid] => 1529448508.380 [destuniqueid] => 1529448521.383 [dialstring] => FMGL-1012@from-internal ) [createdDaterotected] => 1529448562 ) [] []

    [2018-06-19 22:48:42] Espo.WARNING: VoIP [formatPhoneNumber]: phone number [FMPR-1002@from-internal] cannot be formatted, error: Phone Number Error Parsing: The string supplied did not seem to be a phone number..
    Here's one that worked:

    [2018-06-19 22:50:18] Espo.DEBUG: AMI Event: PAMI\Message\Event\NewstateEvent Object ( [rawContentrotected] => Event: Newstate Privilege: call,all Channel: DAHDI/5-1 ChannelState: 6 ChannelStateDesc: Up CallerIDNum: 5042580331 CallerIDName: FOX GREG ConnectedLineNum: ConnectedLineName: Uniqueid: 1529448616.386 [channelVariablesrotected] => Array ( [dahdi/5-1] => Array ( ) ) [linesrotected] => Array ( ) [variablesrotected] => Array ( ) [keysrotected] => Array ( [event] => Newstate [privilege] => call,all [channel] => DAHDI/5-1 [channelstate] => 6 [channelstatedesc] => Up [calleridnum] => 5042580331 [calleridname] => FOX GREG [connectedlinenum] => [connectedlinename] => [uniqueid] => 1529448616.386 ) [createdDaterotected] => 1529448618 ) [] []

    [2018-06-19 22:50:31] Espo.DEBUG: AMI Event: PAMI\Message\Event\NewchannelEvent Object ( [rawContentrotected] => Event: Newchannel Privilege: call,all Channel: SIP/1105-000000dc ChannelState: 0 ChannelStateDesc: Down CallerIDNum: 1105 CallerIDName: Tammy Young AccountCode: Exten: Context: from-internal Uniqueid: 1529448630.387 [channelVariablesrotected] => Array ( [sip/1105-000000dc] => Array ( ) ) [linesrotected] => Array ( ) [variablesrotected] => Array ( ) [keysrotected] => Array ( [event] => Newchannel [privilege] => call,all [channel] => SIP/1105-000000dc [channelstate] => 0 [channelstatedesc] => Down [calleridnum] => 1105 [calleridname] => Tammy Young [accountcode] => [exten] => [context] => from-internal [uniqueid] => 1529448630.387 ) [createdDaterotected] => 1529448631 ) [] []

    [2018-06-19 22:50:31] Espo.DEBUG: AMI Event: PAMI\Message\Event\DialEvent Object ( [rawContentrotected] => Event: Dial Privilege: call,all SubEvent: Begin Channel: DAHDI/5-1 Destination: SIP/1105-000000dc CallerIDNum: 5042580331 CallerIDName: FOX GREG ConnectedLineNum: <unknown> ConnectedLineName: <unknown> UniqueID: 1529448616.386 DestUniqueID: 1529448630.387 Dialstring: 1105 [channelVariablesrotected] => Array ( [dahdi/5-1] => Array ( ) ) [linesrotected] => Array ( ) [variablesrotected] => Array ( ) [keysrotected] => Array ( [event] => Dial [privilege] => call,all [subevent] => Begin [channel] => DAHDI/5-1 [destination] => SIP/1105-000000dc [calleridnum] => 5042580331 [calleridname] => FOX GREG [connectedlinenum] => <unknown> [connectedlinename] => <unknown> [uniqueid] => 1529448616.386 [destuniqueid] => 1529448630.387 [dialstring] => 1105 ) [createdDaterotected] => 1529448631 ) [] []

    [2018-06-19 22:50:31] Espo.DEBUG: VoIP: Identify user by the phone numbers: 5042580331, 5042580331, 15042580331, 5042580331 [] []
    Any assistance would be appreciated...

    PS> Greatest CRM software I have ever seen in the past 30 years. Kudos!
  • tarasm
    Super Moderator
    • Mar 2014
    • 573

    #2
    It seems like your Asterisk server returns a user extension in a wrong format. Perhaps, this user "FMGL-1012@from-internal" has some specific configuration.
    You can solve this problem:
    1. Upgrade the VoIP integration extension to 1.8.3.
    2. Add this replacement as described here: https://forum.espocrm.com/forum/exte...9202#post39202
    Code:
    "^FMGL-([0-9]+)@from-internal": "$1"
    Job Offers and Requests

    Comment

    • gfoxjr
      Junior Member
      • Jun 2018
      • 15

      #3
      Thanks for the help. It seems to have worked.

      Comment

      Working...