[asterisk-users] BLF with Aastra

Matt mhoppes at gmail.com
Tue Aug 14 11:03:33 CDT 2007


> Does 'sip show subscriptions' indicate that the 57i is still subscribed to
> the extension for updates?  If not, you might have to do a test with 'sip
Yes it does:
EMSPBX*CLI> sip show subscriptions
Peer             User        Call ID      Extension        Last state
   Type
10.30.17.120     120         72cc9be69ae  200              Idle
   dialog-info+xml
10.30.17.120     120         8bbbe608bf0  111              Idle
   dialog-info+xml
10.30.17.120     120         00399b8111a  110              Idle
   dialog-info+xml
10.30.17.120     120         34558bd778f  109              Idle
   dialog-info+xml
10.30.17.120     120         9fe8d2cc534  108              InUse
   dialog-info+xml
10.30.17.120     120         fc88630f51d  107              InUse
   dialog-info+xml
10.30.17.120     120         b867631abbc  106              Idle
   dialog-info+xml
10.30.17.120     120         4da7ecc52bf  105              Idle
   dialog-info+xml
10.30.17.120     120         99814a95b5c  104              Idle
   dialog-info+xml
10.30.17.120     120         52d5093eb40  103              Idle
   dialog-info+xml
10.30.17.120     120         ee47cbb7a6e  102              Idle
   dialog-info+xml
10.30.17.120     120         d7a3b47df8f  101              Idle
   dialog-info+xml

> debug peer aastraname' to confirm that the subscription is being made
> properly on phone startup and not being removed by the phone in response to
> some state change.
>
> A quick glance at chan_sip.c indicates that if a user agent tries to
> subscribe with an expiry time greater than 'maxexpiry' from sip.conf
> (default 3600 seconds), the subscription expiry in Asterisk will be silently
> changed to whatever the allowed maximum is.  So if the Aastra is trying to
> subscribe for say 3 hours and Asterisk doesn't allow subscriptions greater
> than one hour, then notify messages will stop being sent after one hour
> until the Aatra re-subscribes.  I haven't delved in very deep, so I can't
> tell if the response to the UA indicates the actual expiry Asterisk used,
> but even so you'd have to be certain that the Aastra respects an expiry in
> the response that differs from what it asked for.
>
> When you're doing the debug (hopefully on a quiet system), watch the phone
> boot, then use 'sip show subscriptions' to get the call-id of the
> subscription.  Then watch for console messages indicating that the call has
> been destroyed (which should come at the 1 hour mark or whatever time the
> Aastra used for it's subscription length.
>
> --
> j.
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list