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/[EMAIL PROTECTED]) ;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