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
<[email protected]>wrote:

> In article <[email protected]>,
> DHAVAL INDRODIYA <[email protected]> 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: [email protected] - http://www.softins.co.uk
> Play: [email protected] - 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
>
_______________________________________________
-- 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

Reply via email to