[Home]

Summary:ASTERISK-00112: Typing *8# on keypad blocks Asterisk.
Reporter:yamez (yamez)Labels:
Date Opened:2003-08-17 21:52:14Date Closed:2008-01-15 14:36:33.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fix.txt
Description:Trying to pickup a SIP call from a sip.conf: pickupgroup blocks Asterisk. Only restarting Asterisk fixes the problem.


****** ADDITIONAL INFORMATION ******


[3846]
type=friend
username=3846
secret=not-the-password
callgroup=1
pickupgroup=1
canreinvite=no
mailbox=3846
Comments:By: Mark Spencer (markster) 2003-08-18 00:22:57

Find me on IRC and we'll talk.  I'll probably need to ssh in and take a look to figure this one out.  It *may* be helpful to recompile with thread debugging turned on in the Makefile and see if it prints any interesting error messages.  Please let me know, and find me in #asterisk on irc.freenode.net (kram)

By: Mark Spencer (markster) 2003-08-23 02:06:32

Customer appears to have lost contact.

By: Mark Spencer (markster) 2003-08-23 17:24:58

Able to duplicate after all

By: Mark Spencer (markster) 2003-08-23 17:25:13

Fixed in CVS

By: yamez (yamez) 2003-08-25 12:01:29

You did indeed fix the problem with asterisk blocking, but now when you pick the call up (this works) the phone still rings on the first phone. Should I open this as a new bug?

By: Mark Spencer (markster) 2003-08-25 12:11:28

I can't seem to duplicate this problem.  What sort of phones are involved?

By: yamez (yamez) 2003-08-26 09:04:23

Cisco 7960s (With the newest code 5.3),  But I also have some budgetones I will test with them and let you know. If they do the same thing.

By: Mark Spencer (markster) 2003-08-26 09:26:49

Can you turn on debug in /etc/asterisk/logger.conf and then give me the results with sip debug turned on?  Just paste it here.  Also be sure you're using *latest CVS*

By: yamez (yamez) 2003-08-26 11:18:16

