Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Call Popups #210

Open
deaity opened this issue Jun 10, 2015 · 0 comments
Open

No Call Popups #210

deaity opened this issue Jun 10, 2015 · 0 comments

Comments

@deaity
Copy link

deaity commented Jun 10, 2015

Hi there,

Am very new to asterisk and yaai.
Am using a freePBX distro

Outgoing calls etc work fine. Call records is also good. I just have not seen a single popup. Any help would be greatly appreciated.

here is the php log:

AMI Login was a success!
Waiting for call events...
[2015-06-10 03:33:53]
! --- Event -----------------------------------------------------------
! Event --> Newchannel
! Privilege --> call,all
! Channel --> SIP/talkSIP-00000008
! ChannelState --> 0
! ChannelStateDesc --> Down
! CallerIDNum --> 073486241
! CallerIDName --> Max
! AccountCode -->
! Exten --> 092812860
! Context --> from-trunk
! Uniqueid --> 1433907233.8
! ---------------------------------------------------------------------
! AMI Event 'Newstate suppressed.
[2015-06-10 03:33:53]
! --- Event -----------------------------------------------------------
! Event --> NewCallerid
! Privilege --> call,all
! Channel --> SIP/talkSIP-00000008
! CallerIDNum --> 073486241
! CallerIDName --> Max
! Uniqueid --> 1433907233.8
! CID-CallingPres --> 0 (Presentation Allowed, Not Screened)
! ---------------------------------------------------------------------
CallerID Changed to: 073486241
[2015-06-10 03:33:53]
! --- Event -----------------------------------------------------------
! Event --> NewCallerid
! Privilege --> call,all
! Channel --> SIP/talkSIP-00000008
! CallerIDNum --> 073486241
! CallerIDName --> Max
! Uniqueid --> 1433907233.8
! CID-CallingPres --> 0 (Presentation Allowed, Not Screened)
! ---------------------------------------------------------------------
CallerID Changed to: 073486241
[2015-06-10 03:33:53]
! --- Event -----------------------------------------------------------
! Event --> Newchannel
! Privilege --> call,all
! Channel --> SIP/1000-00000009
! ChannelState --> 0
! ChannelStateDesc --> Down
! CallerIDNum --> 1000
! CallerIDName --> Daryn
! AccountCode -->
! Exten -->
! Context --> from-internal
! Uniqueid --> 1433907233.9
! ---------------------------------------------------------------------
! AMI Event 'ExtensionStatus suppressed.
[2015-06-10 03:33:53]
! --- Event -----------------------------------------------------------
! Event --> Dial
! Privilege --> call,all
! SubEvent --> Begin
! Channel --> SIP/talkSIP-00000008
! Destination --> SIP/1000-00000009
! CallerIDNum --> 073486241
! CallerIDName --> Max
! ConnectedLineNum -->
! ConnectedLineName -->
! UniqueID --> 1433907233.8
! DestUniqueID --> 1433907233.9
! Dialstring --> 1000
! ---------------------------------------------------------------------
! Dial Event src=SIP/talkSIP-00000008 dest=SIP/1000-00000009
! Successfully created CALL record with id=ab88cc16-d212-1065-7414-5577b0f57c1b
Stripping callout prefix:
Stripping callin prefix:
CallerID is: 073486241
Looking for user extension number in: SIP/1000-00000009
PHP Warning: preg_match(): Unknown modifier '(' in /var/www/html/sugar/custom/modules/Asterisk/asteriskLogger.php on line 1951
Looking for user extension number in: SIP/1000-00000009
PHP Warning: preg_match(): Unknown modifier '(' in /var/www/html/sugar/custom/modules/Asterisk/asteriskLogger.php on line 1951
inbound_extension =
Inbound state detected... /^(sip/[1-9][0-9][0-9]?[0-9]?-|Local)/i is astMatchInternal eChannel= SIP/talkSIP-00000008 eDestination=SIP/1000-00000009
! AMI Event 'Newstate suppressed.
! AMI Event 'ExtensionStatus suppressed.
! AMI Event 'Newstate suppressed.
! AMI Event 'Newstate suppressed.
[2015-06-10 03:34:09]
! --- Event -----------------------------------------------------------
! Event --> NewAccountCode
! Privilege --> call,all
! Channel --> SIP/1000-00000009
! Uniqueid --> 1433907233.9
! AccountCode -->
! OldAccountCode -->
! ---------------------------------------------------------------------
[2015-06-10 03:34:09]
! --- Event -----------------------------------------------------------
! Event --> Bridge
! Privilege --> call,all
! Bridgestate --> Link
! Bridgetype --> core
! Channel1 --> SIP/talkSIP-00000008
! Channel2 --> SIP/1000-00000009
! Uniqueid1 --> 1433907233.8
! Uniqueid2 --> 1433907233.9
! CallerID1 --> 073486241
! CallerID2 --> 1000
! ---------------------------------------------------------------------
DEBUG: Entered Bridge
DEBUG: bridge inbound, updating the Link state
Bridge isn't internal to internal
Internal Queue Event Detected
Internal Queue: SELECT id FROM asterisk_log WHERE remote_channel like 'SIP/talkSIP-00000008' and direction='I' and (channel = '' OR channel is NULL)
DEBUG: NO Queue BRIDGE ROWS found
[2015-06-10 03:34:29]
! --- Event -----------------------------------------------------------
! Event --> HangupRequest
! Privilege --> call,all
! Channel --> SIP/1000-00000009
! Uniqueid --> 1433907233.9
! ---------------------------------------------------------------------
[2015-06-10 03:34:29]
! --- Event -----------------------------------------------------------
! Event --> Bridge
! Privilege --> call,all
! Bridgestate --> Unlink
! Bridgetype --> core
! Channel1 --> SIP/talkSIP-00000008
! Channel2 --> SIP/1000-00000009
! Uniqueid1 --> 1433907233.8
! Uniqueid2 --> 1433907233.9
! CallerID1 --> 073486241
! CallerID2 --> 1000
! ---------------------------------------------------------------------
DEBUG: Entered Bridge
Bridge isn't internal to internal
Internal Queue Event Detected
Internal Queue: SELECT id FROM asterisk_log WHERE remote_channel like 'SIP/talkSIP-00000008' and direction='I' and (channel = '' OR channel is NULL)
DEBUG: NO Queue BRIDGE ROWS found
[2015-06-10 03:34:29]
! --- Event -----------------------------------------------------------
! Event --> Hangup
! Privilege --> call,all
! Channel --> SIP/1000-00000009
! Uniqueid --> 1433907233.9
! CallerIDNum --> 1000
! CallerIDName --> Daryn
! ConnectedLineNum --> 073486241
! ConnectedLineName --> Max
! AccountCode -->
! Cause --> 16
! Cause-txt --> Normal Clearing
! ---------------------------------------------------------------------
In DialEnd... 1433907233.9

