JimmyKhine
Member
- Joined
- Jun 23, 2016
- Messages
- 40
- Reaction score
- 0
Hi all,
Is there expert in this forum, plz help?
I have an issue as the following:
TRUNK has registered with status " OK " and outbound call has created with prefix as 3000. However, call can't be made and I have received the log as below
== Using SIP RTP CoS mark 5
-- Called SIP/PQ/254207600000
[2016-07-01 18:06:35] WARNING[18785][C-00000008]: chan_sip.c:23220 handle_response_invite: Received response: "Forbidden" from '<sip:[email protected]>;tag=as0d753417'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/132-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/132-00000000", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/132-00000000", "RC=21") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/132-00000000", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("SIP/132-00000000", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/132-00000000", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/132-00000000", "CALLERID(number)=132") in new stack
-- Executing [9000254207600000@from-internal:8] Macro("SIP/132-00000000", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/132-00000000", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/132-00000000", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/132-00000000", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/132-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/132-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
-- <SIP/132-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/132-00000000", "20") in new stack
[2016-07-01 18:06:39] WARNING[19416][C-00000008]: channel.c:4861 ast_prod: Prodding channel 'SIP/132-00000000' failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/132-00000000' in macro 'outisbusy'
----------------------------------------------------------------------------------------------------------------------
With soft phone (X-Lite) I can registered and make the call. The setting on the soft phone, I have set with Proxy adress as 11.22.33.44:5061
----------------------------------------------------------------------------------------------------------------------
Here are the details of the TRUNK that I have done
type=peer
username=123456789
secret=xxxxxxxx
host=IP host(11.22.33.44)
fromuser=123456789
fromdomain=host server (sip.domain.com)
context=default
canreinvite=no
insecure=very
qualify=yes
nat=yes
port=5061
dtmfmode=rfc2833
disallow=all
allow=g729
This TRUNK has different port as 5061 and my asterisk is 5060
Is there expert in this forum, plz help?
I have an issue as the following:
TRUNK has registered with status " OK " and outbound call has created with prefix as 3000. However, call can't be made and I have received the log as below
== Using SIP RTP CoS mark 5
-- Called SIP/PQ/254207600000
[2016-07-01 18:06:35] WARNING[18785][C-00000008]: chan_sip.c:23220 handle_response_invite: Received response: "Forbidden" from '<sip:[email protected]>;tag=as0d753417'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/132-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/132-00000000", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/132-00000000", "RC=21") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/132-00000000", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("SIP/132-00000000", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/132-00000000", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/132-00000000", "CALLERID(number)=132") in new stack
-- Executing [9000254207600000@from-internal:8] Macro("SIP/132-00000000", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/132-00000000", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/132-00000000", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/132-00000000", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/132-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/132-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
-- <SIP/132-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/132-00000000", "20") in new stack
[2016-07-01 18:06:39] WARNING[19416][C-00000008]: channel.c:4861 ast_prod: Prodding channel 'SIP/132-00000000' failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/132-00000000' in macro 'outisbusy'
----------------------------------------------------------------------------------------------------------------------
With soft phone (X-Lite) I can registered and make the call. The setting on the soft phone, I have set with Proxy adress as 11.22.33.44:5061
----------------------------------------------------------------------------------------------------------------------
Here are the details of the TRUNK that I have done
type=peer
username=123456789
secret=xxxxxxxx
host=IP host(11.22.33.44)
fromuser=123456789
fromdomain=host server (sip.domain.com)
context=default
canreinvite=no
insecure=very
qualify=yes
nat=yes
port=5061
dtmfmode=rfc2833
disallow=all
allow=g729
This TRUNK has different port as 5061 and my asterisk is 5060