Sebastian Arcus
2011-Jun-20 18:00 UTC
[asterisk-users] Problems with pickupgroup/callgroup with Asterisk 1.8.4.2
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)
Sebastian Arcus
2011-Jun-20 19:27 UTC
[asterisk-users] Problems with pickupgroup/callgroup with Asterisk 1.8.4.2
Replying to my own post: I have done some more digging, disabling parts of configuration files one at a time - since there is nothing useful in the console for this problem. Turns out that if I enable the following lines in features.conf: parkext => 700 parkpos => 701-720 context => parkedcalls then I can't pick calls up with *8 anymore. Here is everything I have enabled in the features.conf, just in case: [general] parkext => 700 parkpos => 701-720 context => parkedcalls pickupexten = *8 [featuremap] disconnect => *0 Can anybody think of any reason for this? Could it be something I'm doing - or should I report it as a bug? Sebastian On 20/06/11 19:00, Sebastian Arcus wrote:> 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) > > > -- > _____________________________________________________________________ > -- 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 >