[asterisk-users] Problems with pickupgroup/callgroup with Asterisk 1.8.4.2

Sebastian Arcus shop at open-t.co.uk
Mon Jun 20 13:00:13 CDT 2011


I have problems using the call pickup under Asterisk 1.8.4.2. I have 
another Asterisk with 1.6 - and it is working fine with the same settings.

I have setup the same callgroup and pickupgroup for all extensions in 
sip.conf - just to make things simple for testing. The sequence *8 seems 
to be completely ignored by Asterisk - the client shows "Call answered" 
when dialing *8 while the other phones keep on ringing (both software 
and hard phone clients) - but I see nothing in the Asterisk console. 
It's like the "*8" sequence skips Asterisk and goes through the iax 
trunks straight upstream to the trunks provider. Then weird messages 
show up in the console about "Max retries exceeded to host", I can't use 
our IAX outgoing trunks and the only way to get things working again is 
to restart Asterisk.

Am I missing something silly here?


Here is my sip.conf:

[general]

subscribecontext=sip-blf

context=default
disallow=all
allow=alaw
allow=ulaw
allowguest=no
tcpenable=no
tlsenable=no
srvlookup=no
localnet=192.168.56.0/255.255.255.0
localnet=192.168.57.0/255.255.255.0
tos_sip=cs3                    ; Sets TOS for SIP packets.
tos_audio=ef                   ; Sets TOS for RTP audio packets.

canreinvite=no

dtmfmode = rfc2833
notifyringing=yes
limitonpeers=yes

callcounter=yes


[basic-phone](!)

type=friend
context=from_internal_phones
nat=no
qualify=yes
host=dynamic
mohinterpret=default
mohsuggest=default
call-limit=20
callgroup=1
pickupgroup=1

[21](basic-phone)
secret=mypassword

[22](basic-phone)
secret=mypassword

[200](basic-phone)
secret=mypassword


And here is a trace of a call coming in through the IAX trunk, ringing 
internal sip phones 21 and 22, while I try to pick it up from 200:


Connected to Asterisk 1.8.4.2 currently running on khca-server (pid = 3915)
Verbosity was 3 and is now 6
     -- Accepting AUTHENTICATED call from 111.222.333.444
:
        > requested format = alaw,
        > requested prefs = (),
        > actual format = ulaw,
        > host prefs = (ulaw|alaw),
        > priority = mine
     -- Executing [0123456 at from_trunks:1] 
SIPAddHeader("IAX2/khca_in-2443", "Alert-I 
                     nfo: <http://127.0.0.1>\;info=external") in new stack
     -- Executing [0123456 at from_trunks:2] Goto("IAX2/khca_in-2443",
     -- Executing [0123456 at from_trunks:3] Dial("IAX2/khca_in-2443", 
"SIP/21&SIP/22&SIP/2 
3,,t") in new stack
   == Using SIP RTP TOS bits 184
   == Using SIP RTP CoS mark 5
     -- Called 21
   == Using SIP RTP TOS bits 184
   == Using SIP RTP CoS mark 5
     -- Called 22
   == Using SIP RTP TOS bits 184
   == Using SIP RTP CoS mark 5
     -- Called 23
     -- SIP/21-00000000 is ringing
     -- SIP/23-00000002 is ringing
     -- SIP/22-00000001 is ringing
   == Using SIP RTP TOS bits 184
   == Using SIP RTP CoS mark 5
[Jun 20 18:41:56] WARNING[3936]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 11, ts=20015, seqno=5)
[Jun 20 18:41:57] WARNING[3934]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 2, ts=21015, seqno=6)
[Jun 20 18:42:06] WARNING[3938]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 11, ts=30014, seqno=7)
[Jun 20 18:42:16] WARNING[3938]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 11, ts=40014, seqno=8)
[Jun 20 18:42:18] WARNING[3939]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 2, ts=42014, seqno=9)
[Jun 20 18:42:26] WARNING[3931]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 11, ts=50014, seqno=10)
[Jun 20 18:42:36] WARNING[3932]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 11, ts=60013, seqno=11)
[Jun 20 18:42:39] WARNING[3931]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 2, ts=63014, seqno=12)
[Jun 20 18:42:46] WARNING[3939]: chan_iax2.c:3487 __attempt_transmit: 
Max retries exceeded to host 212.11.91.204 on IAX2/khca_in-2443 (type = 
6, subclass = 11, ts=70013, seqno=13)




More information about the asterisk-users mailing list