Project

General

Profile

Can't make outgoing calls

Added by Chris Y 10 months ago

I have made the switch from PIAF to XIVO/WAZO and am strugling to learn it.

I can receive incoming calls but cannot seem to make outgoing calls

Any suggestions?


Replies (14)

RE: Can't make outgoing calls - Added by Pascal Cadotte-Michaud 10 months ago

Hi Chris,

we will need more information to help you.

  • Did you create an outgoing call in the web interface?
  • Did you add an extension to your outgoing call?
  • What happens in the Asterisk cli when you try to call?

RE: Can't make outgoing calls - Added by Chris Y 10 months ago

i created a truck and linked it to outcall in contexts.

asterisk log:

[Feb  2 12:09:57] NOTICE[1393][C-0000004c] chan_sip.c: Call from 'koa1chyw' (50.68.122.238:5060) to extension '6049225521' rejected because extension not found in context 'default'.
[Feb  2 12:10:02] VERBOSE[11239] manager.c: Manager 'xivo_munin_user' logged on from 127.0.0.1
[Feb  2 12:10:02] VERBOSE[11239] manager.c: Manager 'xivo_munin_user' logged off from 127.0.0.1

RE: Can't make outgoing calls - Added by Pascal Cadotte-Michaud 10 months ago

In your outgoing call you have to define which extension are going to use this outgoing call.

When you edit the outgoing call, in the "Exten" tab you can add extensions or Asterisk extension pattern.

For example:

you could add an extension "604XXXXXXX" to send all 10 digits numbers starting with 604 to this outgoing call.

RE: Can't make outgoing calls - Added by Chris Y 10 months ago

OK, sorry. I have no idea how to do this. I have been using PIAF and this is totally different and far from intuitive

RE: Can't make outgoing calls - Added by Chris Y 9 months ago

Got it working by adding a dialplan to extensions.

Wazo is so confusing. And why don't they use standard terminology?

However, incoming calls now get a message stating the person is busy and try calling back again.

RE: Can't make outgoing calls - Added by J Az 9 months ago

Manual dialplan edit is one way I suppose but is an easy way to do it within the GUI.

Go to services > ipbx > call management > outgoing calls, edit (pencil icon) your outbound trunk, go to 'exten' tab. Enter a dial pattern like in the attached screenshot. Patterns are standard asterisk afaik.

Screenshot_20170207-053649.png View - Screenshot dialing patterns (194 KB)

RE: Can't make outgoing calls - Added by Chris Y 9 months ago

yes, I did exactly that

but as I say above, incoming calls now get a busy message

RE: Can't make outgoing calls - Added by Sylvain Boily 9 months ago

Chris Y wrote:

Got it working by adding a dialplan to extensions.

Wazo is so confusing. And why don't they use standard terminology?

Hello Chris,

We are very open to understand what a standard terminology and how we can change wazo ui to be more understandable for people. Please give us more feedback with example. Wazo is not Freepbx and we don't want to a "freepbx like" software.
About your issue with the incoming call, please give us log from asterisk CLI.

Sylvain

RE: Can't make outgoing calls - Added by Chris Y 9 months ago

Here is the latest Asterisk log:

