Thanx a lot.......it does it......i was in need of it very badly<br><br><div><span class="gmail_quote">On 4/7/07, <b class="gmail_sendername">Philipp Kempgen</b> <<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Rizwan Hisham wrote:<br><br>> Im trying dial a user according to the device s/he uses. i mean if the user
<br>> is using asterisk as a peer, then i have to pass the extension in the dial<br>> application like this:<br>> Dial(SIP/${EXTEN}@user) ;so that s/he can perform routing according to the<br>> DNID.<br>><br>
> and if the user is using sipura, linksys or grandstream i dial the user like<br>> this,<br>> Dial(SIP/user)<br>><br>> so is there a way to know what kind of device user has used to register with<br>> my asterisk server?
<br><br>Have a look at these functions (core show function ...):<br>SIPPEER(useragent), SIPCHANINFO(useragent), SIP_HEADER(User-Agent)<br><br>Regards,<br> Philipp<br><br>--<br>amooma GmbH - Bachstr. 126 - 56566 Neuwied -
<a href="http://www.amooma.de">http://www.amooma.de</a><br> Let's use IT to solve problems and not to create new ones.<br> Asterisk? -> <a href="http://www.das-asterisk-buch.de">http://www.das-asterisk-buch.de
</a><br><br>Geschäftsführer: Stefan Wintermeyer<br>Handelsregister: Neuwied B 14998<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a>
--<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Regards<br>Rizwan Hisham<br>Software Engineer