Phone forward INT -> EXT not working

this is what i found in verbose mode:

== Extension Changed 489[ext-local] new state Ringing for Notify User 643
– Called SIP/489
– Connected line update to SIP/643-00000000 prevented.
– Got SIP response 302 “Moved Temporarily” back from 172.16.201.13:5060
– Now forwarding SIP/643-00000000 to ‘Local/926008034@from-internal’ (thanks to SIP/489-00000001)
[2017-05-19 09:21:16] NOTICE[8548][C-00000000]: app_dial.c:958 do_forward: Not accepting call completion offers from call-forward recipient Local/926008034@from-internal-00000000;1
– Executing [926008034@from-internal:1] Macro(“Local/926008034@from-internal-00000000;2”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
== Extension Changed 489[ext-local] new state Idle for Notify User 643

why this happens ?

The device returned a SIP response saying to forward the caller to “926008034” in context from-internal. The it was then forwarded there.

yesm this is mobile number, with prefix 9, but it don’t call…

The log has been truncated before any failure.

here is full log for this call:

== Extension Changed 489[ext-local] new state Ringing for Notify User 643
– Called SIP/489
– Connected line update to SIP/643-00000000 prevented.
– Got SIP response 302 “Moved Temporarily” back from 222.22.222.22:5060
– Now forwarding SIP/643-00000000 to ‘Local/926008034@from-internal’ (thanks to SIP/489-00000001)
[2017-05-19 09:21:16] NOTICE[8548][C-00000000]: app_dial.c:958 do_forward: Not accepting call completion offers from call-forward recipient Local/926008034@from-internal-00000000;1
– Executing [926008034@from-internal:1] Macro(“Local/926008034@from-internal-00000000;2”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
== Extension Changed 489[ext-local] new state Idle for Notify User 643
– Executing [s@macro-user-callerid:1] Set(“Local/926008034@from-internal-00000000;2”, “TOUCH_MONITOR=1495174876.3”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Local/926008034@from-internal-00000000;2”, “AMPUSER=643”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“Local/926008034@from-internal-00000000;2”, “1?Set(REALCALLERIDNUM=643)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“Local/926008034@from-internal-00000000;2”, “AMPUSER=643”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Local/926008034@from-internal-00000000;2”, “AMPUSERCIDNAME=Vasja Pupkin”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“Local/926008034@from-internal-00000000;2”, “AMPUSERCID=643”) in new stack
– Executing [s@macro-user-callerid:10] Set(“Local/926008034@from-internal-00000000;2”, “__DIAL_OPTIONS=tr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“Local/926008034@from-internal-00000000;2”, “CALLERID(all)=“Vasja Pupkin” <643>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“Local/926008034@from-internal-00000000;2”, “1?Set(GROUP(concurrency_limit)=643)”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“Local/926008034@from-internal-00000000;2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“Local/926008034@from-internal-00000000;2”, “CALLERID(number)=643”) in new stack
– Executing [s@macro-user-callerid:29] Set(“Local/926008034@from-internal-00000000;2”, “CALLERID(name)=Vasja Pupkin”) in new stack
– Executing [s@macro-user-callerid:30] Set(“Local/926008034@from-internal-00000000;2”, “CDR(cnum)=643”) in new stack
– Executing [s@macro-user-callerid:31] Set(“Local/926008034@from-internal-00000000;2”, “CDR(cnam)=Vasja Pupkin”) in new stack
– Executing [s@macro-user-callerid:32] Set(“Local/926008034@from-internal-00000000;2”, “CHANNEL(language)=en”) in new stack
– Executing [926008034@from-internal:2] Set(“Local/926008034@from-internal-00000000;2”, “MOHCLASS=default”) in new stack
– Executing [926008034@from-internal:3] Set(“Local/926008034@from-internal-00000000;2”, “_NODEST=”) in new stack
– Executing [926008034@from-internal:4] Gosub(“Local/926008034@from-internal-00000000;2”, “sub-record-check,s,1(out,926008034,)”) in new stack
– Executing [s@sub-record-check:1] Set(“Local/926008034@from-internal-00000000;2”, “REC_POLICY_MODE_SAVE=dontcare”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“Local/926008034@from-internal-00000000;2”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“Local/926008034@from-internal-00000000;2”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“Local/926008034@from-internal-00000000;2”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“Local/926008034@from-internal-00000000;2”, “1?out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“Local/926008034@from-internal-00000000;2”, “0?record,1(exten,926008034,643)”) in new stack
– Executing [out@sub-record-check:3] Return(“Local/926008034@from-internal-00000000;2”, “”) in new stack
– Executing [926008034@from-internal:5] Macro(“Local/926008034@from-internal-00000000;2”, “dialout-trunk,2,26008034,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/926008034@from-internal-00000000;2”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“Local/926008034@from-internal-00000000;2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/926008034@from-internal-00000000;2”, “DIAL_NUMBER=26008034”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/926008034@from-internal-00000000;2”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/926008034@from-internal-00000000;2”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/926008034@from-internal-00000000;2”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/926008034@from-internal-00000000;2”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(REALCALLERIDNUM=643)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?normcid”) in new stack
– Executing [s@macro-outbound-callerid:4] Set(“Local/926008034@from-internal-00000000;2”, “USEROUTCID=643”) in new stack
– Executing [s@macro-outbound-callerid:5] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?bypass”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“Local/926008034@from-internal-00000000;2”, “USEROUTCID=67359508”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“Local/926008034@from-internal-00000000;2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Local/926008034@from-internal-00000000;2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“Local/926008034@from-internal-00000000;2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Local/926008034@from-internal-00000000;2”, “1?Set(CALLERID(all)=67359508)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“Local/926008034@from-internal-00000000;2”, “CDR(outbound_cnum)=67359508”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“Local/926008034@from-internal-00000000;2”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“Local/926008034@from-internal-00000000;2”, “0?sub-flp-2,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“Local/926008034@from-internal-00000000;2”, “OUTNUM=26008034”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/926008034@from-internal-00000000;2”, “custom=SIP/c4_sip-trunk”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“Local/926008034@from-internal-00000000;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“Local/926008034@from-internal-00000000;2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“Local/926008034@from-internal-00000000;2”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“Local/926008034@from-internal-00000000;2”, “1?Set(CONNECTEDLINE(num,i)=26008034)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“Local/926008034@from-internal-00000000;2”, “1?Set(CONNECTEDLINE(name,i)=CID:67359508)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“Local/926008034@from-internal-00000000;2”, “SIP/c4_sip-trunk/26008034,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/c4_sip-trunk/26008034
[2017-05-19 09:21:17] WARNING[8522][C-00000000]: chan_sip.c:23294 handle_response_invite: Received response: “Forbidden” from ‘sip:67555508@111.11.111.11;tag=as4971449e’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“Local/926008034@from-internal-00000000;2”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“Local/926008034@from-internal-00000000;2”, “RC=21”) in new stack
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“Local/926008034@from-internal-00000000;2”, “21,1”) in new stack
– Goto (macro-dialout-trunk,21,1)
– Executing [21@macro-dialout-trunk:1] Goto(“Local/926008034@from-internal-00000000;2”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“Local/926008034@from-internal-00000000;2”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] Set(“Local/926008034@from-internal-00000000;2”, “CALLERID(number)=643”) in new stack
– Executing [926008034@from-internal:6] Macro(“Local/926008034@from-internal-00000000;2”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“Local/926008034@from-internal-00000000;2”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“Local/926008034@from-internal-00000000;2”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“Local/926008034@from-internal-00000000;2”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <Local/926008034@from-internal-00000000;2> Playing ‘all-circuits-busy-now.gsm’ (language ‘en’)
– Local/926008034@from-internal-00000000;1 is making progress passing it to SIP/643-00000000
– <Local/926008034@from-internal-00000000;2> Playing ‘pls-try-call-later.gsm’ (language ‘en’)
– Executing [s@macro-outisbusy:5] Congestion(“Local/926008034@from-internal-00000000;2”, “20”) in new stack
– Local/926008034@from-internal-00000000;1 is circuit-busy
[2017-05-19 09:21:21] WARNING[8549][C-00000000]: channel.c:4863 ast_prod: Prodding channel ‘Local/926008034@from-internal-00000000;2’ failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘Local/926008034@from-internal-00000000;2’ in macro ‘outisbusy’
== Spawn extension (from-internal, 926008034, 6) exited non-zero on ‘Local/926008034@from-internal-00000000;2’
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [s@macro-dial-one:44] ExecIf(“SIP/643-00000000”, “0?MacroExit()”) in new stack
– Executing [h@from-internal:1] Hangup(“Local/926008034@from-internal-00000000;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/926008034@from-internal-00000000;2’
– Executing [s@macro-dial-one:45] ExecIf(“SIP/643-00000000”, “0?Set(DIALSTATUS=)”) in new stack
– Executing [s@macro-dial-one:46] GosubIf(“SIP/643-00000000”, “0?s-CONGESTION,1()”) in new stack
– Executing [s@macro-dial-one:47] MacroExit(“SIP/643-00000000”, “”) in new stack
– Executing [s@macro-exten-vm:8] Set(“SIP/643-00000000”, “SV_DIALSTATUS=CONGESTION”) in new stack
[2017-05-19 09:21:21] ERROR[8549][C-00000000]: cdr_csv.c:314 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
– Executing [s@macro-exten-vm:9] GosubIf(“SIP/643-00000000”, “0?docfu,1()”) in new stack
– Executing [s@macro-exten-vm:10] GosubIf(“SIP/643-00000000”, “0?docfb,1()”) in new stack
– Executing [s@macro-exten-vm:11] Set(“SIP/643-00000000”, “DIALSTATUS=CONGESTION”) in new stack
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/643-00000000”, “0?MacroExit()”) in new stack
– Executing [s@macro-exten-vm:13] GotoIf(“SIP/643-00000000”, “1?s-CONGESTION,1”) in new stack
– Goto (macro-exten-vm,s-CONGESTION,1)
– Executing [s-CONGESTION@macro-exten-vm:1] GotoIf(“SIP/643-00000000”, “0?exit,1”) in new stack
– Executing [s-CONGESTION@macro-exten-vm:2] PlayTones(“SIP/643-00000000”, “congestion”) in new stack
[2017-05-19 09:21:21] ERROR[8549][C-00000000]: cdr_sqlite3_custom.c:267 write_cdr: attempt to write a readonly database. SQL: INSERT INTO cdr (calldate,clid,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,test,src,dst) VALUES (‘2017-05-19 09:21:16’,‘643’,‘from-internal’,‘Local/926008034@from-internal-00000000;2’,‘SIP/c4_sip-trunk-00000002’,‘Congestion’,‘20’,‘5’,‘0’,‘FAILED’,‘DOCUMENTATION’,’’,‘1495174876.3’,’’,’’,‘643’,‘926008034’).
– Executing [s-CONGESTION@macro-exten-vm:3] Congestion(“SIP/643-00000000”, “10”) in new stack
== Spawn extension (macro-exten-vm, s-CONGESTION, 3) exited non-zero on ‘SIP/643-00000000’ in macro ‘exten-vm’
== Spawn extension (from-internal, 489, 2) exited non-zero on ‘SIP/643-00000000’
– Executing [h@from-internal:1] Hangup(“SIP/643-00000000”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/643-00000000’
[2017-05-19 09:21:21] ERROR[8548][C-00000000]: cdr_csv.c:314 csv_log: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Permission denied
[2017-05-19 09:21:21] ERROR[8548][C-00000000]: cdr_sqlite3_custom.c:267 write_cdr: attempt to write a readonly database. SQL: INSERT INTO cdr (calldate,clid,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,test,src,dst) VALUES (‘2017-05-19 09:21:16’,’“Vasja Pupkin” <643>’,‘from-internal’,‘SIP/643-00000000’,‘SIP/489-00000001’,‘Congestion’,‘10’,‘5’,‘0’,‘FAILED’,‘DOCUMENTATION’,’’,‘1495174876.0’,’’,’’,‘643’,‘489’).
[2017-05-19 09:21:51] WARNING[8522]: db.c:332 ast_db_put: Couldn’t execute statment: SQL logic error or missing database
[2017-05-19 09:23:10] WARNING[8522]: db.c:332 ast_db_put: Couldn’t execute statment: SQL logic error or missing database
^CAsterisk cleanly ending (0).
Executing last minute cleanups
== Destroying musiconhold processes
== Manager unregistered action DBGet
== Manager unregistered action DBPut
== Manager unregistered action DBDel
== Manager unregistered action DBDelTree

Your Asterisk failed to authenticate against the “c4_sip-trunk” peer. This is likely due to configuration. What is the configuration (minus password) and please enable SIP debug using “sip set debug on” and do another attempt.

here is config
Global Settings:

UDP Bindaddress: 0.0.0.0:5060
TCP SIP Bindaddress: Disabled
TLS SIP Bindaddress: Disabled
Videosupport: No
Textsupport: No
Ignore SDP sess. ver.: No
AutoCreate Peer: Off
Match Auth Username: No
Allow unknown access: No
Allow subscriptions: Yes
Allow overlap dialing: Yes
Allow promisc. redir: No
Enable call counters: No
SIP domain support: No
Realm. auth: No
Our auth realm asterisk
Use domains as realms: No
Call to non-local dom.: Yes
URI user is phone no: No
Always auth rejects: Yes
Direct RTP setup: No
User Agent: FPBX-2.11.0(11.21.0)
SDP Session Name: Asterisk PBX 11.21.0
SDP Owner Name: root
Reg. context: (not set)
Regexten on Qualify: No
Trust RPID: No
Send RPID: No
Legacy userfield parse: No
Send Diversion: Yes
Caller ID: Unknown
From: Domain:
Record SIP history: Off
Call Events: Off
Auth. Failure Events: Off
T.38 support: No
T.38 EC mode: Unknown
T.38 MaxDtgrm: 4294967295
SIP realtime: Disabled
Qualify Freq : 60000 ms
Q.850 Reason header: No
Store SIP_CAUSE: No

Network QoS Settings:

IP ToS SIP: CS3
IP ToS RTP audio: EF
IP ToS RTP video: AF41
IP ToS RTP text: CS0
802.1p CoS SIP: 4
802.1p CoS RTP audio: 5
802.1p CoS RTP video: 6
802.1p CoS RTP text: 5
Jitterbuffer enabled: No

Network Settings:

SIP address remapping: Enabled using externaddr
Externhost:
Externaddr: xxx.xx.xxx.xx:0
Externrefresh: 10
Localnet: 172.16.201.0/255.255.255.0

Global Signalling Settings:

Codecs: (alaw)
Codec Order: alaw:20
Relax DTMF: No
RFC2833 Compensation: No
Symmetric RTP: Yes
Compact SIP headers: No
RTP Keepalive: 0 (Disabled)
RTP Timeout: 30
RTP Hold Timeout: 300
MWI NOTIFY mime type: application/simple-message-summary
DNS SRV lookup: No
Pedantic SIP support: Yes
Reg. min duration 60 secs
Reg. max duration: 3600 secs
Reg. default duration: 120 secs
Sub. min duration 60 secs
Sub. max duration: 3600 secs
Outbound reg. timeout: 20 secs
Outbound reg. attempts: 0
Outbound reg. retry 403:0
Notify ringing state: Yes
Include CID: No
Notify hold state: Yes
SIP Transfer mode: open
Max Call Bitrate: 384 kbps
Auto-Framing: No
Outb. proxy:
Session Timers: Accept
Session Refresher: uas
Session Expires: 1800 secs
Session Min-SE: 90 secs
Timer T1: 500
Timer T1 minimum: 100
Timer B: 32000
No premature media: Yes
Max forwards: 70

Default Settings:

Allowed transports: UDP
Outbound transport: UDP
Context: from-sip-external
Record on feature: automon
Record off feature: automon
Force rport: Yes
DTMF: rfc2833
Qualify: 0
Keepalive: 0
Use ClientCode: No
Progress inband: Never
Language:
Tone zone:
MOH Interpret: default
MOH Suggest:
Voice Mail Extension: *97

That is not the configuration for the “c4_sip-trunk” peer. The configuration from sip.conf is what would be needed.

sip.conf is clean in elastix :slight_smile: all strings commented
P.S i cant paste debug log, because of new user limitations

We can only really help you in terms of getting the right stuff into sip.conf. If Elastix doesn’t give you access to that information, you will need to ask on the relevant Elastix support channels.

Oops. I think Elastix may have been abandoned.

1 Like

maybe there is some asterisk CLI command to see proper config ?

The “sip show peer” command will show it.

It looks to me as though you will get the same error if you try and call the external number directly. If that is the case, it will be better to debug that case. If it is not the case, I think we would want to see the logs for such a call to the same number.

I wonder if you have simply failed to strip the initial 9. (How to this is a question for the Elastix people.)

external calling have no problems… through prefix “9” it call anywhere
P.S if i set forwarding with *72(number) - it works, but if i set it with phone “all forward” funtion - not working

ohh…i’l ask elastix forums too