[asterisk-ss7] Unable to match extension, context: ss7, dni: 6789, rni: (Using ISUP/Chan_ss7)
Yahya
medevelopers at gmail.com
Thu Nov 20 02:56:21 CST 2008
Dear
mates,
I need your support in the below mentioned problem that I experienced and
still not resolved in ISUP connectivity with ZONG. Please advice if you have
any
remedy or clue.
I have successfully established SS7 links with the Telco and they are
working fine. I have tested an outgoing call and an incoming call as well.
The problem
arises when I tried to define extension in it.
At first I just add one dialing code as 6789 and successfully received a
call over it on default extension. When I add another dialing code and
define
extension for it gave an error as
Error Shown
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2466 process_circuit_message:
Process circuit message IAM, CIC=6, state=0, reset_done=1
-- Recv IAM CIC=6 ANI=77142034884 DNI=6789 RNI= redirect=no/0
complete=1
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2644 process_iam: IAM CIC=6,
owner=0x00000000
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:1530 check_iam_sam: Unable to match
extension, context: ss7, dni: 6789, rni:
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:389 mtp_enqueue_isup_packet: Queue
packet CIC=6, len=13, linkset='work1', link='l3', slinkset='work1',
slink='l1'
ss7.conf File content
----------------------------------------
[linkset-work1]
enabled => yes
enable_st => no
use_connect => yes
hunting_policy => odd_lru
context => ss7
language => en
t35 => 15000,timeout
subservice => auto
[link-l1]
linkset => work1
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes
echocancel => no
echocan_train => 350
echocan_taps => 128
[host-work1.myplace.net]
enabled => yes
opc => 1234
dpc => work1:4567
links => l1:1
When I first tried to test my connectivity there was no definition of any
extension in extensions.conf except s at default below is my configuration
file and
output on CLI for your reference.
extentions.conf
------------------------------------------------
[general]
static=yes
writeprotect=no
[from-sip]
[ss7]
[default]
exten => h,1,Hangup
exten => s,1,AGI(extended_test.agi)
exten => s,n,NoOp,${CALLERID(all)}
exten => s,n,NoOp,${DNID}
exten => s,n,NoOp,${CHANNEL}
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Background(mywork/sound_01)
exten => hang,1,Hangup
[incoming]
------------------------------------------------
CLI Output
------------------------------------------------
RECIEVED CALLS WHEN DEFAULT EXTIONTIONS DEFINED
[Nov 19 16:57:04] DEBUG[26580]: l4isup.c:2466 process_circuit_message:
Process circuit message IAM, CIC=7, state=0, reset_done=1
-- Recv IAM CIC=7 ANI=77142034884 DNI=6789 RNI= redirect=no/0
complete=1
[Nov 19 16:57:04] DEBUG[26580]: l4isup.c:2644 process_iam: IAM CIC=7,
owner=0x00000000
[Nov 19 16:57:04] DEBUG[26580]: l4isup.c:1522 check_iam_sam: Setting
iam.dni.complete
-- Executing [s at default:1] AGI("**Unknown**", "extended_test.agi") in
new stack
-- Executing [s at default:2] NoOp("**Unknown**", "77142034884") in new
stack
-- Executing [s at default:3] NoOp("**Unknown**", "unknown") in new stack
-- Executing [s at default:4] NoOp("**Unknown**", "**Unknown**") in new
stack
-- Executing [s at default:34] Answer("**Unknown**", "") in new stack
[Nov 19 16:57:04] DEBUG[26712]: l4isup.c:1973 ss7_answer: SS7 answer CIC=7,
pvt->state=1.
[Nov 19 16:57:04] DEBUG[26712]: l4isup.c:389 mtp_enqueue_isup_packet: Queue
packet CIC=7, len=10, linkset='work1', link='l3', slinkset='work1',
slink='l1'
-- Executing [s at default:35] Wait("**Unknown**", "1") in new stack
[Nov 19 16:57:04] DEBUG[26580]: mtp.c:1867 mtp_thread_main: Queue MSU,
lsi=0, last_send_ix=0, linkset=work1, m->link=l1
[Nov 19 16:57:04] DEBUG[26580]: mtp.c:1575 mtp2_fill_zaptel_buf: Sending
buffer to zaptel len=14, on link 'l1' bsn=102, fsn=124.
-- Executing [s at default:36] Set("**Unknown**", "TIMEOUT(digit)=3") in
new stack
-- Digit timeout set to 3
-- Executing [s at default:37] Set("**Unknown**", "TIMEOUT(response)=10")
in new stack
-- Response timeout set to 10
-- Executing [s at default:38] BackGround("**Unknown**", "
mywork/sound_01") in new stack
[Nov 19 16:57:05] DEBUG[26712]: channel.c:1908 ast_settimeout: Scheduling
timer at 160 sample intervals
-- Playing ' mywork/sound_01' (language 'en')
When I removed the s at default in extension.conf with only the context
definition
It generates the below output on CLI
extentions.conf
------------------------------------------------
[general]
static=yes
writeprotect=no
[from-sip]
[ss7]
[default]
[incoming]
------------------------------------------------
Output on CLI
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2466 process_circuit_message:
Process circuit message IAM, CIC=6, state=0, reset_done=1
-- Recv IAM CIC=6 ANI=77142034884 DNI=6789 RNI= redirect=no/0
complete=1
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2644 process_iam: IAM CIC=6,
owner=0x00000000
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:1530 check_iam_sam: Unable to match
extension, context: ss7, dni: 6789, rni:
[Nov 19 16:15:07] DEBUG[26580]: l4isup.c:389 mtp_enqueue_isup_packet: Queue
packet CIC=6, len=13, linkset='work1', link='l3', slinkset='work1',
slink='l1'
When I defined an extension for the dialing code 6789 in SS7 context. It
gave the below output on CLI
extentions.conf
------------------------------------------------
[general]
static=yes
writeprotect=no
[from-sip]
[ss7]
exten => 6789,1,Goto(my-extension,s,1)
[default]
[incoming]
------------------------------------------------
Error Shown
[Nov 19 16:52:28] DEBUG[26580]: l4isup.c:1522 check_iam_sam: Setting
iam.dni.complete
== Starting **Unknown** at default,s,1 failed so falling back to exten 's'
== Starting **Unknown** at default,s,1 still failed so falling back to
context 'default'
[Nov 19 16:52:28] WARNING[26701]: pbx.c:2405 __ast_pbx_run: Channel
'**Unknown**' sent into invalid extension 's' in context 'default', but no
invalid
handler
[Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621
pbx_substitute_variables_helper_full: Function result is '77142034884'
[Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621
pbx_substitute_variables_helper_full: Function result is 's'
[Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621
pbx_substitute_variables_helper_full: Function result is 'default'
[Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621
pbx_substitute_variables_helper_full: Function result is '**Unknown**'
-- SS7 hangup '**Unknown**' CIC=7 Cause=0 (state=1)
[Nov 19 16:52:28] DEBUG[26701]: l4isup.c:1916 ss7_hangup: SS7 hangup
'**Unknown**' CIC=7 (state=1), chan=0x083e9500
[Nov 19 16:52:28] DEBUG[26701]: l4isup.c:1947 ss7_hangup: SS7 hangup
'**Unknown**' CIC=7 cause=0
[Nov 19 16:52:28] DEBUG[26701]: l4isup.c:389 mtp_enqueue_isup_packet: Queue
packet CIC=7, len=13, linkset='work1', link='l3', slinkset='work1',
slink='l1'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20081120/8448d02a/attachment.htm
More information about the asterisk-ss7
mailing list