[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-user_rights_check:3] GotoIf("SIP/207643_CanAmPBX-00000105", "1?allow,1") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx_builtins.c: Goto (xivo-user_rights_check,allow,1)
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [allow@xivo-user_rights_check:1] NoOp("SIP/207643_CanAmPBX-00000105", "User allowed to make call") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [allow@xivo-user_rights_check:2] Return("SIP/207643_CanAmPBX-00000105", "") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@outcall:10] AGI("SIP/207643_CanAmPBX-00000105", "agi://127.0.0.1/check_schedule") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] res_agi.c: agi://127.0.0.1/check_schedule: AGI handler 'check_schedule' successfully executed
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] res_agi.c: <SIP/207643_CanAmPBX-00000105>AGI Script agi://127.0.0.1/check_schedule completed, returning 0
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@outcall:11] GotoIf("SIP/207643_CanAmPBX-00000105", "0?CLOSED,1") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@outcall:12] GotoIf("SIP/207643_CanAmPBX-00000105", "?:14") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx_builtins.c: Goto (outcall,s,14)
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@outcall:14] GotoIf("SIP/207643_CanAmPBX-00000105", "SIP/207643_DiscoPBX?:error,1") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@outcall:15] Set("SIP/207643_CanAmPBX-00000105", "TRUNKINDEX=0") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@outcall:16] Goto("SIP/207643_CanAmPBX-00000105", "dial,1") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx_builtins.c: Goto (outcall,dial,1)
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:1] Set("SIP/207643_CanAmPBX-00000105", "INTERFACE=SIP/207643_DiscoPBX") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:2] Set("SIP/207643_CanAmPBX-00000105", "TRUNKEXTEN=+16049858324") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:3] Set("SIP/207643_CanAmPBX-00000105", "TRUNKSUFFIX=") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:4] Gosub("SIP/207643_CanAmPBX-00000105", "xivo-global-subroutine,s,1") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-global-subroutine:1] GotoIf("SIP/207643_CanAmPBX-00000105", "1?:return") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-global-subroutine:2] GotoIf("SIP/207643_CanAmPBX-00000105", "OUTCALL?:return") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-global-subroutine:3] GotoIf("SIP/207643_CanAmPBX-00000105", "xivo-subrgbl-outcall?:return") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-global-subroutine:4] GotoIf("SIP/207643_CanAmPBX-00000105", "1?:return") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-global-subroutine:5] Gosub("SIP/207643_CanAmPBX-00000105", "xivo-subrgbl-outcall,s,1") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:1] NoOp("SIP/207643_CanAmPBX-00000105", "### DID Outgoing Call Subroutine ###") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:2] NoOp("SIP/207643_CanAmPBX-00000105", "Calling FROM: 6049600045") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:3] NoOp("SIP/207643_CanAmPBX-00000105", "Calling TO: s") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:4] NoOp("SIP/207643_CanAmPBX-00000105", "XIVO SRC NUMBER=6049600045") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:5] NoOp("SIP/207643_CanAmPBX-00000105", "XIVO DST NUMBER=6049858324") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:6] NoOp("SIP/207643_CanAmPBX-00000105", "XIVO DST ID=3") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:7] NoOp("SIP/207643_CanAmPBX-00000105", "XIVO USR ID=") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-subrgbl-outcall:8] Return("SIP/207643_CanAmPBX-00000105", "") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [s@xivo-global-subroutine:6] Return("SIP/207643_CanAmPBX-00000105", "") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:5] CELGenUserEvent("SIP/207643_CanAmPBX-00000105", "XIVO_OUTCALL") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:6] Set("SIP/207643_CanAmPBX-00000105", "CONNECTEDLINE(num,i)=6049858324") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:7] Dial("SIP/207643_CanAmPBX-00000105", "SIP/207643_DiscoPBX/+16049858324,,o(6049858324)") in new stack
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] netsock2.c: Using SIP RTP CoS mark 5
[Feb  8 16:11:48] VERBOSE[18153][C-000000d8] app_dial.c: Called SIP/207643_DiscoPBX/+16049858324
[Feb  8 16:11:49] VERBOSE[1393][C-000000d8] chan_sip.c: Got SIP response 486 "Busy Here" back from 162.213.157.117:5060
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] app_dial.c: SIP/207643_DiscoPBX-00000106 is busy
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] app_dial.c: Everyone is busy/congested at this time (1:1/0/0)
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] pbx.c: Executing [dial@outcall:8] Goto("SIP/207643_CanAmPBX-00000105", "BUSY,1") in new stack
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] pbx_builtins.c: Goto (outcall,BUSY,1)
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] pbx.c: Executing [BUSY@outcall:1] Playback("SIP/207643_CanAmPBX-00000105", "busy-call") in new stack
[Feb  8 16:11:49] VERBOSE[18147][C-000000d7] app_dial.c: SIP/207643_DiscoPBX-00000104 answered SIP/207643_CanAmPBX-00000103
[Feb  8 16:11:49] VERBOSE[18160][C-000000d7] bridge_channel.c: Channel SIP/207643_DiscoPBX-00000104 joined 'simple_bridge' basic-bridge <fb4c2d8a-75c8-49c5-b9b8-455c65682dbd>
[Feb  8 16:11:49] VERBOSE[18147][C-000000d7] bridge_channel.c: Channel SIP/207643_CanAmPBX-00000103 joined 'simple_bridge' basic-bridge <fb4c2d8a-75c8-49c5-b9b8-455c65682dbd>
[Feb  8 16:11:49] VERBOSE[18147][C-000000d7] bridge.c: Bridge fb4c2d8a-75c8-49c5-b9b8-455c65682dbd: switching from simple_bridge technology to native_rtp
[Feb  8 16:11:49] VERBOSE[18147][C-000000d7] bridge_native_rtp.c: Locally RTP bridged 'SIP/207643_CanAmPBX-00000103' and 'SIP/207643_DiscoPBX-00000104' in stack
[Feb  8 16:11:49] VERBOSE[18147][C-000000d7] bridge_native_rtp.c: Locally RTP bridged 'SIP/207643_CanAmPBX-00000103' and 'SIP/207643_DiscoPBX-00000104' in stack
[Feb  8 16:11:49] VERBOSE[18147][C-000000d7] res_rtp_asterisk.c: 0x7f5498119f00 -- Probation passed - setting RTP source address to 162.213.157.117:12274
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] res_rtp_asterisk.c: 0x7f54980b6250 -- Probation passed - setting RTP source address to 162.213.157.117:14692
[Feb  8 16:11:49] VERBOSE[18153][C-000000d8] file.c: <SIP/207643_CanAmPBX-00000105> Playing 'busy-call.slin' (language 'en_US')
[Feb  8 16:11:49] VERBOSE[18160][C-000000d7] res_rtp_asterisk.c: 0x7f548c3d99d0 -- Probation passed - setting RTP source address to 162.213.157.117:19226
[Feb  8 16:11:53] VERBOSE[18153][C-000000d8] pbx.c: Executing [BUSY@outcall:2] Hangup("SIP/207643_CanAmPBX-00000105", "") in new stack
[Feb  8 16:11:53] VERBOSE[18153][C-000000d8] pbx.c: Spawn extension (outcall, BUSY, 2) exited non-zero on 'SIP/207643_CanAmPBX-00000105'
[Feb  8 16:11:53] VERBOSE[18147][C-000000d7] bridge_channel.c: Channel SIP/207643_CanAmPBX-00000103 left 'native_rtp' basic-bridge <fb4c2d8a-75c8-49c5-b9b8-455c65682dbd>
[Feb  8 16:11:53] VERBOSE[18147][C-000000d7] pbx.c: Spawn extension (outcall, dial, 7) exited non-zero on 'SIP/207643_CanAmPBX-00000103'
[Feb  8 16:11:53] VERBOSE[18160][C-000000d7] bridge_channel.c: Channel SIP/207643_DiscoPBX-00000104 left 'native_rtp' basic-bridge <fb4c2d8a-75c8-49c5-b9b8-455c65682dbd>

