hi Tony,
Thanks for your reply
I tried with the same but it dont work for me and I used DAHDI channel and
PRI following are
mine chan_dahdi.conf setting
[channels]
language=en
context=from-pstn
switchtype=euroisdn
pridialplan=local
prilocaldialplan=local
callerid=asreceived
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
resetinterval=never
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
group=0
channel => 1-15
channel => 17-31
On Thu, May 14, 2009 at 6:40 PM, Tony Mountifield
<tony at softins.clara.co.uk>wrote:
> In article <cf554c8c0905140447n50c720eeg8b0d0728d00afb5f at
mail.gmail.com>,
> DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> wrote:
> >
> > how can I set/get variable "USERUSERINFO" when Dialing
through PRI(E1)
> > line via DAHDI Channel
>
> Just like a normal variable: Set(__USERUSERINFO=whatever) in the sending
> dialplan before the Dial command.
>
> Then on the receiving end, you can refer to ${USERUSERINFO} in the dialplan
> for the answered call.
>
> However, to make this work, you need to make sure chan_dahdi.c contains the
> following line when it is compiled:
>
> #define SUPPORT_USERUSER
>
> This is required on both ends of the call. It is a pity it has never become
> the default.
>
> Regards
> Tony
> --
> Tony Mountifield
> Work: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - http://tony.mountifield.org
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090515/cc384d7e/attachment.htm