<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Chris,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>for me these lines worked:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>[globals]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>OUTBOUNDTRUNK => Capi/contr1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>[incoming]<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>exten => _0X.,1,Set(oMSN=<myMSN>:)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>exten => _0X.,n,Dial(${OUTBOUNDTRUNK}/${oMSN}${EXTEN:1})<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Best Regards<br>
Harald<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
chan-capi-users-bounces@lists.melware.net
[mailto:chan-capi-users-bounces@lists.melware.net] <b>Im Auftrag von </b>Christoph
J. WALTHER<br>
<b>Gesendet:</b> Mittwoch, 30. Juli 2008 15:31<br>
<b>An:</b> chan-capi users<br>
<b>Betreff:</b> Re: [chan-capi-users] unable to set outgoing MSN<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi <br>
<br>
...a few month after my initial query, I finally found the time to look into
this problem again, but could not solve it (still the main MSN and not the one
I want to set is used by the carrier network). So here I am again seeking for
help.<br>
<br>
What I did:<br>
<br>
1. In capi.conf:<br>
<br>
commented out these two entries (per: <a
href="http://threebit.net/mail-archive/asterisk-users/msg15333.html">http://threebit.net/mail-archive/asterisk-users/msg15333.html</a>)<br>
<br>
[general]
<br>
<br>
;nationalprefix=0
<br>
;internationalprefix=00
<br>
<br>
<br>
2. In extensions.conf:<br>
<br>
The CALLERTON variable was set to these values: 1,2,3,4,6,16,32<br>
<br>
; ISDN
out
<br>
<br>
exten =>
_0X.,1,SetCallerPres(allowed)
<br>
exten =>
_0X.,n,Set(CALLERTON=8)
<br>
exten => _0X.,n,log(NOTICE,CALLERTON= ${CALLERTON})
<br>
exten =>
_0X.,n,Set(CALLERID(number)=987654321)
<br>
exten =>
_0X.,n,Dial(CAPI/ISDN1/${EXTEN}/d,30)
<br>
exten =>
_0X.,n,Hangup()
<br>
<br>
I am glad for all information which allow to solve this problem (and of course
can provide additional debug/config information). And for the moment I have
these questions:<br>
<br>
- What other values for CALLERTON should I try out?<br>
<br>
- Are any other statements needed (or should be omitted) in
extensions.conf and/or does the order of appearance matter?<br>
<br>
- Does it matter from which channel (SIP/misdn) the outgoing call is
originated? With misdn (which I use to connect DECT handsets) I see TON-like
configuration entry which could be signalled along...<br>
<br>
Best regards & TIA<br>
<br>
ChrisW<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal>On Mon, Jan 14, 2008 at 2:34 PM, Armin Schindler <<a
href="mailto:armin@melware.de">armin@melware.de</a>> wrote:<o:p></o:p></p>
<div>
<p class=MsoNormal>On Tue, 8 Jan 2008, Christoph J. WALTHER wrote:<br>
> On Jan 7, 2008 12:25 PM, Armin Schindler <<a
href="mailto:armin@melware.de">armin@melware.de</a>> wrote:<br>
><br>
>>> exten => _9X.,n,Set(CALLERID(number)=9876543)<br>
>>> exten => _9X.,n,Dial(CAPI/ISDN1/${EXTEN:1}/bd,30)<br>
>>> exten => _9X.,n,Dial(CAPI/ISDN1/9876543:${EXTEN:1}/b,30)<br>
>>> exten =>
_9X.,n,Dial(CAPI/ISDN1/9876543:${EXTEN:1},30)<br>
>>><br>
>>> does not work.<o:p></o:p></p>
</div>
<p class=MsoNormal>...<o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>>>> In all these
attempts I see in the capi trace that<br>
>>><br>
>>> CallingPartyNumber
= <10 83>9876543<br>
>><br>
>> Hmm, 0x10 as type-of-number looks odd to me. Maybe the switch<br>
>> is rejecting this type.<br>
>><br>
><br>
> ok. glad to see that there is something raising suspicion :-) Any<br>
> suggestions on how to trace this further?<o:p></o:p></p>
</div>
<p class=MsoNormal>I cannot tell where this setting is coming from. The calling
channel is<br>
normaly setting it. But you can change that by setting variable<br>
CALLERTON=<br>
to another value.<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><br>
Armin<br>
<br>
_______________________________________________<br>
Chan-capi-users mailing list<br>
<a href="mailto:Chan-capi-users@lists.melware.net">Chan-capi-users@lists.melware.net</a><br>
<a href="http://lists.melware.net/mailman/listinfo/chan-capi-users"
target="_blank">http://lists.melware.net/mailman/listinfo/chan-capi-users</a><o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Chris J. WALTHER<br>
Switzerland, 3052 Zollikofen, Waldheimweg 5<br>
+41 31 911 88 28<br>
<a href="mailto:cjwalther@gmail.com">cjwalther@gmail.com</a><o:p></o:p></p>
</div>
</div>
</body>
</html>