Ephone és asterisk [MEGOLDVA]

Fórumok

Sziasztok,

Szeretnék segítséget kérni az ephone által szolgáltatott vonal beállításához asterisknél(elastix), mert nem boldogulok vele.

Regisztráció sikeresen megtörtént, kimenő hívások működnek ezen keresztül, de a bejövő egyszerűen sehogy sem akar.
Bejövő szabálynál fel van véve rendesen, hogy ami az ephonos számra érkezik az menjen X mellékre, de mikor felhívom ezt az ephone-os számot akkor csak a következő szöveget kapom: "The number you have dialed is not in service, please check the number and try again"

CLI-ben a következőt kapom a hívás közben:

Executing [s@from-trunk-sip-Ephone:1] Set("SIP/Ephone-00000011", "GROUP()=OUT_8") in new stack
-- Executing [s@from-trunk-sip-Ephone:2] Goto("SIP/Ephone-00000011", "from-trunk,s,1") in new stack
-- Goto (from-trunk,s,1)
-- Executing [s@from-trunk:1] NoOp("SIP/Ephone-00000011", "No DID or CID Match") in new stack
-- Executing [s@from-trunk:2] Answer("SIP/Ephone-00000011", "") in new stack
-- Executing [s@from-trunk:3] Wait("SIP/Ephone-00000011", "2") in new stack
-- Executing [s@from-trunk:4] Playback("SIP/Ephone-00000011", "ss-noservice") in new stack
-- Playing 'ss-noservice.gsm' (language 'en')
== Spawn extension (from-trunk, s, 4) exited non-zero on 'SIP/Ephone-00000011'
-- Executing [h@from-trunk:1] Macro("SIP/Ephone-00000011", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/Ephone-00000011", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/Ephone-00000011", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/Ephone-00000011", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/Ephone-00000011", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/Ephone-00000011", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/Ephone-00000011", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/Ephone-00000011", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/Ephone-00000011", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/Ephone-00000011", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/Ephone-00000011", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/Ephone-00000011", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/Ephone-00000011", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/Ephone-00000011' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/Ephone-00000011'

Gondolom ebből a "No DID or CID Match" rész lenne a probléma oka, de nem értem, hogy miért.

Találkozott már valaki ilyennel?
Milyen beállításokat használtok mikor felveszitek a trunkot?

Nekem az alábbiak vannak megadva a peer details-nél (user details részt üresen hagytam):

type=peer
username=0621xxxxxxx
secret=jelszó
host=sip.ephone.hu
canreinvite=no
insecure=invite, port
qualify=yes
nat=yes
disallow=all
allow=ulaw&alaw
sendrpid=yes
trustrpid=yes
callerid=0621xxxxxxx
fromuser=0621xxxxxxx
fromdomain=sip.ephone.hu

register: felhasználónév:jelszó@sip.ephone.hu /0621xxxxxxx

Hasonló beállításokkal a neophone-os számaim tökéletesen működnek.

Hozzászólások

Hmm, ezt a szöveget gyakorlatilag az Asterisked mondja be (lejátssza az ss-noservice filet) - jól látom, hogy ehhez fel is veszi a hívást? ...mindegy.

Idézd azt a részt a configból, ami a bejövő hívást kezeli.
Kellene lennie valami ilyesminek: exten => 06211234567,1,Mi_legyen

Szerintem ezzel lehet gondja.

Két dolgot probálnék a helyedben, az elektronikus ügyfélszolgálaton állitsd be a sip azonosítódon a trunk típusú szolgáltatás -t igen -re, ha pedig az nem segít és a telefonszámod különbözik a felhasználónevedtől, akkor próbáld a felhasználónevet a register string végére írni a telefonszám helyett. Ha az sem segít, privátban dobd át a felhasználónevedet és megnézem mit rontasz el.