[asterisk-users] Different devices for asterisk!!!

Rizwan Hisham rizwanhasham at gmail.com
Sat Apr 7 05:50:39 MST 2007


Thanx a lot.......it does it......i was in need of it very badly

On 4/7/07, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
>
> Rizwan Hisham wrote:
>
> > Im trying dial a user according to the device s/he uses. i mean if the
> user
> > is using asterisk as a peer, then i have to pass the extension in the
> dial
> > application like this:
> > Dial(SIP/${EXTEN}@user) ;so that s/he can perform routing according to
> the
> > DNID.
> >
> > and if the user is using sipura, linksys or grandstream i dial the user
> like
> > this,
> > Dial(SIP/user)
> >
> > so is there a way to know what kind of device user has used to register
> with
> > my asterisk server?
>
> Have a look at these functions (core show function ...):
> SIPPEER(useragent), SIPCHANINFO(useragent), SIP_HEADER(User-Agent)
>
> Regards,
>   Philipp
>
> --
> amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
>      Let's use IT to solve problems and not to create new ones.
>            Asterisk? -> http://www.das-asterisk-buch.de
>
> Geschäftsführer: Stefan Wintermeyer
> Handelsregister: Neuwied B 14998
> _______________________________________________
> --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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070407/ce872e36/attachment.htm


More information about the asterisk-users mailing list