RE: Can't make outgoing calls - Added by Sylvain Boily 9 months ago

This is a log for outgoing call. Your peer 207643_DiscoPBX send a busy.

RE: Can't make outgoing calls - Added by Chris Y 9 months ago

Odd, as I did not make an outgoing call. I called in from another number 6049600063

RE: Can't make outgoing calls - Added by Sylvain Boily 9 months ago

But the logs show me only an outgoing call. So you want to create something like a gateway? The peer 207643_CanAmPBX is the incoming trunk sip?

RE: Can't make outgoing calls - Added by Chris Y 9 months ago

I do not have it set up as outgoing. I just want incoming calls to ring the phone and to make outgoing calls. Simple.

Why is it showing up as busy? Nothing is busy.

RE: Can't make outgoing calls - Added by Sébastien Duthil 9 months ago

Could you show us the complete log from the Asterisk CLI? We only see the end of the dialplan, not the beginning... and it ends like an outgoing call, but to understand why, we need the complete log.

In Wazo, there are three default contexts:
  • from-extern: this contains all the extensions defined in "Incoming calls", the DID. This context should not include any other context. The junction with other contexts is done via Goto, automatically generated by XiVO depending on the destination of the DID that you configured in the web interface.
  • default: this context contains all the internal extensions, i.e. not DID nor outgoing extensions. This context should include the to-extern context, so that internal users can place outbound calls.
  • to-extern: this context contains the extension patterns defined in "Outgoing calls". This context should not include any other context, except for specific configurations.
    (1-14/14)