<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
it seems, that the caller hangs up immediatly after calling. Try to
reproduce it by yourself. Dial the number (to reach your asterisk
server) and hangup after ~ 0.5 sec (or whatever).<br>
<br>
Best regards,<br>
-Thorsten-<br>
<br>
<div class="moz-cite-prefix">Am 30.04.2014 01:11, schrieb Bryce
Lowe:<br>
</div>
<blockquote
cite="mid:CAPQijgR+pPxpUdzEKE9tUSp==R71eEUF1vbNYM=Ceh=N3A-j2Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am trying to diagnose an intermittent
error when a call
comes in over our PRI lines.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The problem appears random, however I have
feeling it
has something to do with the call volume, as the frequency
increases with more
calls on the system.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am not an expert when it comes to reading
the PRI Span
Debug statements but here is a call that had a problem and I
bolded,
italicized, and underlined the part of the debug statement
that looks odd
(listed under PRI Debug Output (failed call)).</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Any help is appreciated.</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Bryce</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>Version(s):</b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal">Asterisk 11.8.1, installed from the Digium
YUM Repositories</p>
<p class="MsoNormal">DAHDI Version: 2.9.0</p>
<p class="MsoNormal">Digium Card: Wildcard TE235 (VPMOCT064)</p>
<p class="MsoNormal">OS: CentOS 6.5</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>My Observations:</b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal">When I have the problem, the only way I see
that Asterisk
received a signal on my PRI lines was through the pri debug
statements, I don’t
see anything being hit in the dialplan (for instance the NoOp
at the start of
my sub-dial-cudatel-extension sub context). Is there another
tool I
should be using to debug this issue?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>PRI Debug Output (failed call):</b></p>
<p class="MsoNormal"><b> </b></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Protocol
Discriminator: Q.931 (8) len=73</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
TEI=0 Call Ref:
len= 2 (reference 23832/0x5D18) (Sent from originator)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Message Type:
SETUP (5)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[04 03 80 90 a2]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Bearer Capability
(len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability:
Speech
(0)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
User information layer 1: u-Law (34)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[18 03 a1 83 81]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Channel ID (len=
5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0
Preferred Dchan: 0</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
ChanSel: As indicated in following octets</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Coding: 0 Number Specified Channel Type: 3</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Channel: 1 Type: CPE]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[1c 1d 9f 8b 01 00
a1 17 02 01 01 02 01 00 80 0f 4f 4d 41 58 20 43 4f 52 50 20 4e
20 47 53 4d]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Facility (len=31,
codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01,
0x01, 0x02, 0x01,
0x00, 0x80, 0x0F, '<source_caller_name>' ]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[6c 0c 21 83 32 35
33 33 38 30 35 35 39 31]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Calling Party
Number (len=14) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Presentation: Presentation allowed, Network provided (3)
'<calling_caller_id>' ]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[70 0b a1 32 35 33
38 37 32 32 33 30 30]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Called Party
Number (len=13) [ Ext: 1 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
'<dest_number>' ]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Making new call for
cref 23832</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Received message for
call 0x7f7a900012f0 on link 0x1a3cf70 TEI/SAPI 0/0</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing Q.931
Call Setup</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 4
(cs0, Bearer Capability)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 24
(cs0, Channel ID)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 28
(cs0, Facility)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 108
(cs0, Calling Party Number)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 112
(cs0, Called Party Number)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Delayed processing
IE 28 (cs0, Facility)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 ASN.1
dump</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Context
Specific [11 0x0B] <8B> Len:1 <01></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<00> - "~"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Context
Specific/C [1 0x01] <A1> Len:23 <17></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Integer(2 0x02) <02> Len:1 <01></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span:
1 <01> - "~"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Integer(2 0x02) <02> Len:1 <01></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span:
1 <00> - "~"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Context Specific [0 0x00] <80> Len:15 <0F></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span:
1 <4F 4D 41 58 20 43 4F 52-50 20 4E 20
47 53 4D> - "<source_caller_name>"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 ASN.1
end</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
interpretation
Context Specific [11 0x0B] = 0 0x0000</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
INVOKE Component
Context Specific/C [1 0x01]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
invokeId
Integer(2 0x02) = 1 0x0001</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
operationValue Integer(2 0x02) = 0 0x0000</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
operationValue = ROSE_QSIG_CallingName</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
callingName
Name</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
namePresentationAllowedSimple Context Specific [0 0x00] =</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<4F 4D 41 58 20 43 4F 52-50 20 4E 20 47 53 4D> -
"<source_caller_name>"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
q931.c:8646
post_handle_q931_message: Call 23832 enters state 6 (Call
Present). Hold
state: Idle</p>
<p class="MsoNormal" style="margin-left:0.5in">Span 1:
Processing event
PRI_EVENT_RING(5)</p>
<p class="MsoNormal" style="margin-left:0.5in"><b><i><u>PRI
Span: 1 q931.c:7135
q931_hangup: Hangup other cref:23832</u></i></b></p>
<p class="MsoNormal" style="margin-left:0.5in"><b><i><u>PRI
Span: 1 q931.c:6892
__q931_hangup: ourstate Call Present, peerstate Call
Initiated, hold-state Idle</u></i></b></p>
<p class="MsoNormal" style="margin-left:0.5in"><b><i><u>PRI
Span: 1 q931.c:6081
q931_disconnect: Call 23832 enters state 11 (Disconnect
Request). Hold
state: Idle</u></i></b></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Protocol
Discriminator: Q.931 (8) len=73</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
TEI=0 Call Ref:
len= 2 (reference 23832/0x5D18) (Sent from originator)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Message Type:
SETUP (5)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[04 03 80 90 a2]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Bearer Capability
(len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability:
Speech
(0)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
User
information layer 1: u-Law (34)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[18 03 a1 83 81]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Channel ID (len=
5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0
Preferred Dchan: 0</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
ChanSel: As indicated in following octets</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Coding: 0 Number Specified Channel Type: 3</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Channel: 1 Type: CPE]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[1c 1d 9f 8b 01 00
a1 17 02 01 01 02 01 00 80 0f 4f 4d 41 58 20 43 4f 52 50 20 4e
20 47 53 4d]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Facility (len=31,
codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01,
0x01, 0x02, 0x01,
0x00, 0x80, 0x0F, '<source_caller_name>' ]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[6c 0c 21 83 32 35
33 33 38 30 35 35 39 31]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Calling Party
Number (len=14) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Presentation: Presentation allowed, Network provided (3)
'<calling_caller_id>'
]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[70 0b a1 32 35 33
38 37 32 32 33 30 30]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Called Party
Number (len=13) [ Ext: 1 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
'<dest_number>' ]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Received message for
call 0x7f7a900012f0 on link 0x1a3cf70 TEI/SAPI 0/0</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing Q.931
Call Setup</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 4
(cs0, Bearer Capability)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 24
(cs0, Channel ID)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 28
(cs0, Facility)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 108
(cs0, Calling Party Number)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 112
(cs0, Called Party Number)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Delayed processing
IE 28 (cs0, Facility)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 ASN.1
dump</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Context
Specific [11 0x0B] <8B> Len:1 <01></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<00> - "~"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Context
Specific/C [1 0x01] <A1> Len:23 <17></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Integer(2 0x02) <02> Len:1 <01></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span:
1 <01> - "~"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Integer(2 0x02) <02> Len:1 <01></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span:
1 <00> - "~"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Context Specific [0 0x00] <80> Len:15 <0F></p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span:
1 <4F 4D 41 58 20 43 4F 52-50 20 4E 20
47 53 4D> - "<source_caller_name>"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 ASN.1
end</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
interpretation Context Specific [11 0x0B] = 0 0x0000</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
INVOKE Component
Context Specific/C [1 0x01]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
invokeId
Integer(2 0x02) = 1 0x0001</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
operationValue Integer(2 0x02) = 0 0x0000</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
operationValue = ROSE_QSIG_CallingName</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
callingName
Name</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
namePresentationAllowedSimple Context Specific [0 0x00] =</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<4F 4D 41 58 20 43 4F 52-50 20 4E 20 47 53 4D> -
"<source_caller_name>"</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Protocol
Discriminator: Q.931 (8) len=9</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
TEI=0 Call Ref:
len= 2 (reference 23832/0x5D18) (Sent from originator)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Message Type:
RELEASE COMPLETE (90)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
[08 02 82 92]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 <
Cause (len= 4) [
Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location:
Public network serving the local user (2)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
<
Ext: 1 Cause: No user responding (18), class = Normal Event
(1) ]</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Received message for
call 0x7f7a900012f0 on link 0x1a3cf70 TEI/SAPI 0/0</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1 --
Processing IE 8
(cs0, Cause)</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
q931.c:8944 post_handle_q931_message:
Call 23832 enters state 0 (Null). Hold state: Idle</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
q931.c:7135
q931_hangup: Hangup other cref:23832</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
q931.c:6892
__q931_hangup: ourstate Null, peerstate Null, hold-state Idle</p>
<p class="MsoNormal" style="margin-left:0.5in">PRI Span: 1
Destroying call 0x7f7a900012f0,
ourstate Null, peerstate Null, hold-state Idle</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>Below is my dahdi-channels.conf:</b></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-left:0.5in">; Span 1:
WCTE2/0/1 "WCTE23X
(PCI) Card 0 Span 1" (MASTER)</p>
<p class="MsoNormal" style="margin-left:0.5in">group=0,11</p>
<p class="MsoNormal" style="margin-left:0.5in">context=from-pstn</p>
<p class="MsoNormal" style="margin-left:0.5in">switchtype =
national</p>
<p class="MsoNormal" style="margin-left:0.5in">signalling =
pri_cpe</p>
<p class="MsoNormal" style="margin-left:0.5in">channel =>
1-23</p>
<p class="MsoNormal" style="margin-left:0.5in">context = default</p>
<p class="MsoNormal" style="margin-left:0.5in">group = 63</p>
<p class="MsoNormal" style="margin-left:0.5in"> </p>
<p class="MsoNormal" style="margin-left:0.5in">; Span 2:
WCTE2/0/2 "WCTE23X
(PCI) Card 0 Span 2"</p>
<p class="MsoNormal" style="margin-left:0.5in">group=0,12</p>
<p class="MsoNormal" style="margin-left:0.5in">context=from-pstn</p>
<p class="MsoNormal" style="margin-left:0.5in">switchtype =
national</p>
<p class="MsoNormal" style="margin-left:0.5in">signalling =
pri_cpe</p>
<p class="MsoNormal" style="margin-left:0.5in">channel =>
25-47</p>
<p class="MsoNormal" style="margin-left:0.5in">context = default</p>
<p class="MsoNormal" style="margin-left:0.5in">group = 63</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>Below is my chan_dahdi.conf:</b></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-left:0.5in">; chan_dahdi.conf
Configuration
File</p>
<p class="MsoNormal" style="margin-left:0.5in">[trunkgroups]</p>
<p class="MsoNormal" style="margin-left:0.5in"> </p>
<p class="MsoNormal" style="margin-left:0.5in">[channels]</p>
<p class="MsoNormal" style="margin-left:0.5in"> </p>
<p class="MsoNormal" style="margin-left:0.5in">callerid=asreceived</p>
<p class="MsoNormal" style="margin-left:0.5in">usecallerid=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">hidecallerid=no</p>
<p class="MsoNormal" style="margin-left:0.5in">callwaiting=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">usecallingpres=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">callwaitingcallerid=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">threewaycalling=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">transfer=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">canpark=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">cancallforward=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">callreturn=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">echocancel=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">echocancelwhenbridged=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">relaxdtmf=yes</p>
<p class="MsoNormal" style="margin-left:0.5in">rxgain=0.0</p>
<p class="MsoNormal" style="margin-left:0.5in">txgain=0.0</p>
<p class="MsoNormal" style="margin-left:0.5in">group=1</p>
<p class="MsoNormal" style="margin-left:0.5in">callgroup=1</p>
<p class="MsoNormal" style="margin-left:0.5in">pickupgroup=1</p>
<p class="MsoNormal" style="margin-left:0.5in">immediate=no</p>
<p class="MsoNormal" style="margin-left:0.5in"> </p>
<p class="MsoNormal" style="margin-left:0.5in">#include
/etc/asterisk/dahdi-channels.conf</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b>Excerpt from extensions.conf (from-pstn
is the context
that calls come in on):</b></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-left:0.5in">; calls coming in
from the pstn</p>
<p class="MsoNormal" style="margin-left:0.5in">[from-pstn]</p>
<p class="MsoNormal" style="margin-left:0.5in">exten =>
_X.,1,GoSub(sub-dial-cudatel-extension,start,1(${EXTEN}))</p>
<p class="MsoNormal" style="margin-left:0.5in"> </p>
<p class="MsoNormal" style="margin-left:0.5in">; sends a call to
cudatel</p>
<p class="MsoNormal" style="margin-left:0.5in">[sub-dial-cudatel-extension]</p>
<p class="MsoNormal" style="margin-left:0.5in">exten =>
start,1,NoOp(Forwarding
Call for ${ARG1} from ${CALLERID(num)} to CudaTel)</p>
<p class="MsoNormal" style="margin-left:0.5in">
same => n,Answer()</p>
<p class="MsoNormal" style="margin-left:0.5in">
same => n,Set(DialedExten=${FILTER(0-9, ${ARG1})})</p>
<p class="MsoNormal" style="margin-left:0.5in">
same => n,Dial(${INTERNALSIP}/${DialedExten})</p>
<p class="MsoNormal" style="margin-left:0.5in">
same => n,HangUp()</p>
<p class="MsoNormal" style="margin-left:0.5in"><br>
</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
</body>
</html>