Hi Experts;
My configuration is as below and the error coming in Asterisk is as below.
I am using Asterisknow CLI based.
----------------sip.conf---------------------------
[SIPTrk-cmpub]
disallow=all
host=IP-of-the-master
type=friend
context=from-trunk
allow=ulaw
allow=alaw
nat=no
canreinvite=yes
qualify=yes
---------------------In extensions.conf -------------------
[from-trunk]
exten => 2380,1,Answer
exten => 2380,n,Noop( SIPCALLID ${SIPCALLID})
exten => 2380,n,Noop( UNIQUEID ${UNIQUEID})
exten => 2380,n,Noop( SIPHEADER From = ${SIP_HEADER(From)})
exten => 2380,n,Noop( SIPHEADER From = ${CUT(CUT(SIP_HEADER(From),;,7),>,1)})
exten => 2380,n,Set(remotedid=${CUT(CUT(SIP_HEADER(From),=,6),>,1)})
exten => 2380,n,Set(pseudodidi2=${CUT(SIP_HEADER(From),x-farendaddr,1)})
exten => 2380,n,Noop( ${remotedid})
exten => 2380,n,Record(Record${CALLERID(num)}${CUT(SIPCALLID,-,1)}-${CALLERID(num)}-${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)}-${remotedid}-${CHANNEL:-2}%d:wav)
Asterisk-log–
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Executing [2380@from-sip-external:1] NoOp(“SIP/SIPTrk-cmpub-00000001”, "Received incoming SIP connection from
unknown peer to 2380") in new stack
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Executing [2380@from-sip-external:2] Set(“SIP/SIPTrk-cmpub-00000001”, “DID=2380”) in new stack
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Executing [2380@from-sip-external:3] Goto(“SIP/SIPTrk-cmpub-00000001”, “s,1”) in new stack
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Goto (from-sip-external,s,1)
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:1] GotoIf(“SIP/SIPTrk-cmpub-00000001”, “0?checklang:noanonymous”) in new stack
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Goto (from-sip-external,s,5)
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:5] Set(“SIP/SIPTrk-cmpub-00000001”, “TIMEOUT(absolute)=15”) in new stack
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] func_timeout.c: – Channel will hangup at 2013-09-04 00:43:33.843 AST.
[2013-09-04 00:43:18] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:6] Answer(“SIP/SIPTrk-cmpub-00000001”, “”) in new stack
[2013-09-04 00:43:19] VERBOSE[6625][C-00000000] pbx.c: – Executing [s@from-sip-external:7] Wait(“SIP/SIPTrk-cmpub-00000000”, “2”) in new stack
[2013-09-04 00:43:19] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:7] Wait(“SIP/SIPTrk-cmpub-00000001”, “2”) in new stack
[2013-09-04 00:43:21] VERBOSE[6625][C-00000000] pbx.c: – Executing [s@from-sip-external:8] Playback(“SIP/SIPTrk-cmpub-00000000”, “ss-noservice”) in new stack
[2013-09-04 00:43:21] VERBOSE[6625][C-00000000] file.c: – <SIP/SIPTrk-cmpub-00000000> Playing ‘ss-noservice.ulaw’ (language ‘en’)
[2013-09-04 00:43:21] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:8] Playback(“SIP/SIPTrk-cmpub-00000001”, “ss-noservice”) in new stack
[2013-09-04 00:43:21] VERBOSE[6626][C-00000001] file.c: – <SIP/SIPTrk-cmpub-00000001> Playing ‘ss-noservice.ulaw’ (language ‘en’)
[2013-09-04 00:43:26] VERBOSE[6625][C-00000000] pbx.c: – Executing [s@from-sip-external:9] PlayTones(“SIP/SIPTrk-cmpub-00000000”, “congestion”) in new stack
[2013-09-04 00:43:26] VERBOSE[6625][C-00000000] pbx.c: – Executing [s@from-sip-external:10] Congestion(“SIP/SIPTrk-cmpub-00000000”, “5”) in new stack
[2013-09-04 00:43:26] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:9] PlayTones(“SIP/SIPTrk-cmpub-00000001”, “congestion”) in new stack
[2013-09-04 00:43:26] VERBOSE[6626][C-00000001] pbx.c: – Executing [s@from-sip-external:10] Congestion(“SIP/SIPTrk-cmpub-00000001”, “5”) in new stack
[2013-09-04 00:43:28] VERBOSE[6625][C-00000000] pbx.c: == Spawn extension (from-sip-external, s, 10) exited non-zero on ‘SIP/SIPTrk-cmpub-00000000’
[2013-09-04 00:43:28] VERBOSE[6626][C-00000001] pbx.c: == Spawn extension (from-sip-external, s, 10) exited non-zero on ‘SIP/SIPTrk-cmpub-00000001’
[2013-09-04 00:43:28] VERBOSE[6625][C-00000000] pbx.c: – Executing [h@from-sip-external:1] Hangup(“SIP/SIPTrk-cmpub-00000000”, “”) in new stack
[2013-09-04 00:43:28] VERBOSE[6626][C-00000001] pbx.c: – Executing [h@from-sip-external:1] Hangup(“SIP/SIPTrk-cmpub-00000001”, “”) in new stack
[2013-09-04 00:43:28] VERBOSE[6626][C-00000001] pbx.c: == Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/SIPTrk-cmpub-00000001’
[2013-09-04 00:43:28] VERBOSE[6625][C-00000000] pbx.c: == Spawn extension (from-sip-external, h, 1) exited non-zero on ‘SIP/SIPTrk-cmpub-00000000’
Appreciate your suggestion.
Regards
debashis