[Asterisk-Dev] SIP presence notification updated (#3644)

Kevin Hanson tuxpert at comcast.net
Wed Aug 31 09:17:31 MST 2005


Olle E. Johansson wrote:

>>Olle,
>>
>>For those of us that can't read code and have not been following
>>the sip changes, any chance you could provide a real example of
>>how to make this work properly?
>>    
>>
>
>Dialplan (extensions.conf)
>* Add a hint that points to the phone or phones that you want to
>  connect to an extension
>
>exten => 3000,hint,SIP/olle
>exten => 3000,1,dial(SIP/olle,30)
>exten => 3010,hint,SIP/ssokol&IAX2/ssokol
>exten => 3010,1,dial(SIP/ssokol&IAX2/ssokol,30)
>
>SIP, IAX2 and agents support this kind of notification, so you can
>use them as hints.
>
>  
>
Is it still the case that you can't use variables in the hint?  My sip 
channels all match the extension, so I would like to be able to:

exten => 3XXX,hint,SIP/${EXTEN}


>In sip.conf or iax.conf, add an call limit to the peer entry
>
>[olle]
>type=friend
>incominglimit=2
>secret=1234
>host=dynamic
>
>(This config option will soon be renamed call-limit)
>
>  
>
Can you expand on the reason for incominglimit and how it impacts line 
subscription?  My brain is very slow today :)


>Then in your phone, add a subscription for the extension. How you do
>that depends on the phone. In Eye-Beam you have a buddy list. On the
>Polycom, you configure an entry in the directory to be a buddy.
>We support several formats for notification, and they all have different
>properties and abilities. For Eye-Beam, you will get an icon and text
>saying "Not online" if the phone is not registred or "On the phone" if
>the phone is in a call. Polycom simply says "away" and the Snom phones
>happily turns on and off LED's.
>
>A lot of the changes done internally to the PBX core extension state
>subsystem and in chan_sip also improves the status notification in the
>manager for programs that connect to Asterisk over AMI and visualizes
>the status of extensions, like FOP, The Flash operator's panel.
>
>I hope this helps.
>
>Regards,
>/Olle
>  
>
Cheers,
Kevin



More information about the asterisk-dev mailing list