Aug 26 10:53:35 DEBUG[1125342512]: File chan_sip.c, Line 4807 (handle_request): Check for res
Aug 26 10:53:35 DEBUG[1125342512]: File chan_sip.c, Line 933 (find_user):  is not a local user
Aug 26 10:53:35 DEBUG[1125342512]: File chan_sip.c, Line 3224 (build_route): build_route: Record-Route hop: <sip:3867@207.65.117.7:5061;maddr=207.65.117.7>
Aug 26 10:53:35 DEBUG[1125342512]: File chan_sip.c, Line 3224 (build_route): build_route: Record-Route hop: <sip:3867@207.65.117.2:5060;maddr=207.65.117.2>
Aug 26 10:53:35 DEBUG[1125342512]: File chan_sip.c, Line 3249 (build_route): build_route: Contact hop: <sip:6152075917@207.65.117.3:5060>
Aug 26 10:53:35 DEBUG[1217662256]: File app_dial.c, Line 381 (dial_exec): SIMPLE DIAL (NO URL)
Aug 26 10:53:35 DEBUG[1217662256]: File chan_sip.c, Line 649 (create_addr): Setting NAT on RTP to 0
Aug 26 10:53:35 DEBUG[1125342512]: File chan_sip.c, Line 560 (__sip_semi_ack): (Provisional) Stopping retransmission (but retaining packet) on '5e26035f33e32fde0ebbfbf20c6a992b@207.65.7.254' Request 102: Found
Aug 26 10:53:36 DEBUG[1125342512]: File chan_sip.c, Line 560 (__sip_semi_ack): (Provisional) Stopping retransmission (but retaining packet) on '5e26035f33e32fde0ebbfbf20c6a992b@207.65.7.254' Request 102: Found
Aug 26 10:53:37 DEBUG[1125342512]: File chan_sip.c, Line 649 (create_addr): Setting NAT on RTP to 0
Aug 26 10:53:37 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '3c90ba816513a83c414f1bf974796357@207.65.7.254' of Request 102: Found
Aug 26 10:53:37 DEBUG[1125342512]: File chan_sip.c, Line 649 (create_addr): Setting NAT on RTP to 0
Aug 26 10:53:37 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '1d414f3b1fc4bdcd71b605436dbded27@207.65.7.254' of Request 102: Found
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 3783 (check_user): Setting NAT on RTP to 0
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 649 (create_addr): Setting NAT on RTP to 0
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '0d53c8581fcbb6ac1f62e42d023d825b@207.65.7.254' of Request 102: Found
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '0002b9af-c70c008f-6dbe7c9c-7b7b5be2@207.65.7.147' of Response 101: Found
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 3783 (check_user): Setting NAT on RTP to 0
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 4807 (handle_request): Check for res
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 952 (find_user): Call from user '3846' is 1 out of 0
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 3249 (build_route): build_route: Contact hop: <sip:3846@207.65.7.147:5060>
Aug 26 10:53:39 DEBUG[1125342512]: File res_parking.c, Line 676 (ast_pickup_call): Call pickup on chan 'SIP/3867-1ef5' by 'SIP/3846-9bbd'
Aug 26 10:53:39 DEBUG[1125342512]: File channel.c, Line 1809 (ast_channel_masquerade): Planning to masquerade SIP/3846-9bbd into the structure of SIP/3867-1ef5
Aug 26 10:53:39 DEBUG[1125342512]: File channel.c, Line 1827 (ast_channel_masquerade): Done planning to masquerade SIP/3867-1ef5 into the structure of SIP/3846-9bbd
Aug 26 10:53:39 DEBUG[1217662256]: File channel.c, Line 1856 (ast_do_masquerade): Actually Masquerading SIP/3846-9bbd(6) into the structure of SIP/3867-1ef5(5)
Aug 26 10:53:39 DEBUG[1217662256]: File channel.c, Line 1867 (ast_do_masquerade): Got clone lock on 'SIP/3846-9bbd' at 0x81f7c38
Aug 26 10:53:39 DEBUG[1217662256]: File chan_sip.c, Line 980 (sip_hangup): find_user(3867)
Aug 26 10:53:39 DEBUG[1217662256]: File channel.c, Line 1998 (ast_do_masquerade): Destroying clone 'SIP/3867-1ef5<ZOMBIE>'
Aug 26 10:53:39 DEBUG[1217662256]: File channel.c, Line 2013 (ast_do_masquerade): Putting channel SIP/3846-9bbd in 4/4 formats
Aug 26 10:53:39 DEBUG[1217662256]: File channel.c, Line 2030 (ast_do_masquerade): Done Masquerading SIP/3846-9bbd (6)
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on 'F6252AA5-D71411D7-A27BE928-2E43E577@207.65.117.3' of Response 101: Found
Aug 26 10:53:39 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '0002b9af-c70c008f-6dbe7c9c-7b7b5be2@207.65.7.147' of Response 102: Found
Aug 26 10:53:39 DEBUG[1217662256]: File rtp.c, Line 1007 (ast_rtp_write): Ooh, format changed from UNKN to ULAW
Aug 26 10:53:39 DEBUG[1217662256]: File rtp.c, Line 1007 (ast_rtp_write): Ooh, format changed from UNKN to ULAW
Aug 26 10:53:42 DEBUG[1125342512]: File chan_sip.c, Line 649 (create_addr): Setting NAT on RTP to 0
Aug 26 10:53:42 DEBUG[1217662256]: File channel.c, Line 2175 (ast_channel_bridge): Didn't get a frame from channel: SIP/3846-9bbd
Aug 26 10:53:42 DEBUG[1217662256]: File channel.c, Line 2243 (ast_channel_bridge): Bridge stops bridging channels SIP/-08152d68 and SIP/3846-9bbd
Aug 26 10:53:42 DEBUG[1217662256]: File chan_sip.c, Line 980 (sip_hangup): find_user(3846)
Aug 26 10:53:42 DEBUG[1217662256]: File chan_sip.c, Line 980 (sip_hangup): find_user()
Aug 26 10:53:42 DEBUG[1217662256]: File chan_sip.c, Line 933 (find_user):  is not a local user
Aug 26 10:53:42 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '2712a85e73fb872932440f3851fc2934@207.65.7.254' of Request 102: Found
Aug 26 10:53:46 DEBUG[1125342512]: File chan_sip.c, Line 522 (__sip_ack): Acked pending invite 102
Aug 26 10:53:46 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '5e26035f33e32fde0ebbfbf20c6a992b@207.65.7.254' of Request 102: Found
Aug 26 10:53:46 DEBUG[1125342512]: File chan_sip.c, Line 3249 (build_route): build_route: Contact hop: <sip:3867@207.65.7.182:5060>
Aug 26 10:53:46 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on '5e26035f33e32fde0ebbfbf20c6a992b@207.65.7.254' of Request 103: Found
Aug 26 10:53:48 DEBUG[1125342512]: File chan_sip.c, Line 540 (__sip_ack): Stopping retransmission on 'F6252AA5-D71411D7-A27BE928-2E43E577@207.65.117.3' of Request 102: Found

By: yamez (yamez) 2003-08-26 11:18:59

Need any-e-thing else let me know.

By: Mark Spencer (markster) 2003-08-26 11:47:44

As I said I need "sip debug" turned on too at the comamnd prompt so I see verbose message with it.  This looks like you just turned on a debug file, but I'll actually want to see the messages on the console so it may take some cut/paste.  Gotta try to get the whole picture.

Alternativel you can find me on IRC and supply me with login information so I can do the diagnostic on your machine.

By: yamez (yamez) 2003-08-26 13:15:03

Sorry about that. I try and find you on IRC

By: Jared Smith (jsmith) 2003-08-29 10:47:33

I'm also seeing on my recently upgraded systems that call pickup using *8 is broken for SIP devices...  (for what it's worth)

edited on: 08-29-03 10:45

By: Angel Gomez (angom) 2003-10-22 02:51:07

I am having the problem of picking a call from a SIP extension with *8 but it keeps ringing, I do not seem to find a specific report for these but find these instead. I am using GrandStreams and Snom200, I can pickup the call from any phone and the original destination keeps ringing. I have a CVS from Oct 21, 8:00 pm PST.

By: sbisker (sbisker) 2003-10-24 15:45:25

I've uploaded a patch to fix this problem with the continual ringing after a call pickup.  Included a ast_setstate(c,AST_STATE_DOWN); To tell the orignal destination to stop ringing.

-sb

By: pliew (pliew) 2003-10-24 23:42:54

I've tested that one line patch and it stops the ringing for me.

By: Mark Spencer (markster) 2003-10-25 12:15:09

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:36:33.000-0600

Repository: asterisk
Revision: 1665

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r1665 | markster | 2008-01-15 14:36:32 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix *8# magically (bug ASTERISK-112)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1665