[SOLVED] asterisk -rx 'sip show registry' broken after 1.2.7


#1

The last version where I can use the “asterisk -rx ‘sip show registry’” from the command line of a shell was version 1.2.7.

Any one that has experienced this and has a solution to the problem?

I’m runing Linux Mandrake 10.2. Kernel version 2.6 and have tried both tcsh as well as bash.

From within asterisk I get the perfectly correct answer but from the prompt I get only the headlines:

installed 1.2.7:

[root@localhost asterisk-1.2.7]# asterisk -rx 'sip show registry’
Host Username Refresh State
proxy.digisip.net:5060 08xxxxxxx 1785 Registered
sip.teleman.com:5060 08xxxxxx 1785 Registered
[root@localhost asterisk-1.2.7]#

installed 1.2.9.1

localhostCLI> sip show registry
Host Username Refresh State
proxy.digisip.net:5060 08xxxxxxx 1785 Registered
sip.teleman.com:5060 08xxxxxx 1785 Registered
localhost
CLI>

[root@localhost asterisk-1.2.9.1]# asterisk -rx 'sip show registry’
Host Username Refresh State
[root@localhost asterisk-1.2.9.1]#

/Björn


#2

Problem solved!

I reverted the change of poll behaviour in asterisk.c to the behaviour in 1.2.7.

This iseams to be a reported bug, issue #7305 that will probably be solved in some other way.