[asterisk-users] How to use Hints in asterisk
Sammy Govind
govoiper at gmail.com
Tue Dec 6 06:28:57 CST 2011
Hello,
AFAIK Hints are used for looking out for a device state before actually
doing anything. Hints can be used from Dial-plan, AMI, or AGI. An example
can be to look for state of a SIP user.
Read these links for better understanding.
http://www.smartvox.co.uk/astfaq_subscribe_hints.htm
http://www.voip-info.org/wiki/view/Asterisk+standard+extensions
Regards,
Sammy.
On Tue, Dec 6, 2011 at 5:14 PM, virendra bhati <virbhati at gmail.com> wrote:
> Hi All,
>
> I did some google and found some documents on that and finally I got some
> response from asterisk . Below is the CLI output of my google.
>
> *haddock8-astrx*CLI> core show hint 2218
> 2218 at bhati-subscribe : SIP/2218
> State:Idle Watchers 0
> 1 hint matching extension 2218
> == Using SIP RTP CoS mark 5
> -- Executing [222 at bhati-test:1] NoOp("SIP/2218-000002c3", " Call from
> Gtalk ") in new stack
> -- Executing [222 at bhati-test:2] NoOp("SIP/2218-000002c3", "Hint for
> Extension 2218 is ") in new stack
> -- Executing [222 at bhati-test:3] Set("SIP/2218-000002c3",
> "CALLERID(name)="From Google Talk"") in new stack
> -- Executing [222 at bhati-test:4] Wait("SIP/2218-000002c3", "10") in
> new stack
>
> haddock8-astrx*CLI> core show hint 2218
> 2218 at bhati-subscribe : SIP/2218
> State:InUse Watchers 0
> 1 hint matching extension 2218
>
> -- Executing [222 at bhati-test:5] Dial("SIP/2218-000002c3",
> "SIP/my_sip_phones") in new stack
> == Using SIP RTP CoS mark 5
> [Dec 6 17:39:38] WARNING[6689]: chan_sip.c:5331 create_addr: No such
> host: my_sip_phones
> [Dec 6 17:39:38] WARNING[6689]: app_dial.c:1747 dial_exec_full: Unable to
> create channel of type 'SIP' (cause 20 - Unknown)
> == Everyone is busy/congested at this time (1:0/0/1)
> -- Auto fallthrough, channel 'SIP/2218-000002c3' status is
> 'CHANUNAVAIL'
> -- Executing [h at bhati-test:1] NoOp("SIP/2218-000002c3", "hangup the
> call now") in new stack
> haddock8-astrx*CLI> core show hint 2218
> 2218 at bhati-subscribe : SIP/2218 State:Idle
> Watchers 0
> 1 hint matching extension 2218
> *
> *Is this the right way to use HINT of asterisk ?*
>
>
>
> On Tue, Dec 6, 2011 at 3:38 PM, virendra bhati <virbhati at gmail.com> wrote:
>
>> Hi All,
>>
>> I read about the *Hint* in asterisk. I want to implements into my server
>> for testing purpose. How to use it ? please help me...
>>
>> --
>>
>> Thanks and regards
>>
>> Virendra Bhati
>> +91-8885268942
>> Software Engineer
>>
>>
>
>
> --
>
> Thanks and regards
>
> Virendra Bhati
> +91-8885268942
> Software Engineer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111206/95d8222f/attachment.htm>
More information about the asterisk-users
mailing list