[asterisk-dev] Asterisk UUI

davide picheo dpicheo at gmail.com
Tue Jun 1 08:25:39 CDT 2010


Thanks a lot Klaus!

a friend of mine tolds me that i need to modify chan_dahdi.c (replace #UNDEF
SUPPORTUSERTOUSER with #DEFINE SUPPORTUSERTOUSER) and recompile Asterisk in
order to manage USERUSERINFO, but he referred to a very old 1.4 version of
Asterisk: is it true also for latest Asterisk?

best regards

2010/6/1 Klaus Darilion <klaus.mailinglists at pernau.at>

> Hi Davide!
>
> 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 "tap" that just forwards
> everything and sniffs the data.
>
> option (A) should be possible - just configure Asterisk to accept the call
> on port 1 and dial out again via port 2.
>
> The received useruserinfo is put into the channel variable "USERUSERINFO".
> The same variable is used to set on the outgoing channel.
>
> Therefore I guess you need to use something like that in extensions.conf:
>
> [fromPort1]
> ; copy user-user info into a global variable so that the
> ; variable is also available on the outgoing channel
> exten => _X.,1,Set(_USERUSERINFO=${USERUSERINFO})
> ; trunk group 2 is allocated to ISDN port 2
> exten => _X.,n,Dial(DAHDI/g2/${EXTEN})
>
>
> regards
> Klaus
>
>
>
> Am 31.05.2010 19:17, schrieb davide picheo:
>
>> Hi All,
>>
>> I'm not so skilled in Asterisk/ISDN.
>>
>> I need to manage an OpenVoxB400E in a Linux/Asterisk environment in
>> order to:
>>
>> 1) intercept input traffic from an ISDN phone directly connected to one
>> NT cofigured port of B400E
>> 2) sniff some infos from D channel: expecially UUI (User to User
>> Information)
>> 3) forward the call to one output TE configured port of B400E (on demand
>> overlapping a tone or silencing B1/B2 channels)
>>
>> I need not to introduce echo and keep the D channel unaltered
>> (expecially UUI must pass from input to otuput ISDN port without any
>> modifications).
>>
>> /What kind of customization/patching/recompilation I need to operate?/
>>
>> /Thank you in advance!
>> /
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100601/1e8e57a8/attachment.htm 


More information about the asterisk-dev mailing list