Koozali.org: home of the SME Server

Callback problem

Offline jibe

  • ****
  • 128
  • +0/-0
Callback problem
« on: May 29, 2009, 02:28:07 PM »
Hi,

Is callback working with -759 version ?

I don't use callback very often, so I cannot say since when it's no more working, and more especially what I did on my SME. But I updated to -759 version, and callback is no more working now, when it was working well some time ago...

All seems good in my config, but here is what happens when I try to be called back :
Code: [Select]
# asterisk -rvvv
Asterisk 1.4.19.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.19.2 currently running on e-smith (pid = 4803)
Verbosity was 0 and is now 3
    -- Executing [33123456789@mainmenu:1] AGI("SIP/my_sip_account", "selintra|Inbound|33123456789") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Congestion) Options: ((null))
  == Spawn extension (mainmenu, 33123456789, 1) exited non-zero on 'SIP/my_sip_account'
    -- Executing [h@mainmenu:1] Hangup("SIP/my_sip_account", "") in new stack
  == Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/my_sip_account'
    -- Executing [33123456789@mainmenu:1] AGI("SIP/my_sip_account", "selintra|Inbound|33123456789") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Congestion) Options: ((null))
  == Spawn extension (mainmenu, 33123456789, 1) exited non-zero on 'SIP/my_sip_account'
    -- Executing [h@mainmenu:1] Hangup("SIP/my_sip_account", "") in new stack
  == Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/my_sip_account'
    -- Attempting call on SIP/33987654321@ for 33987654321@default-callback:1 (Retry 1)
[May 29 14:16:46] WARNING[8056]: chan_sip.c:2925 create_addr: No such host:
[May 29 14:16:46] NOTICE[8056]: channel.c:2839 __ast_request_and_dial: Unable to request channel SIP/33987654321@
[May 29 14:16:46] NOTICE[8056]: pbx_spool.c:341 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
    -- Attempting call on SIP/33987654321@ for 33987654321@default-callback:1 (Retry 1)
[May 29 14:16:48] WARNING[8061]: chan_sip.c:2925 create_addr: No such host:
[May 29 14:16:48] NOTICE[8061]: channel.c:2839 __ast_request_and_dial: Unable to request channel SIP/33987654321@
[May 29 14:16:48] NOTICE[8061]: pbx_spool.c:341 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
e-smith*CLI> quit
#

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #1 on: May 29, 2009, 07:41:56 PM »
from the logs it looks as though your callback channel (trunk) no longer exists.

Can you confirm?

Thankyou

S

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #2 on: June 02, 2009, 09:10:19 AM »
Hi,

Thanks for your reply ! This trunk is working well : I can place calls through it. And I don't see what could be wrong, the reason why I was suspecting some problem with the new version...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #3 on: June 02, 2009, 09:45:54 AM »
OK - we will try to recreate your problem here

Kind Regards

S

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #4 on: June 02, 2009, 02:40:15 PM »
Seems to be really a version problem : I tried to uninstall 759 and install 664 without changing anything else. Callback is working. Going back to 759, callback is no more working...

Don't know if it's linked, but I have also a problem to forward an incoming call. Warning : I just began to try, without learning well how to do, so maybe it's just me doing bad... But I feel strange that it's working well if I forward to an internal number and not to an external number... So don't worry about that, I just explain in case it could give some interesting indications about the callback problem.

I wanted to forward (ie for hollydays) all incoming calls through all trunks to a special number. I planned to change all inbound routes to a custom app containing
Code: [Select]
exten => s,1,Answer()
exten => s,2,Dial(SIP/5002)
exten => s,3,Hangup()
It's working well with internal number, but not with any external number I try, with any trunk (didn't try with external extensions, only SIP and traditional lines).

Thanks.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #5 on: June 02, 2009, 02:46:19 PM »
Thankyou jibe,

This is a good analysis.

We will be back to you shortly.

Kind Regards

S




Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #6 on: June 07, 2009, 04:21:13 PM »
Hello Jibe,

