Cant make outbound calls on zoiper


(Robert Wild) #1

hi all,

if i call my voipfone number on my house landline (inbound) to my softphone, i can hear the person and talk to the person on the other end

but i cant make outbound calls, i find this wierd as it works the other way round fine, all i get is “your call cant be connected” “busy here”

i have followed this guide

thanks,
rob


(Communication Technologies) #2

Do you have an outbound route attached?
https://wiki.freepbx.org/display/FPG/Outbound+Routes+Module

If you do, then provide a log.
https://wiki.freepbx.org/display/SUP/Providing+Great+Debug


(Robert Wild) #3

ok ive looked at the logs and thing i know why it isnt doing it

chan_sip.c: Call from ‘201’ (x.x.x.x:43823) to extension ‘+44xxxxxx’ rejected because extension not found in context ‘from-internal’.

i need it so it can make any outbound calls, is this possible


(Robert Wild) #4

[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:1] Macro(“SIP/201-000000aa”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:2] Gosub(“SIP/201-000000aa”, “sub-record-check,s,1(out,152,dontcare)”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/201-000000aa”, “Outbound Recording Check from 201 to 152”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/201-000000aa”, “recordcheck,1(dontcare,out,152)”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:3] ExecIf(“SIP/201-000000aa”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:4] Set(“SIP/201-000000aa”, “_ROUTEID=1”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:5] Set(“SIP/201-000000aa”, “_ROUTENAME=out-by-voipfone”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:6] Set(“SIP/201-000000aa”, “MOHCLASS=default”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:7] Set(“SIP/201-000000aa”, “_CALLERIDNAMEINTERNAL=robert wild”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:8] Set(“SIP/201-000000aa”, “_CALLERIDNUMINTERNAL=201”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:9] Set(“SIP/201-000000aa”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:10] Set(“SIP/201-000000aa”, “_NODEST=”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [152@from-internal:11] Macro(“SIP/201-000000aa”, “dialout-trunk,1,152,off”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/201-000000aa”, “DIAL_NUMBER=152”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/201-000000aa”, “OUTNUM=152”) in new stack
[2021-09-13 16:15:51] VERBOSE[1545][C-0000046a] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/201-000000aa”, “__CRM_DESTINATION=152”) in new stack
[2021-09-13 16:15:52] VERBOSE[1545][C-0000046a] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/201-000000aa”, “1?Set(CONNECTEDLINE(num,i)=152)”) in new stack
[2021-09-13 16:15:52] VERBOSE[1545][C-0000046a] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/201-000000aa”, “SIP/Voipfone-SIP/152@voipfone,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^152^152^1^1631549751^robert wild^201)”) in new stack
[2021-09-13 16:15:52] VERBOSE[1545][C-0000046a] app_stack.c: Spawn extension (from-pstn, 152, 1) exited non-zero on ‘SIP/Voipfone-SIP-000000ab’
[2021-09-13 16:15:52] VERBOSE[1545][C-0000046a] app_dial.c: Called SIP/Voipfone-SIP/152@voipfone
[2021-09-13 16:15:53] VERBOSE[1545][C-0000046a] app_stack.c: SIP/Voipfone-SIP-000000ab Internal Gosub(sub-send-obroute-email,s,1(152,152,1,1631549751,robert wild,201)) start
[2021-09-13 16:15:53] VERBOSE[1545][C-0000046a] app_stack.c: SIP/Voipfone-SIP-000000ab Internal Gosub(sub-send-obroute-email,s,1(152,152,1,1631549751,robert wild,201)) complete GOSUB_RETVAL=
[2021-09-13 16:15:56] VERBOSE[1545][C-0000046a] pbx.c: Spawn extension (from-internal, 152, 11) exited non-zero on ‘SIP/201-000000aa’

this is me trying to call 152, a test to see if voipfone is set up correctly and atm it doesnt work


#5

Lets deconstruct your extension “+44xxxxxx”

  • is the meta-character used to access international dialing from your ‘locale’, presuming you are in the UK then that would be ‘00’ , ‘44’ would then be the e164 ‘country code’ for the UK, then xxxxxx means a set of exactly 6 numbers between 000000 and 999999.

