Guys, i have solved my problem thru different means, i only need to pass the
dnid when the user is using asterisk to regiter as a peer. so.......here is
my solution
exten=> 123,1,Gotoif($["${SIPPEER(abc:useragent)}" = "Asterisk PBX"]?20:30)
exten=> 123,20,Dial(SIP/[EMAIL PROTECTED],,Tt)
exten=> 123,21,hangup
exten=> 123,30,Dial(SIP/abc,,Tt)
exten=> 123,31,hangup
it works as i want it to work now
On 4/9/07, Rizwan Hisham <[EMAIL PROTECTED]> wrote:
I dont understand it
Set(__SIPADDHEADER=Call-Info:\;answer-after=0);
whats it doing here?
On 4/9/07, Karl J. Vesterling < [EMAIL PROTECTED]> wrote:
>
> I struggled with this one too, try this:
> Set(__SIPADDHEADER=Call-Info:\;answer-after=0);
>
> I use the above for intercom w/ Sipura SPA-941 and it works.
> Asterisk 1.2.17 / extensions.ael
>
>
>
> Rizwan Hisham wrote:
>
> I have tried it, it doesnt work
>
> On 4/9/07, Hermann Wecke <[EMAIL PROTECTED]> wrote:
> >
> > Rizwan Hisham wrote:
> > > is there anyway i can set SIP_HEADER(To) to the value i like?
> >
> > If voip-info is correct, you can read, but you can't change.
> > http://www.voip-info.org/wiki/index.php?page=Asterisk+func+sip_header
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
> --
> Regards
> Rizwan Hisham
> Software Engineer
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
>
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
--
Regards
Rizwan Hisham
Software Engineer
--
Regards
Rizwan Hisham
Software Engineer
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users