[Asterisk-Users] SIP register and unregister events via Manager
API
Olle E. Johansson
oej at edvina.net
Fri Jul 23 02:04:37 MST 2004
Holger Schurig wrote:
> The patch tries to send the time as well, but it fails. There are some
> problems currently:
Seems like you are getting Time - how does it fail? Please explain...
/O
>
> I applied the path from bug 2117. After this I got some events:
>
> Event: SIPPeerStatus
> Peer: weckhardt
> Status: reachable
> Time: 55
>
> Event: SIPPeerRegistration
> Peername: dnarotam
> Status: Offline
>
>
>
> I think we have several problems here. Once it's "Peer:", the other time
> it's "Peername". Also, I don't like the name of the event. It should just
> be "PeerStatus" and "PeerRegistration", because we might add something to
> IAX2 as well. So I'd suggest to do it this way:
>
> Event: PeerStatus
> Peer: SIP/weckhardt
> PeerStatus: reachable
> Time: 55
>
> Event: PeerRegistration
> Peer: SIP/dnarotam
> Channel: Offline
>
>
>
> This way, other channels can send the same events, just with PeerStatus:
> IAX2/qtiax.
>
> I guess I'll redo the path and re-submit it to bugs.digium.com.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Olle E. Johansson, Edvina.net AB, oej at edvina.net
----- Phone +46 8 594 788 10, Cell phone: +46 70 593 68 51
----- IP phone: sip:oej at edvina.net
----- Address: Runbovägen 10, SE-192 48 Sollentuna, Sweden
----- Web: http://edvina.net
More information about the asterisk-users
mailing list