[asterisk-users] sip_header=value?

Rizwan Hisham rizwanhasham at gmail.com
Mon Apr 9 08:48:36 MST 2007


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/${DNID}@abc,,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 <rizwanhasham at gmail.com> wrote:
>
> I dont understand it
>
> Set(__SIPADDHEADER=Call-Info:\;answer-after=0);
>
> whats it doing here?
>
>
> On 4/9/07, Karl J. Vesterling < kjv at ken-ton.com> 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 <hermann at wecke.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070409/1eb70e42/attachment.htm


More information about the asterisk-users mailing list