Though outgoing calls seem to work fine now, I'm still having major
problems in convincing * of accepting incoming calls. Setup is 1
single-port-card in TE mode and a couple of SIP phones.

I would guess that all my settings are more or less taken 1:1 from the
sample files.

extensions.conf

[visdn0_in]
exten => 654321,1,Dial(SIP/11)

visdn.conf

[visdn0]
network_role = private
context = visdn0_in
tones_option = yes
outbound_called_ton = unknown
force_outbound_cli =
force_outbound_cli_ton = no
clip_enabled = Yes
clip_default_name = Single ISDN 0
clip_default_number = 8575051
clip_numbers = 8575051
clir_mode = default_off
overlap_sending = Yes
overlap_receiving = No

Still I get

q931 visdn0:TEI[127]: Received message:
q931 <-  call reference = 1.I (len 1)
q931 <-  message_type = SETUP (5)
q931 visdn0:TEI[0]: DLC autorelease timer stopped
q931 visdn0:CALL[1.I]: call.c:277 GET (1 => 2)
q931 visdn0:CALL[1.I]: Got SETUP
q931 <-  SO IE 1 ===> 161 (Sending Complete) length=(1)
q931 <-  VL IE 2 ===> 4 (Bearer Capability) length=(3)
q931 <-    Coding Standard = CCITT (0)
q931 <-    Information Transfer Capability = Speech (0)
q931 <-    Transfer mode = Circuit (0)
q931 <-    Information Transfer Rate = 64 kbps (16)
q931 <-    User information layer 1 protocol = g.711 a-law (3)
q931 <-  VL IE 3 ===> 24 (Channel Identification) length=(1)
q931 <-    Interface id = Implicit (0)
q931 <-    Interface type = Basic (0)
q931 <-    Pref/Excl = Exclusive (1)
q931 <-    D channel ident = Is not D channel (0)
q931 <-    Coding standard = CCITT (0)
q931 <-    Channels = B1
q931 <-  VL IE 4 ===> 108 (Calling Party Number) length=(12)
q931 <-    Type of number = National (2)
q931 <-    Numbering plan = ISDN Telephony (1)
q931 <-    Presentation indicator = Presentation allowed (0)
q931 <-    Screening indicator = Network provided (3)
q931 <-    Number = 12345678
q931 visdn0:CALL[1.I]: Requested channel B1 available
q931 visdn0:CALL[1.I]: U0_NULL_STATE ==to==> U6_CALL_PRESENT
q931 visdn0:CALL[1.I]: chan_visdn.c:362 GET (2 => 3)
q931
q931 visdn0:CALL[1.I]: input.c:1212 PUT (3 => 2)
q931 visdn0:TEI[127]: Releasing message
q931 visdn0:TEI[127]: Releasing DLC
q931 visdn0:CALL[1.I]: chan_visdn.c:3095 GET (2 => 3)
q931 visdn0:CALL[1.I]: chan_visdn.c:328 GET (3 => 4)
q931 visdn0:CALL[1.I]: chan_visdn.c:1824 PUT (4 => 3)
q931 visdn0:CALL[1.I]: chan_visdn.c:4166 PUT (3 => 2)
q931 visdn0:CALL[1.I]: REJECT-REQ
q931 visdn0:CALL[1.I]: Sending message:
q931 ->  message type: RELEASE COMPLETE (90)
q931 ->  VL IE 0 ===> 8 (Cause) -- length 2
q931 ->    Coding standard = CCITT (0)
q931 ->    Location = Private network serving remote user (5)
q931 ->    Cause value = Incompatible destination (88)
q931
q931 visdn0:TEI[0]: DLC is disconnected, requesting connection
q931 visdn0:TEI[0]: DLC is awaiting connection: message queued
q931 visdn0:CALL[1.I]: U6_CALL_PRESENT ==to==> U0_NULL_STATE
q931 visdn0:CALL[1.I]: call.c:373 PUT (2 => 1)
q931 visdn0:CALL[1.I]: chan_visdn.c:2209 PUT (1 => 0)
q931 visdn0:CALL[1.I]: Freeing call
q931 visdn0:TEI[0]: DLC autorelease timer started
q931 visdn0:TEI[0]: DL-ESTABLISH-CONFIRM
q931 visdn0:TEI[0]: Releasing message
q931 visdn0:TEI[0]: DLC autorelease timer stopped
q931 visdn0:TEI[0]: DLC autorelease timer started
q931 Releasing message
q931 visdn0:TEI[0]: DLC autorelease timer fired
q931 visdn0:TEI[0]: DL-RELEASE-CONFIRM
q931 Releasing message

Especially the part

q931 ->    Location = Private network serving remote user (5)
q931 ->    Cause value = Incompatible destination (88)

bothers me most. Why would there be a incompatible destination? Hmm, a
code restriction in sip.conf doesn't seem to be the prob => allow=alaw

[general]
externip=12.34.56.78
bindport=5060
localnet=192.168.0.0/255.255.255.0
fromdomain=192.168.0.121
srvlookup=yes
context=default
qualify=no
disable=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear
register=>123456:[EMAIL PROTECTED]/123456
language=de
tos=reliability
nat=yes

...

[11]
type=friend
host=dynamic
defaultip=192.168.0.23
username=11
secret=pword
dtmfmode=rfc2833
mailbox=11
callerid=T.Haertl <11>
subscribecontext=default
qualify=yes
qualifysmoothing=yes
qualifyfreqok=60000
qualifyfreqnotok=10000


I guess I'm pretty much clueless. Any ideas?

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to