In fact, my need is to connect my asterisk server to a foneBRIDGE2 which going to handle my connection to a Telco. I just want to do a test to see if my connection SS7 really works before testing with the telco.
I have set my servers to test, but when I make calls I get the following output:
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SS7/siuc/4' in macro 'hangupcall'
== Spawn extension (ss7, h, 1) exited non-zero on 'SS7/siuc/4'
- SS7 hangup 'SS7/siuc/4' CIC = 4 Cause = 34 (state = 1)
- SS7 hangup 'SS7/siuc/28' CIC = 28 Cause = 34 (state = 7)
== Everyone is busy / congested at this time (1:0 / 1 / 0)
- Executing [2101 @ ss7: 3] Hangup ("SS7/siuc/2", "") in new stack
== Spawn extension (ss7, 2101, 3) exited non-zero on 'SS7/siuc/2'
- Executing [h @ ss7: 1] Macro ("SS7/siuc/2", "hangupcall") in new stack
- Executing [s @ macro-hangupcall: 1] GotoIf ("SS7/siuc/2", "1? Noautomon") in new stack
- Goto (macro-hangupcall, s, 3)
- Executing [s @ macro-hangupcall: 3] NoOp ("SS7/siuc/2", "TOUCH_MONITOR_OUTPUT =") in new stack
- Executing [s @ macro-hangupcall: 4] GotoIf ("SS7/siuc/2", "1? Skiprg") in new stack
- Goto (macro-hangupcall, s, 7)
- Executing [s @ macro-hangupcall: 7] GotoIf ("SS7/siuc/2", "1? Skipblkvm") in new stack
- Goto (macro-hangupcall, s, 10)
- Executing [s @ macro-hangupcall: 10] GotoIf ("SS7/siuc/2", "1? Theend") in new stack
- Goto (macro-hangupcall, s, 12)
- Executing [s @ macro-hangupcall: 12] Hangup ("SS7/siuc/2", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SS7/siuc/2' in macro 'hangupcall'
== Spawn extension (ss7, h, 1) exited non-zero on 'SS7/siuc/2'
- SS7 hangup 'SS7/siuc/2' CIC = 2 Cause = 34 (state = 1)
- SS7 hangup 'SS7/siuc/30' CIC = 30 Cause = 34 (state = 7)
== Everyone is busy / congested at this time (1:0 / 1 / 0)
- Executing [2101 @ from-internal: 3] Hangup ("SIP/109-0000000c", "") in new stack
== Spawn extension (from-internal, 2101, 3) exited non-zero on 'SIP/109-0000000c'
- Executing [h @ from-internal: 1] Macro ("SIP/109-0000000c", "hangupcall") in new stack
- Executing [s @ macro-hangupcall: 1] GotoIf ("SIP/109-0000000c", "1? Noautomon") in new stack
- Goto (macro-hangupcall, s, 3)
- Executing [s @ macro-hangupcall: 3] NoOp ("SIP/109-0000000c", "TOUCH_MONITOR_OUTPUT =") in new stack
- Executing [s @ macro-hangupcall: 4] GotoIf ("SIP/109-0000000c", "1? Skiprg") in new stack
- Goto (macro-hangupcall, s, 7)
- Executing [s @ macro-hangupcall: 7] GotoIf ("SIP/109-0000000c", "1? Skipblkvm") in new stack
- Goto (macro-hangupcall, s, 10)
- Executing [s @ macro-hangupcall: 10] GotoIf ("SIP/109-0000000c", "1? Theend") in new stack
- Goto (macro-hangupcall, s, 12)
- Executing [s @ macro-hangupcall: 12] Hangup ("SIP/109-0000000c", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/109-0000000c' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/109-0000000c'
My settings are as follows:
I create a trunk between these 2 servers to test connectivity and I can successfully make SIP calls.
After creating this trunk I decided to make a special context for this in the file extensions_custom.conf which I defined as follows:
[Remote]
exten => _2XXX, 1, NoOp ()
exten => _2XXX, n, Dial (SS7/106-peer / $ (EXTEN))
exten => _2XXX, n, Hangup ()
I add the remote context in from-internal-custom, I also believe the ss7 context in the extensions.conf file and I add the following
[SS7]
include => from-internal
include => from-trunk
And thus receives all incoming calls to the server for this context.
My problem arises when I try to make a call between servers with the SS7 protocol and which apparently goes all the channels but without the phone ringing call destination.
If someone could help me in this case I would be greatly appreciated.
ss7.conf
[code][Linkset-SIUC]
enabled => yes
enable_st => no
use_connect => yes
context => ss7
language => da
Subservices => auto
[Link-l1]
linkset => SIUC
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes
[Link-l2]
linkset => SIUC
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes
[Host-server.uno.com]
enabled => yes
opc => 0x1
dpc => SIUC: 0x2
links => l1: 1
[Host-server.dos.com]
enabled => yes
opc => 0x2
dpc => SIUC: 0x1
links => l2: 1
[/code]
extensions.conf
[code][SS7]
include => from-internal
include => from-trunk
[From-internal]
include => from-internal-custom
[From-internal-custom]
exten => 1234.1, Playback (demo-congrats); extensions dial CAN 1234
…
…
include => remote
[Remote]
exten => _2XXX, 1, NoOp ()
exten => _2XXX, 2, Dial (SS7/NombreTroncal / $ (EXTEN))
exten => _2XXX, n, Hangup ()[/code]
Thanks in advance for any help you can give me!