Hi all,

I'm having trouble with the subject. I've setup the Tigase server, registered clients and I'm seeing PubSub messages on both test servers. Phones connected to the server with the resource I'd like to watch, DAHDI/1, are seeing the proper states but phones on the remote systems are seeing the device as State:Unavailable until a call is made. Then it switches to State:InUse as expected.

I have been struggling to get this stuff to work for a few days. The only way I was able to get hints to show on the remote server was to add the same hint as is configured on the resource server:

    [ext-local-custom]
    exten => DAHDI1,hint,DAHDI/1

This may be part of the problem, as the documentation is not clear. All I know is I've not been successful in getting hints to propagate without adding hints locally.

I do see messages coming from the XMPP server:

JABBER: from-internal-custom INCOMING: <message from="pubsub.asterisk.my.tld" to="[email protected]" id="652"><event xmlns="http://jabber.org/protocol/pubsub#event";><items node="device_state"><item id="DAHDI/1"><state xmlns="http://asterisk.org"; eid="00:30:48:83:e0:7e">INUSE</state></item></items></event></message>

JABBER: from-internal-custom INCOMING: <message from="pubsub.asterisk.my.tld" to="[email protected]" id="654"><event xmlns="http://jabber.org/protocol/pubsub#event";><items node="device_state"><item id="SIP/200"><state xmlns="http://asterisk.org"; eid="00:30:48:83:e0:7e">INUSE</state></item></items></event></message>

JABBER: from-internal-custom INCOMING: <message from="pubsub.asterisk.my.tld" to="[email protected]" id="656"><event xmlns="http://jabber.org/protocol/pubsub#event";><items node="device_state"><item id="DAHDI/1"><state xmlns="http://asterisk.org"; eid="00:30:48:83:e0:7e">UNKNOWN</state></item></items></event></message>

JABBER: from-internal-custom INCOMING: <message from="pubsub.asterisk.my.tld" to="[email protected]" id="658"><event xmlns="http://jabber.org/protocol/pubsub#event";><items node="device_state"><item id="SIP/200"><state xmlns="http://asterisk.org"; eid="00:30:48:83:e0:7e">NOT_INUSE</state></item></items></event></message>

JABBER: from-internal-custom INCOMING: <message from="pubsub.asterisk.my.tld" to="[email protected]" id="660"><event xmlns="http://jabber.org/protocol/pubsub#event";><items node="device_state"><item id="SIP/200"><state xmlns="http://asterisk.org"; eid="00:30:48:83:e0:7e">NOT_INUSE</state></item></items></event></message>

Should the hints be showing up on all server WITHOUT adding a hint to the dialplan locally? Or is there a way to set the default hint status on remote servers to State:Idle?

I need to fix this as having some phones set to State:Unavailable will be confusing to the users.

What am I missing?

Thanks,

Andrew McRory
Sayso Communications, Inc.
2850 Industrial Plaza
Tallahassee, Florida 32301
Office) 850-224-5737
Mobile) 850-778-3206

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to