Trouble is there is nothing that will match that all but 42 somewhere in the far NW have a number that matches +144ZXXXXXXXXXX, or without the e164 bit 0zxxxxxxxxx , that sounds complicated, but my quess is you have already over-complicated things.

May I ask you what you expect your users to dial and how you have handled such dial patterns in your outbound routes ?


(Robert Wild) #6

this is my outbound dial pattern and it works as i can dial 07 or 155 out but not +44

ok this is a better log, trying to connect to 155

tail -f /var/log/asterisk/full | grep 155
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:1] Macro(“SIP/201-00000121”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:2] Gosub(“SIP/201-00000121”, “sub-record-check,s,1(out,155,dontcare)”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/201-00000121”, “Outbound Recording Check from 201 to 155”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/201-00000121”, “recordcheck,1(dontcare,out,155)”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:3] ExecIf(“SIP/201-00000121”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:4] Set(“SIP/201-00000121”, “_ROUTEID=3”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:5] Set(“SIP/201-00000121”, “_ROUTENAME=out-by-voipfone”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:6] Set(“SIP/201-00000121”, “MOHCLASS=default”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:7] Set(“SIP/201-00000121”, “_CALLERIDNAMEINTERNAL=robert wild”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:8] Set(“SIP/201-00000121”, “_CALLERIDNUMINTERNAL=201”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:9] Set(“SIP/201-00000121”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:10] Set(“SIP/201-00000121”, “_NODEST=”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [155@from-internal:11] Macro(“SIP/201-00000121”, “dialout-trunk,1,155,off”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/201-00000121”, “DIAL_NUMBER=155”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/201-00000121”, “OUTNUM=155”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/201-00000121”, “__CRM_DESTINATION=155”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/201-00000121”, “1?Set(CONNECTEDLINE(num,i)=155)”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/201-00000121”, “SIP/voipfone-sip/155@voipfone,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^155^155^1^1631620770^robert wild^201)”) in new stack
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] app_stack.c: Spawn extension (from-pstn, 155, 1) exited non-zero on ‘SIP/voipfone-sip-00000122’
[2021-09-14 11:59:30] VERBOSE[24163][C-00004770] app_dial.c: Called SIP/voipfone-sip/155@voipfone
[2021-09-14 11:59:31] VERBOSE[24163][C-00004770] app_stack.c: SIP/voipfone-sip-00000122 Internal Gosub(sub-send-obroute-email,s,1(155,155,1,1631620770,robert wild,201)) start
[2021-09-14 11:59:31] VERBOSE[24163][C-00004770] app_stack.c: SIP/voipfone-sip-00000122 Internal Gosub(sub-send-obroute-email,s,1(155,155,1,1631620770,robert wild,201)) complete GOSUB_RETVAL=
[2021-09-14 11:59:37] VERBOSE[24163][C-00004770] pbx.c: Spawn extension (from-internal, 155, 11) exited non-zero on ‘SIP/201-00000121’


(Andrew) #7

You don’t have a matching dial pattern for numbers that start with +. X is a 0-9 integer so you can only dial phone numbers that start with that.


(Robert Wild) #8

thanks @adell4444 i know about i cant dial out if its a +44 but surely it should work when i dial out 155 but it is not

also i have installed zoiper on my home pc, to test as this pc is on the LAN and not WAN and i still cant call 155, i get “sorry your call cant be connecetd”

this is the new log

