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

Bruce Reeves breeves at nortex-networks.com
Sat Apr 7 04:48:06 MST 2007


If your device is connecting to asterisk as a peer or a friend, the the "sip
show peers <user>" will show a user agent field. For example I have a
linksys phone in my home office that connects as a friend and so if I type
"sip show peer 1000" <- the phones username. I get the following entry
"Useragent    : Linksys/SPA942-5.1.5" Which tells me brand, model and
firmware. This field stores the user agent string sent by the device, so
each manufacture and even device may give different information. Here is
another just to show some of the detail.  Useragent    : Aastra 480i
Cordless/1.3.0.1080 Brcm Callctrl/1.5 MxSF/v3.2.6.26



On 4/7/07, Rizwan Hisham <rizwanhasham at gmail.com> wrote:
>
> Hi all,
> 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?
>
> Thanx in advance
>
> --
> 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
>
>


-- 
Bruce Reeves
Nortex Networks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070407/caebd5bc/attachment.htm


More information about the asterisk-users mailing list