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

Philipp Kempgen philipp.kempgen at amooma.de
Sat Apr 7 05:12:17 MST 2007


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


More information about the asterisk-users mailing list