tail -f /var/log/asterisk/full | grep 155
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:1] Macro(“SIP/201-0000014b”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:2] Gosub(“SIP/201-0000014b”, “sub-record-check,s,1(out,155,dontcare)”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/201-0000014b”, “Outbound Recording Check from 201 to 155”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/201-0000014b”, “recordcheck,1(dontcare,out,155)”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:3] ExecIf(“SIP/201-0000014b”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:4] Set(“SIP/201-0000014b”, “_ROUTEID=3”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:5] Set(“SIP/201-0000014b”, “_ROUTENAME=out-by-voipfone”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:6] Set(“SIP/201-0000014b”, “MOHCLASS=default”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:7] Set(“SIP/201-0000014b”, “_CALLERIDNAMEINTERNAL=robert wild”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:8] Set(“SIP/201-0000014b”, “_CALLERIDNUMINTERNAL=201”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:9] Set(“SIP/201-0000014b”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:10] Set(“SIP/201-0000014b”, “_NODEST=”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [155@from-internal:11] Macro(“SIP/201-0000014b”, “dialout-trunk,1,155,off”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/201-0000014b”, “DIAL_NUMBER=155”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/201-0000014b”, “OUTNUM=155”) in new stack
[2021-09-14 16:09:31] VERBOSE[19324][C-00004785] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/201-0000014b”, “__CRM_DESTINATION=155”) in new stack
[2021-09-14 16:09:32] VERBOSE[19324][C-00004785] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/201-0000014b”, “1?Set(CONNECTEDLINE(num,i)=155)”) in new stack
[2021-09-14 16:09:32] VERBOSE[19324][C-00004785] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/201-0000014b”, “SIP/voipfone-sip/155@voipfone,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^155^155^1^1631635771^robert wild^201)”) in new stack
[2021-09-14 16:09:32] VERBOSE[19324][C-00004785] app_stack.c: Spawn extension (from-pstn, 155, 1) exited non-zero on ‘SIP/voipfone-sip-0000014c’
[2021-09-14 16:09:32] VERBOSE[19324][C-00004785] app_dial.c: Called SIP/voipfone-sip/155@voipfone
[2021-09-14 16:09:33] VERBOSE[19324][C-00004785] app_stack.c: SIP/voipfone-sip-0000014c Internal Gosub(sub-send-obroute-email,s,1(155,155,1,1631635771,robert wild,201)) start
[2021-09-14 16:09:33] VERBOSE[19324][C-00004785] app_stack.c: SIP/voipfone-sip-0000014c Internal Gosub(sub-send-obroute-email,s,1(155,155,1,1631635771,robert wild,201)) complete GOSUB_RETVAL=
[2021-09-14 16:09:38] VERBOSE[19324][C-00004785] pbx.c: Spawn extension (from-internal, 155, 11) exited non-zero on ‘SIP/201-0000014b’


(Andrew) #9

What are you expecting to happen when you dial 155? Default system behavior is to treat that as an extension number, but it appears to be attempting to go out your voipfone route.


(Robert Wild) #10

@adell4444 its the voipfone test as says here

Test Numbers

155 - Confirms that your phone is connecting to our service and registering correctly.

152 - Echo test; shows how good your connection to Voipfone is.

im trying to call my mobile number on my home pc via zoiper which is a 07 and thats not working at all

do you think it could be an audio codec issue or a trunk issue?


#11

grepping 0000014b would be far more informative, "cut and paste " or “pipe” through https://pastebin.freepbx.org/ and post the link so your logs are easier read.


(Andrew) #12

Agreed.

grep 0000014b /var/log/asterisk/full | pastebin

(Robert Wild) #13

ok im going in the right direction, i messed about with the trunk settings

all i changed was alaw to ulaw

now i get audio but it says

all circuits are busy now please try your call again later


(Robert Wild) #14

heres the log that you guys said @adell4444 @dicko

title: Automatic Pastebin from Sangoma OS 7
name: root@freepbx.sangoma.local
private: 1
expire: 0
https://pastebin.freepbx.org/view/dee89cf6

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /usr/local/stikked/Stikked-0.12.0/htdocs/system/core/Output.php:538)

Filename: core/Common.php

Line Number: 570

    <p>Backtrace:</p>
Database Error

::selection { background-color: #E13300; color: white; }
::-moz-selection { background-color: #E13300; color: white; }

body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}

a {
color: #003399;
background-color: transparent;
font-weight: normal;
}

h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}

code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}

#container {
margin: 10px;
border: 1px solid #D0D0D0;
box-shadow: 0 0 8px #D0D0D0;
}

p {
margin: 12px 15px 12px 15px;
}

A Database Error Occurred

Error Number: 1114

The table 'sessions' is full

