Thanks a lot Klaus!<div><br></div><div>a friend of mine tolds me that i need to modify <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">chan_dahdi.c </span>(replace <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">#UNDEF SUPPORTUSERTOUSER with </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">#DEFINE SUPPORTUSERTOUSER) and recompile Asterisk in order to manage USERUSERINFO, </span>but he referred to a very old 1.4 version of Asterisk<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">: is it true also for latest Asterisk?</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">best regards</span></div>
<div><br><div class="gmail_quote">2010/6/1 Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Davide!<br>
<br>
Probably there are several ways to implement that - e.g. (A) really terminating the call on one ISDN port and then create a new call on the other port (e.g. using Asterisk) or implement (B) a &quot;tap&quot; that just forwards everything and sniffs the data.<br>

<br>
option (A) should be possible - just configure Asterisk to accept the call on port 1 and dial out again via port 2.<br>
<br>
The received useruserinfo is put into the channel variable &quot;USERUSERINFO&quot;. The same variable is used to set on the outgoing channel.<br>
<br>
Therefore I guess you need to use something like that in extensions.conf:<br>
<br>
[fromPort1]<br>
; copy user-user info into a global variable so that the<br>
; variable is also available on the outgoing channel<br>
exten =&gt; _X.,1,Set(_USERUSERINFO=${USERUSERINFO})<br>
; trunk group 2 is allocated to ISDN port 2<br>
exten =&gt; _X.,n,Dial(DAHDI/g2/${EXTEN})<br>
<br>
<br>
regards<br>
Klaus<br>
<br>
<br>
<br>
Am 31.05.2010 19:17, schrieb davide picheo:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi All,<br>
<br>
I&#39;m not so skilled in Asterisk/ISDN.<br>
<br>
I need to manage an OpenVoxB400E in a Linux/Asterisk environment in<br>
order to:<br>
<br>
1) intercept input traffic from an ISDN phone directly connected to one<br>
NT cofigured port of B400E<br>
2) sniff some infos from D channel: expecially UUI (User to User<br>
Information)<br>
3) forward the call to one output TE configured port of B400E (on demand<br>
overlapping a tone or silencing B1/B2 channels)<br>
<br>
I need not to introduce echo and keep the D channel unaltered<br>
(expecially UUI must pass from input to otuput ISDN port without any<br>
modifications).<br>
<br>
/What kind of customization/patching/recompilation I need to operate?/<br>
<br>
/Thank you in advance!<br></div></div>
/<br>
<br>
</blockquote>
</blockquote></div><br></div>