+++ findCallByAsteriskId(1433907233.9)

! Warning, results set was empty!
! AMI Event 'ExtensionStatus suppressed.
[2015-06-10 03:34:29]
! --- Event -----------------------------------------------------------
! Event --> Dial
! Privilege --> call,all
! SubEvent --> End
! Channel --> SIP/talkSIP-00000008
! UniqueID --> 1433907233.8
! DialStatus --> ANSWER
! ---------------------------------------------------------------------
In DialEnd... 1433907233.8

+++ findCallByAsteriskId(1433907233.8)

! Found entry in asterisk_log recordId=ab88cc16-d212-1065-7414-5577b0f57c1b
Looking for user extension number in: SIP/1000-00000009
PHP Warning: preg_match(): Unknown modifier '(' in /var/www/html/sugar/custom/modules/Asterisk/asteriskLogger.php on line 1951

+++ findUserByAsteriskExtension()

! Assigned user will be set to Administrator.
Measured call duration is 20 seconds
! Call is not related to any record (no matches)
! Invalid Arguments passed to setRelationshipBetweenCallAndBean callRecordId=ab88cc16-d212-1065-7414-5577b0f57c1b, beanId=, beanType=
! Call start was 2015-06-10 03:33:53
Updating record in /Calls/ id=ab88cc16-d212-1065-7414-5577b0f57c1b...
NAME: ** Automatic record **
DESCRIPTION:
Cleaning up Failed Calls part1, asterisk_id = 1433907233.8
[2015-06-10 03:34:30]
! --- Event -----------------------------------------------------------
! Event --> SoftHangupRequest
! Privilege --> call,all
! Channel --> SIP/talkSIP-00000008
! Uniqueid --> 1433907233.8
! Cause --> 16
! ---------------------------------------------------------------------
[2015-06-10 03:34:30]
! --- Event -----------------------------------------------------------
! Event --> Hangup
! Privilege --> call,all
! Channel --> SIP/talkSIP-00000008
! Uniqueid --> 1433907233.8
! CallerIDNum --> 073486241
! CallerIDName --> Max
! ConnectedLineNum --> 1000
! ConnectedLineName --> Daryn
! AccountCode -->
! Cause --> 16
! Cause-txt --> Normal Clearing
! ---------------------------------------------------------------------
In DialEnd... 1433907233.8

+++ findCallByAsteriskId(1433907233.8)

! Found entry in asterisk_log recordId=ab88cc16-d212-1065-7414-5577b0f57c1b
Looking for user extension number in: SIP/1000-00000009
PHP Warning: preg_match(): Unknown modifier '(' in /var/www/html/sugar/custom/modules/Asterisk/asteriskLogger.php on line 1951

+++ findUserByAsteriskExtension()

! Assigned user will be set to Administrator.
Measured call duration is 21 seconds
! Call is not related to any record (no matches)
! Invalid Arguments passed to setRelationshipBetweenCallAndBean callRecordId=ab88cc16-d212-1065-7414-5577b0f57c1b, beanId=, beanType=
! Call start was 2015-06-10 03:33:53
Updating record in /Calls/ id=ab88cc16-d212-1065-7414-5577b0f57c1b...
NAME: Incoming call
DESCRIPTION:
Cleaning up Failed Calls part1, asterisk_id = 1433907233.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant