SIP Client connection problem

Hi everyone.

I’m new to Asterisk.
After installing Asterisk 12.3.0 on my new Raspberry with Debian, I have some problems to get my SIP clients to work.
On my Windows PC and IPad I installed Linphone.
I don’t get them to work and I don’t know why not and where to look up for debugging.
I tryed for days but with no results :frowning:
Any help will be welcome.

First my Asterisk log file. There is one error, I’m not shure if it’s important.

[Jun 1 08:49:07] Asterisk 12.3.0 built by root @ raspberrypi on a armv6l running Linux on 2014-05-30 23:02:21 UTC
[Jun 1 08:49:08] NOTICE[3099] cdr.c: CDR simple logging enabled.
[Jun 1 08:49:09] NOTICE[3099] loader.c: 217 modules will be loaded.
[Jun 1 08:49:10] NOTICE[3099] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Jun 1 08:49:10] ERROR[3099] ari/config.c: No configured users for ARI
[Jun 1 08:49:11] WARNING[3099] loader.c: Error loading module ‘res_ari_mailboxes.so’: /usr/lib/asterisk/modules/res_ari_mailboxes.so: undefined symbol: stasis_app_mailbox_to_json
[Jun 1 08:49:11] WARNING[3099] loader.c: Module ‘res_ari_mailboxes.so’ could not be loaded.
[Jun 1 08:49:11] NOTICE[3099] config.c: Registered Config Engine sqlite3
[Jun 1 08:49:11] NOTICE[3099] chan_skinny.c: Configuring skinny from skinny.conf
[Jun 1 08:49:15] NOTICE[3099] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Jun 1 08:49:17] NOTICE[3099] pbx_ael.c: Starting AEL load process.
[Jun 1 08:49:17] NOTICE[3099] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Jun 1 08:49:17] NOTICE[3099] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Jun 1 08:49:17] NOTICE[3099] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Jun 1 08:49:17] NOTICE[3099] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Jun 1 08:49:17] NOTICE[3099] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Jun 1 08:49:18] VERBOSE[3099] asterisk.c: Asterisk Ready.

here my changes for

sip.conf:

allowguest=no
qualify=no
disable=all
allow=alaw
allow=ulaw
videosupport=yes
dtmfmode=rfc2833
srvlookup=yes
localnet=192.168.0.0/255.255.255.0
directmedia=no
nat=yes

[1000]
permit=192.168.0.0/255.255.255.0
type=friend
context=intern
host=dynamic
secret=PASSWORT

[2000]
permit=192.168.0.0/255.255.255.0
type=friend
context=intern
host=dynamic
secret=PASSWORT

[3000]
permit=192.168.0.0/255.255.255.0
type=friend
context=intern
host=dynamic

secret=PASSWORT

extensions.ael

context intern {
1000 => {
Dial(SIP/1000);
}
2000 => {
Dial(SIP/2000);
}
3000 => {
Dial(SIP/3000);
}
5000 => {
Answer();
Playback(demo-echotest);
Echo();
Hangup();
}
}

Thansk in adavance for your help

Best regards

Tra

At least the declaration for defaultuser is missing in Your friend’s configuration.
All other questions are only answerable when You provide debug information about the registering dialogs at least from asterisk (sip set debug on).

Hi

Thanks abw1oim for your relay.

I made the following changes in my sip.conf


[1000]
permit=192.168.0.0/255.255.255.0
type=friend
context=intern
host=dynamic
defaultuser=1000
secret=PASSWORT

[2000]
permit=192.168.0.0/255.255.255.0
type=friend
context=intern
host=dynamic
defaultuser=2000
secret=PASSWORT

[3000]
permit=192.168.0.0/255.255.255.0
type=friend
context=intern
host=dynamic
defaultuser=3000
secret=PASSWORT

When I start 'asterisk -vvvr’
on ‘sip set debug on’ I get
No such command ‘sip set debug on’ (type ‘core show help sip set’ for other possible commands)

I tryed
core set verbose 5
core set debug 5

but when I try to connect my Linphone on PC I get sip:192.168.0.201 timeout

:frowning:

best regards
Tra

Sounds like chan_sip.so is not loaded for any reason.
Check whether the module exists and is loaded into Your asterisk.

You are right. This file wasn’t compilted.
I’ll try to recompile and find out, why this module is missing.
But not befor tomorrow

Thanks for your super help.

Best regards

Tra

The usual reason for its being missing is that you don’t have the development packages for the encryption libraries it uses, installed.