INSERT INTO `sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('9ce75199b6b8fcb523b5501bf30b6dfc38d8a3c1', '10.255.0.2', 1631638794, '__ci_last_regenerate|i:1631638794;')

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 236

A PHP Error was encountered

Severity: Warning

Message: Unknown: Cannot call session save handler in a recursive manner

Filename: Unknown

Line Number: 0

    <p>Backtrace:</p>

A PHP Error was encountered

Severity: Warning

Message: Unknown: Failed to write session data using user defined save handler. (session.save_path: )

Filename: Unknown

Line Number: 0

    <p>Backtrace:</p>

(Lorne Gaetz) #15

Freepbx pastebin is down at the moment. We’re aware of the issue and are working on it.


#16
  1. [2021-09-14 16:59:18] VERBOSE[25526][C-0000479e] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/201-0000017d”, “SIP/voipfone-sip/155@voipfone,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^155^155^1^1631638757^robert wild^201)”) in new stack

  2. [2021-09-14 16:59:18] VERBOSE[25526][C-0000479e] pbx.c: Executing [s@macro-dialout-trunk:35] NoOp(“SIP/201-0000017d”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 58”) in new stack

voip phone can’t call 155 so returns a ‘58’ (Bearer capability not presently available. )


(Robert Wild) #17

i get a different log now

tail -f /var/log/asterisk/full | grep 155
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:1] Macro(“SIP/201-0000018d”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:2] Gosub(“SIP/201-0000018d”, “sub-record-check,s,1(out,155,dontcare)”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/201-0000018d”, “Outbound Recording Check from 201 to 155”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/201-0000018d”, “recordcheck,1(dontcare,out,155)”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:3] ExecIf(“SIP/201-0000018d”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:4] Set(“SIP/201-0000018d”, “_ROUTEID=3”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:5] Set(“SIP/201-0000018d”, “_ROUTENAME=out-by-voipfone”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:6] Set(“SIP/201-0000018d”, “MOHCLASS=default”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:7] Set(“SIP/201-0000018d”, “_CALLERIDNAMEINTERNAL=robert wild”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:8] Set(“SIP/201-0000018d”, “_CALLERIDNUMINTERNAL=201”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:9] Set(“SIP/201-0000018d”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:10] Set(“SIP/201-0000018d”, “_NODEST=”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:11] Macro(“SIP/201-0000018d”, “dialout-trunk,1,155,off”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/201-0000018d”, “DIAL_NUMBER=155”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/201-0000018d”, “OUTNUM=155”) in new stack
[2021-09-14 17:17:31] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@macro-dialout-trunk:22] Set(“SIP/201-0000018d”, “__CRM_DESTINATION=155”) in new stack
[2021-09-14 17:17:32] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/201-0000018d”, “1?Set(CONNECTEDLINE(num,i)=155)”) in new stack
[2021-09-14 17:17:32] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@macro-dialout-trunk:34] Dial(“SIP/201-0000018d”, “SIP/voipfone-sip/155@voipfone,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^155^155^1^1631639851^robert wild^201)”) in new stack
[2021-09-14 17:17:32] VERBOSE[26954][C-000047a6] app_stack.c: Spawn extension (from-pstn, 155, 1) exited non-zero on ‘SIP/voipfone-sip-0000018e’
[2021-09-14 17:17:32] VERBOSE[26954][C-000047a6] app_dial.c: Called SIP/voipfone-sip/155@voipfone
[2021-09-14 17:17:32] VERBOSE[26954][C-000047a6] pbx.c: Executing [155@from-internal:12] Macro(“SIP/201-0000018d”, “outisbusy,”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Spawn extension (from-internal, 155, 12) exited non-zero on ‘SIP/201-0000018d’

im thinking its because i need to set a CID


#18

same suggestion but now grep C-000047a6


(Robert Wild) #19

tail -f /var/log/asterisk/full | grep 0000018d
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:2] NoOp(“SIP/201-0000018d”, “HANGUP CAUSE: 34”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:3] ExecIf(“SIP/201-0000018d”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:4] NoOp(“SIP/201-0000018d”, “MASTER CHANNEL: 1631639851.18531 = 1631639851.18531”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:5] GotoIf(“SIP/201-0000018d”, “0?return”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:6] Set(“SIP/201-0000018d”, “__CRM_HANGUP=1”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:7] AGI(“SIP/201-0000018d”, “agi://127.0.0.1/sangomacrm.agi”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] res_agi.c: <SIP/201-0000018d>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] pbx.c: Executing [s@crm-hangup:8] Return(“SIP/201-0000018d”, “”) in new stack
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/201-0000018d’
[2021-09-14 17:17:35] VERBOSE[26954][C-000047a6] app_stack.c: SIP/201-0000018d Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=


#20

sorry, mis copy pasted, the whole call in my edited version, please use a pastebin that works.