Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: fpausp 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:
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
-
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
-
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
-
Hi, thanks for your answers... Just for this test, how can I make an outgoing call from cli ?
-
you can use console dial
console dial somenumber@internal
It won't flow audio but you'll see it dial out.
kill it with
console hangup
Regards
S
-
you can use console dial
console dial somenumber@internal
OK... thank you, is it possible to make console dial over a trunk (spa3102) ?
-
Only if you have a route that will select it or a custom context which directly references it
-
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
-
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
-
Thanks,
I was implying nothing, just wondering, hence the question. You've answered it.
guest