We have not tested callback with 759 but we have tested it with 795 (2.2.3-7) and 796 (2.3.1-9) and they both work as expected.

I would suggest you install 2.2.3-7 if you are still experiencing problems.

Kind Regards

S

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #7 on: June 10, 2009, 09:56:26 AM »
Hi,

Thanks, selintra ! I'm busy with other things, but I'll try that asap, maybe today or tomorrow.

Btw, is there somewhere a changelog or at least a version history ? I didn't noticed this new version 2.2.3x and should be curious to know the differences with 2.2.1x.

I think that I'll subscribe to your newsletter ! Good idea to do this !

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #8 on: June 10, 2009, 12:30:48 PM »
I cannot get callback working neither with 2.2.3-8 nor with 2.2.3-7. With 2.2.3-7, here is what hapens :
Code: [Select]
# asterisk -rvvv
Asterisk 1.4.19.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.19.2 currently running on e-smith (pid = 32160)
Verbosity was 0 and is now 3
    -- Executing [33123456789@mainmenu:1] AGI("SIP/my_sip_account", "selintra|Inbound|33123456789") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Congestion) Options: ((null))
  == Spawn extension (mainmenu, 33123456789, 1) exited non-zero on 'SIP/my_sip_account'
    -- Executing [h@mainmenu:1] Hangup("SIP/my_sip_account", "") in new stack
  == Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/my_sip_account'
    -- Executing [33123456789@mainmenu:1] AGI("SIP/my_sip_account", "selintra|Inbound|33123456789") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Congestion) Options: ((null))
  == Spawn extension (mainmenu, 33123456789, 1) exited non-zero on 'SIP/my_sip_account'
    -- Executing [h@mainmenu:1] Hangup("SIP/my_sip_account", "") in new stack
  == Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/my_sip_account'
e-smith*CLI> quit
I waited a long time, but there were no attempt to callback ! Back to 759, the attempt to callback is there, I get the same debug messages as in my first post...

What can be wrong ? I feel it strange, as I didn't change anything else trying the different versions...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #9 on: June 10, 2009, 01:22:45 PM »
ok we will put up a brand new clean server to see if we can replicate your problem.  It may take a day or two so please be patient.

Kind Regards

S

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #10 on: June 10, 2009, 02:34:50 PM »
Ok, thanks  :smile:

Don't hesitate if you want me to make some investigations or tries on my server... If it's working on yours, probably I'm in a special case (even if I don't think to have anything different of a basic config...).

Do you want me to test other versions than 759, 664 and latest 2 ones ?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #11 on: June 10, 2009, 04:21:22 PM »
Quote
Do you want me to test other versions than 759, 664 and latest 2 ones ?

No, we don't want to put you to any more trouble and anyway, we don't know what we're looking for at the moment so better to hold fire until we run some more tests.

Kind Regards

S

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #12 on: June 22, 2009, 10:35:18 AM »
Hi selintra,

Sorry to remind you about that, but I'll need call forwarding to external numbers work well at the end of this week... If it's really linked with the callback problem as I supposed, can I hope to have a solution quickly ?

If it's not possible, I could downgrade to an earlier version or try with Dahdi waiting for a better solution.

What can you advice me about that ? And first, is the way I did my call forward good to forward to external numbers ? (see upper)

Thanks.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Callback problem
« Reply #13 on: June 22, 2009, 12:50:22 PM »
Hi JIbe,

Support on here is free, but it does mean that you are at the end of the queue, behind our paying customers.

If you need to hit a timeline then I suggest you downgrade to the version which did work for you.

We will not be able to look at your problem again for a little while.  Yours is the only report of this issue and we have several major customer commissions to roll out this month.

Kind Regards

S
 

Offline jibe

  • ****
  • 128
  • +0/-0
Re: Callback problem
« Reply #14 on: June 22, 2009, 10:37:06 PM »
Thanks for your reply !

Yes, I understand about the free support, more especially if I'm alone to have this problem. It was just to know about your planning.

I'll try to investigate a little more and if I cannot find a solution, I'll downgrade.