Koozali.org: home of the SME Server

SARK Server Migration ?

Offline fpausp

  • *
  • 728
  • +0/-0
SARK Server Migration ?
« on: September 28, 2014, 07:57:39 PM »
I try to migrate from old Sark to Sark 4.0.0.127 (Raspberry), I have a few SPA942, just one C470IP and a SPA3102 as Trunk.

I am able to call Inbound but not outbound, please take a look:

Code: [Select]
sail*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [0680XXXXXXX@internal:1] AGI("SIP/6000-00000012", "sarkhpe,OutCos,0680XXXXXXX,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- <SIP/6000-00000012>AGI Script sarkhpe completed, returning 0
    -- Executing [0680XXXXXXX@6000opencos:1] AGI("SIP/6000-00000012", "sarkhpe,OutCluster,0680XXXXXXX,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=default)
    -- <SIP/6000-00000012>AGI Script sarkhpe completed, returning 0
    -- Executing [0680XXXXXXX@qrxvtmny:1] AGI("SIP/6000-00000012", "sarkhpe,OutRoute,Festnetz,,") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
[Sep 28 17:44:48] NOTICE[7291]: channel.c:4170 __ast_read: Dropping incompatible voice frame on SIP/6000-00000012 of format alaw since our native format has changed to 0x4 (ulaw)
    -- AGI Script Executing Application: (Set) Options: (TIMEOUT(absolute)=14400)
Channel will hangup at 2014-09-28 21:44:48.889 UTC.
    -- AGI Script Executing Application: (Dial) Options: (SIP/0680XXXXXXX@peer9039,,T)
  == Using SIP RTP CoS mark 5
    -- Called SIP/0680XXXXXXX@peer9039
  == Everyone is busy/congested at this time (1:0/1/0)
    -- AGI Script Executing Application: (Playback) Options: (beep)
    -- <SIP/6000-00000012> Playing 'beep.gsm' (language 'en-gb')
    -- AGI Script Executing Application: (Playtones) Options: (congestion)
    -- AGI Script Executing Application: (Congestion) Options: ()
    -- <SIP/6000-00000012>AGI Script sarkhpe completed, returning 4
  == Spawn extension (qrxvtmny, 0680XXXXXXX, 1) exited non-zero on 'SIP/6000-00000012'
    -- Executing [h@qrxvtmny:1] Hangup("SIP/6000-00000012", "") in new stack
  == Spawn extension (qrxvtmny, h, 1) exited non-zero on 'SIP/6000-00000012'
[Sep 28 17:44:54] ERROR[7291]: cdr_mysql.c:202 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user 'asterisk'@'localhost' (using password: YES)
[Sep 28 17:45:06] NOTICE[3076]: chan_sip.c:25030 handle_request_register: Registration from '02626XXXXX <sip:02626XXXXX@192.168.0.XXX>' failed for '192.168.0.XX:5061' - Wrong password
[Sep 28 17:46:06] NOTICE[3076]: chan_sip.c:25030 handle_request_register: Registration from '02626XXXXX <sip:02626XXXXX@192.168.0.XXX>' failed for '192.168.0.XX:5061' - Wrong password

Viribus unitis

guest22

Re: SARK Server Migration ?
« Reply #1 on: October 01, 2014, 07:36:02 PM »
Looks like a dial plan issue.

and

[Sep 28 17:44:54] ERROR[7291]: cdr_mysql.c:202 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user 'asterisk'@'localhost' (using password: YES)

is not a show stopper, but you don;t have CDR's

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK Server Migration ?
« Reply #2 on: October 02, 2014, 07:19:47 PM »
Can't tell for sure without a sip trace.

Check your routing and ensure that you are exercising a trunk which is both defined and up.    I'm not clear how you've done the conversion so I can't tell is the DB is consistent with itself. 

Inbound is less of an issue because the XXXX. "catchcall" dialplan will usually come to your aid.

To fix the sql issue you will need to create an asterisk db and user in the mysql db.   There are instructions in the debian install wiki pages.

Kind Regards

S

 

Offline fpausp

  • *
  • 728
  • +0/-0
Re: SARK Server Migration ?
« Reply #3 on: October 04, 2014, 04:55:21 PM »
Hi, thanks for your answers... Just for this test, how can I make an outgoing call from cli ?
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK Server Migration ?
« Reply #4 on: October 10, 2014, 10:32:04 PM »
you can use console dial

Quote
console dial somenumber@internal

It won't flow audio but you'll see it dial out.

kill it with

Quote
console hangup

Regards
S

Offline fpausp

  • *
  • 728
  • +0/-0
Re: SARK Server Migration ?
« Reply #5 on: October 11, 2014, 07:42:08 PM »
Quote
you can use console dial

console dial somenumber@internal

OK... thank you, is it possible to make console dial over a trunk (spa3102) ?
Viribus unitis

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK Server Migration ?
« Reply #6 on: October 27, 2014, 07:08:24 PM »
Only if you have a route that will select it or a custom context which directly references it

guest22

Re: SARK Server Migration ?
« Reply #7 on: October 27, 2014, 07:15:42 PM »
SARK devs,


it took over 2 weeks to reply on a active thread.


May I ask, what are your plans for active development and support of SARK on SME Server please?


guest


Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK Server Migration ?
« Reply #8 on: October 28, 2014, 05:57:30 PM »
Quote
it took over 2 weeks to reply on a active thread.

Are you implying there's a service level for free support on free software running on a community supported distro?

Really?

 :lol:

We will provide support on here when we have spare cycles.  There is NO SLA.  If you would like fast support then you are more then welcome to open a ticket with our distributor.

If you would ike details of how to do that then please feel free to drop us a line - admin@aelintra.com

Kind Regards
S   

guest22

Re: SARK Server Migration ?
« Reply #9 on: October 28, 2014, 06:08:55 PM »
Thanks,


I was implying nothing, just wondering, hence the question. You've answered it.


guest