<div> </div>
<div>Dears</div>
<div> </div>
<div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial">Thank you very much Anders for your prompt response I have tried the suggested on and got the following output below but the problem is still the same. See below the CLI out put and configuration for your reference.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial">One thing that I would like to ask you, is their any mean where I can get the value of DNI? Or anything where I can store the value of DNI?</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial">As far as I know we got the value on DNID in PRI where we can distinguish between the calls but in ISUP the information I can see on CLI is DNI value.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial"> </span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial">See below the suggested with respective CLI output.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">When I defined an extension for the dialing code 6789 in SS7 context. It gave the below output on CLI <br> <br></span><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: Arial">ss7.conf File content<br>
----------------------------------------<br>[linkset-work1]<br>enabled => yes<br>enable_st => no<br>use_connect => yes<br>hunting_policy => odd_lru<br>context => ss7<br>language => en<br>t35 => 15000,timeout<br>
subservice => auto<br> <br>[link-l1]<br>linkset => work1<br>channels => 1-15,17-31<br>schannel => 16<br>firstcic => 1<br>enabled => yes<br>echocancel => no<br>echocan_train => 350<br>echocan_taps => 128<br>
<br>[<a href="http://host-work1.myplace.net/" target="_blank">host-work1.myplace.net</a>]<br>enabled => yes<br>opc => 1234<br>dpc => work1:4567<br>links => l1:1<span style="COLOR: blue"></span></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial"></span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">extentions.conf<br>------------------------------------------------<br>[general] </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">static=yes </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">writeprotect=no </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">[globals] </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">VOICE_TYPE=voice_kal_diphone </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">[ss7] </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">exten => 6789,1,Goto(my-extension,s,1)</span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">exten => hang,1,Hangup</span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">------------------------------------------------<br> <br>Error Shown<br> <br><span style="BACKGROUND: yellow; mso-highlight: yellow">[Nov 20 23:52:28] DEBUG[26580]: l4isup.c:1522 check_iam_sam: Setting iam.dni.complete<br>
== Starting **Unknown** at default,s,1 failed so falling back to exten 's'<br> == Starting **Unknown** at default,s,1 still failed so falling back to context 'default'</span><br>[Nov 20 23:52:28] WARNING[26701]: pbx.c:2405 __ast_pbx_run: Channel '**Unknown**' sent into invalid extension 's' in context 'default', but no invalid </span></p>
<p><span style="FONT-SIZE: 9.5pt; COLOR: blue; FONT-FAMILY: Arial">handler<br>[Nov 20 23:52:28] DEBUG[26701]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '77142034884'<br>[Nov 20 23:52:28] DEBUG[26701]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 's'<br>
[Nov 20 23:52:28] DEBUG[26701]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is 'default'<br>[Nov 20 23:52:28] DEBUG[26701]: pbx.c:1621 pbx_substitute_variables_helper_full: Function result is '**Unknown**'<br>
-- SS7 hangup '**Unknown**' CIC=7 Cause=0 (state=1)<br>[Nov 20 23:52:28] DEBUG[26701]: l4isup.c:1916 ss7_hangup: SS7 hangup '**Unknown**' CIC=7 (state=1), chan=0x083e9500<br>[Nov 20 23:52:28] DEBUG[26701]: l4isup.c:1947 ss7_hangup: SS7 hangup '**Unknown**' CIC=7 cause=0<br>
[Nov 20 23:52:28] DEBUG[26701]: l4isup.c:389 mtp_enqueue_isup_packet: Queue packet CIC=7, len=13, linkset='work1', link='l1', slinkset='work1', slink='l1'</span></p></div>
<div>BR,</div>
<div>Yahya<br> </div>
<div><span class="gmail_quote">On 11/20/08, <b class="gmail_sendername">Anders Baekgaard</b> <<a href="mailto:ab@dicea.dk">ab@dicea.dk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">chan_ss7 uses the dial plan to decide if an incoming call number is complete,<br>or if it has to wait for further address messages (SAM) before accepting the<br>
call.<br><br>In your setup, chan_ss7 tries to match the incoming call number (dni) against<br>the dial plan in context "ss7" (you have specified context=ss7 in ss7.conf).<br>But the dial plan context "ss7" is empty in your extensions.conf. I suggest<br>
you put the dial plan logic in that context, or change the ss7.conf to have<br>context = default.<br><br>Best regards,<br>--<br>Anders Baekgaard<br>Managing Director, Dicea ApS<br>Esromgade 15, 1110<br>DK-2200 Copenhagen N<br>
Denmark<br>Tel: +45 46931411<br>Fax: +45 46931466<br>Mobile: +45 20771844<br><br>On Thursday 20 November 2008 09:56:21 Yahya wrote:<br>> Dear<br>> mates,<br>><br>> I need your support in the below mentioned problem that I experienced and<br>
> still not resolved in ISUP connectivity with ZONG. Please advice if you<br>> have any<br>><br>> remedy or clue.<br>><br>> I have successfully established SS7 links with the Telco and they are<br>> working fine. I have tested an outgoing call and an incoming call as well.<br>
> The problem<br>><br>> arises when I tried to define extension in it.<br>><br>> At first I just add one dialing code as 6789 and successfully received a<br>> call over it on default extension. When I add another dialing code and<br>
> define<br>><br>> extension for it gave an error as<br>><br>><br>> Error Shown<br>><br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2466 process_circuit_message:<br>> Process circuit message IAM, CIC=6, state=0, reset_done=1<br>
> -- Recv IAM CIC=6 ANI=77142034884 DNI=6789 RNI= redirect=no/0<br>> complete=1<br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2644 process_iam: IAM CIC=6,<br>> owner=0x00000000<br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:1530 check_iam_sam: Unable to<br>
> match extension, context: ss7, dni: 6789, rni:<br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:389 mtp_enqueue_isup_packet: Queue<br>> packet CIC=6, len=13, linkset='work1', link='l3', slinkset='work1',<br>
> slink='l1'<br>><br>> ss7.conf File content<br>> ----------------------------------------<br>> [linkset-work1]<br>> enabled => yes<br>> enable_st => no<br>> use_connect => yes<br>
> hunting_policy => odd_lru<br>> context => ss7<br>> language => en<br>> t35 => 15000,timeout<br>> subservice => auto<br>><br>> [link-l1]<br>> linkset => work1<br>> channels => 1-15,17-31<br>
> schannel => 16<br>> firstcic => 1<br>> enabled => yes<br>> echocancel => no<br>> echocan_train => 350<br>> echocan_taps => 128<br>><br>> [<a href="http://host-work1.myplace.net">host-work1.myplace.net</a>]<br>
> enabled => yes<br>> opc => 1234<br>> dpc => work1:4567<br>> links => l1:1<br>><br>><br>> When I first tried to test my connectivity there was no definition of any<br>> extension in extensions.conf except s@default below is my configuration<br>
> file and<br>><br>> output on CLI for your reference.<br>><br>><br>> extentions.conf<br>> ------------------------------------------------<br>> [general]<br>> static=yes<br>> writeprotect=no<br>
><br>> [from-sip]<br>><br>> [ss7]<br>><br>> [default]<br>><br>> exten => h,1,Hangup<br>><br>><br>> exten => s,1,AGI(extended_test.agi)<br>><br>> exten => s,n,NoOp,${CALLERID(all)}<br>
> exten => s,n,NoOp,${DNID}<br>> exten => s,n,NoOp,${CHANNEL}<br>><br>> exten => s,n,Answer<br>> exten => s,n,Wait(1)<br>> exten => s,n(begin),Set(TIMEOUT(digit)=3)<br>> exten => s,n,Set(TIMEOUT(response)=10)<br>
> exten => s,n,Background(mywork/sound_01)<br>> exten => hang,1,Hangup<br>><br>> [incoming]<br>><br>> ------------------------------------------------<br>><br>> CLI Output<br>> ------------------------------------------------<br>
><br>> RECIEVED CALLS WHEN DEFAULT EXTIONTIONS DEFINED<br>> [Nov 19 16:57:04] DEBUG[26580]: l4isup.c:2466 process_circuit_message:<br>> Process circuit message IAM, CIC=7, state=0, reset_done=1<br>> -- Recv IAM CIC=7 ANI=77142034884 DNI=6789 RNI= redirect=no/0<br>
> complete=1<br>> [Nov 19 16:57:04] DEBUG[26580]: l4isup.c:2644 process_iam: IAM CIC=7,<br>> owner=0x00000000<br>> [Nov 19 16:57:04] DEBUG[26580]: l4isup.c:1522 check_iam_sam: Setting<br>> iam.dni.complete<br>
> -- Executing [s@default:1] AGI("**Unknown**", "extended_test.agi") in<br>> new stack<br>><br>> -- Executing [s@default:2] NoOp("**Unknown**", "77142034884") in new<br>
> stack<br>> -- Executing [s@default:3] NoOp("**Unknown**", "unknown") in new stack<br>> -- Executing [s@default:4] NoOp("**Unknown**", "**Unknown**") in new<br>> stack<br>
><br>> -- Executing [s@default:34] Answer("**Unknown**", "") in new stack<br>> [Nov 19 16:57:04] DEBUG[26712]: l4isup.c:1973 ss7_answer: SS7 answer CIC=7,<br>> pvt->state=1.<br>> [Nov 19 16:57:04] DEBUG[26712]: l4isup.c:389 mtp_enqueue_isup_packet: Queue<br>
> packet CIC=7, len=10, linkset='work1', link='l3', slinkset='work1',<br>> slink='l1'<br>> -- Executing [s@default:35] Wait("**Unknown**", "1") in new stack<br>
> [Nov 19 16:57:04] DEBUG[26580]: mtp.c:1867 mtp_thread_main: Queue MSU,<br>> lsi=0, last_send_ix=0, linkset=work1, m->link=l1<br>> [Nov 19 16:57:04] DEBUG[26580]: mtp.c:1575 mtp2_fill_zaptel_buf: Sending<br>> buffer to zaptel len=14, on link 'l1' bsn=102, fsn=124.<br>
> -- Executing [s@default:36] Set("**Unknown**", "TIMEOUT(digit)=3") in<br>> new stack<br>> -- Digit timeout set to 3<br>> -- Executing [s@default:37] Set("**Unknown**", "TIMEOUT(response)=10")<br>
> in new stack<br>> -- Response timeout set to 10<br>> -- Executing [s@default:38] BackGround("**Unknown**", "<br>> mywork/sound_01") in new stack<br>> [Nov 19 16:57:05] DEBUG[26712]: channel.c:1908 ast_settimeout: Scheduling<br>
> timer at 160 sample intervals<br>> -- Playing ' mywork/sound_01' (language 'en')<br>><br>><br>> When I removed the s@default in extension.conf with only the context<br>> definition<br>
><br>> It generates the below output on CLI<br>><br>> extentions.conf<br>> ------------------------------------------------<br>> [general]<br>> static=yes<br>> writeprotect=no<br>><br>> [from-sip]<br>
><br>> [ss7]<br>><br>> [default]<br>><br>> [incoming]<br>> ------------------------------------------------<br>><br>> Output on CLI<br>><br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2466 process_circuit_message:<br>
> Process circuit message IAM, CIC=6, state=0, reset_done=1<br>> -- Recv IAM CIC=6 ANI=77142034884 DNI=6789 RNI= redirect=no/0<br>> complete=1<br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:2644 process_iam: IAM CIC=6,<br>
> owner=0x00000000<br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:1530 check_iam_sam: Unable to<br>> match extension, context: ss7, dni: 6789, rni:<br>> [Nov 19 16:15:07] DEBUG[26580]: l4isup.c:389 mtp_enqueue_isup_packet: Queue<br>
> packet CIC=6, len=13, linkset='work1', link='l3', slinkset='work1',<br>> slink='l1'<br>><br>><br>> When I defined an extension for the dialing code 6789 in SS7 context. It<br>
> gave the below output on CLI<br>><br>> extentions.conf<br>> ------------------------------------------------<br>> [general]<br>> static=yes<br>> writeprotect=no<br>><br>> [from-sip]<br>><br>
> [ss7]<br>> exten => 6789,1,Goto(my-extension,s,1)<br>><br>> [default]<br>><br>> [incoming]<br>><br>> ------------------------------------------------<br>><br>> Error Shown<br>><br>> [Nov 19 16:52:28] DEBUG[26580]: l4isup.c:1522 check_iam_sam: Setting<br>
> iam.dni.complete<br>> == Starting **Unknown** at default,s,1 failed so falling back to exten<br>> 's' == Starting **Unknown** at default,s,1 still failed so falling back to<br>> context 'default'<br>
> [Nov 19 16:52:28] WARNING[26701]: pbx.c:2405 __ast_pbx_run: Channel<br>> '**Unknown**' sent into invalid extension 's' in context 'default', but no<br>> invalid<br>><br>> handler<br>
> [Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621<br>> pbx_substitute_variables_helper_full: Function result is '77142034884'<br>> [Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621<br>> pbx_substitute_variables_helper_full: Function result is 's'<br>
> [Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621<br>> pbx_substitute_variables_helper_full: Function result is 'default'<br>> [Nov 19 16:52:28] DEBUG[26701]: pbx.c:1621<br>> pbx_substitute_variables_helper_full: Function result is '**Unknown**'<br>
> -- SS7 hangup '**Unknown**' CIC=7 Cause=0 (state=1)<br>> [Nov 19 16:52:28] DEBUG[26701]: l4isup.c:1916 ss7_hangup: SS7 hangup<br>> '**Unknown**' CIC=7 (state=1), chan=0x083e9500<br>> [Nov 19 16:52:28] DEBUG[26701]: l4isup.c:1947 ss7_hangup: SS7 hangup<br>
> '**Unknown**' CIC=7 cause=0<br>> [Nov 19 16:52:28] DEBUG[26701]: l4isup.c:389 mtp_enqueue_isup_packet: Queue<br>> packet CIC=7, len=13, linkset='work1', link='l3', slinkset='work1',<br>
> slink='l1'<br><br></blockquote></div><br>