Εμφάνιση 1-5 από 5
  1. #1
    Εγγραφή
    06-12-2003
    Περιοχή
    Αθήνα, Βούλα
    Ηλικία
    37
    Μηνύματα
    4.666
    Downloads
    13
    Uploads
    1
    Τύπος
    VDSL2
    Ταχύτητα
    109999/10999
    ISP
    Conn-x OTE
    DSLAM
    ΟΤΕ - ΒΟΥΛΑ
    Router
    Asus DSL-N17U & pfSense
    SNR / Attn
    10(dB) / 4,5(dB)
    Path Level
    Fastpath
    Στο σπίτι έχω δύο Asterisk:

    α) Έναν σε ένα VM με Centos7, όπου είναι ο κύριος και πέφτει η ISDN του ΟΤΕ, τα sip trunks μου και τα εσωτερικά

    β) Έναν σε Raspberry Pi 4 Model B, στο οποίο έχω βάλει ένα στικάκι bluetooth, συνδέεται το κινητό μου με bluetooth και βγάζω κλήσεις. Οι εισερχόμενες/εξερχόμενες δρομολογούνται στον κύριο asterisk με SIP Trunk μεταξύ τους.

    Το bluetooth στικάκι δεν έπαιζε σωστά στο VM με τον κύριο Asterisk. Επίσης στον Asterisk στο Raspberry με το ενσωματωμένο bluetooth module, είχα παραμορφωμένη φωνή και για αυτό αναγκάστηκα και έβαλα bluetooth στικάκι σε μια από τις usb του.

    Όταν με καλεί κάποιος στο κινητό χωρίς απόκρυψη, όλα παίζουν κανονικά και στα εσωτερικά μου στον κύριο Asterisk βλέπω το νούμερό του, μαζί με το πρόθεμα που έχω βάλει να στέλνει μπροστά.

    Όταν όμως με καλεί με απόκρυψη, αντί να βλέπω Unknown ή Private, βλέπω το πρόθεμα συν το όνομα του trunk (πχ 39raspberry) . Αν αντί να στείλω την εισερχόμενη στον κύριο Asterisk, την στείλω σε ένα εσωτερικό στο Raspberry, τότε βλέπω κανονικά την λέξη Unknown.

    Έχει κανείς ιδέα πως μπορώ να βλέπω την λέξη Unknown και όταν έρχεται στον κύριο Asterisk κλήση με απόκρυψη;


    Οι ρυθμίσεις για την διασύνδεση μεταξύ των δυο asterisk είναι οι παρακάτω:

    Spoiler:
    α) Κύριος Asterisk (IP 172.16.0.2)
    i) Outgoing
    Trunk Name: raspberry-out
    PEER Details:
    username=centos7asterisk
    type=peer
    trustrpid=yes
    transport=udp
    sendrpid=pai
    secret=enapassword
    qualifyfreq=60
    qualify=yes
    host=172.16.0.3
    fromuser=centos7asterisk
    encryption=yes
    disallow=all
    canreinvite=no
    allow=opus
    context=from-trunk

    ii) Incoming
    USER Context: raspberry
    USER Details:
    type=user
    trustrpid=yes
    transport=udp
    sendrpid=pai
    secret=diopassword
    host=172.16.0.2
    encryption=yes
    disallow=all
    context=from-trunk
    canreinvite=no
    allow=opus


    β) Raspberry Asterisk (IP 172.16.0.3)
    i) Outgoing
    Trunk Name: centos7asterisk-out
    PEER Details:
    username=raspberry
    type=peer
    trustrpid=yes
    transport=udp
    sendrpid=pai
    secret=diopassword
    qualifyfreq=60
    qualify=yes
    host=172.16.0.2
    fromuser=raspberry
    encryption=yes
    disallow=all
    canreinvite=no
    allow=opus

    ii) Incoming
    USER Context: raspberry
    USER Details:
    type=user
    trustrpid=yes
    transport=udp
    sendrpid=pai
    secret=enapassword
    host=172.16.0.3
    encryption=yes
    disallow=all
    context=from-internal
    canreinvite=no
    allow=opus


    Στον Asterisk στο Raspberry, το Inbound route το στέλνω στο Trunk. Στον κύριο Asterisk, έχω φτιάξει ένα Inbound route με DID το κινητό μου και το στέλνω σε ένα Ring Group.

  2. #2
    Εγγραφή
    11-09-2017
    Μηνύματα
    1.638
    Downloads
    1
    Uploads
    0
    ISP
    None
    Log από τον κεντρικό asterisk με μία κλήση, παρακαλώ.

  3. #3
    Εγγραφή
    06-12-2003
    Περιοχή
    Αθήνα, Βούλα
    Ηλικία
    37
    Μηνύματα
    4.666
    Downloads
    13
    Uploads
    1
    Τύπος
    VDSL2
    Ταχύτητα
    109999/10999
    ISP
    Conn-x OTE
    DSLAM
    ΟΤΕ - ΒΟΥΛΑ
    Router
    Asus DSL-N17U & pfSense
    SNR / Attn
    10(dB) / 4,5(dB)
    Path Level
    Fastpath
    Παράθεση Αρχικό μήνυμα από astbox Εμφάνιση μηνυμάτων
    Log από τον κεντρικό asterisk με μία κλήση, παρακαλώ.
    Έτοιμος! Όπου 694xxxxxxx , είναι το DID .

    Spoiler:
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [694xxxxxxx@from-trunk:1] Set("SIP/raspberry-000000f9", "__DIRECTION=INBOUND") in new stack
    -- Executing [694xxxxxxx@from-trunk:2] Gosub("SIP/raspberry-000000f9", "sub-record-check,s,1(in,694xxxxxxx,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/raspberry-000000f9", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/raspberry-000000f9", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/raspberry-000000f9", "NOW=1616802368") in new stack
    -- Executing [s@sub-record-check:4] Set("SIP/raspberry-000000f9", "__DAY=27") in new stack
    -- Executing [s@sub-record-check:5] Set("SIP/raspberry-000000f9", "__MONTH=03") in new stack
    -- Executing [s@sub-record-check:6] Set("SIP/raspberry-000000f9", "__YEAR=2021") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/raspberry-000000f9", "__TIMESTR=20210327-014608") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/raspberry-000000f9", "__FROMEXTEN=unknown") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/raspberry-000000f9", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/raspberry-000000f9", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/raspberry-000000f9", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/raspberry-000000f9", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/raspberry-000000f9", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/raspberry-000000f9", "2?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/raspberry-000000f9", "1?sub-record-check,in,1") in new stack
    -- Goto (sub-record-check,in,1)
    -- Executing [in@sub-record-check:1] NoOp("SIP/raspberry-000000f9", "Inbound Recording Check to 694xxxxxxx") in new stack
    -- Executing [in@sub-record-check:2] Set("SIP/raspberry-000000f9", "FROMEXTEN=unknown") in new stack
    -- Executing [in@sub-record-check:3] ExecIf("SIP/raspberry-000000f9", "9?Set(FROMEXTEN=raspberry)") in new stack
    -- Executing [in@sub-record-check:4] Gosub("SIP/raspberry-000000f9", "recordcheck,1(dontcare,in,694xxxxxxx)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/raspberry-000000f9", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/raspberry-000000f9", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/raspberry-000000f9", "") in new stack
    -- Executing [in@sub-record-check:5] Return("SIP/raspberry-000000f9", "") in new stack
    -- Executing [694xxxxxxx@from-trunk:3] Set("SIP/raspberry-000000f9", "__FROM_DID=694xxxxxxx") in new stack
    -- Executing [694xxxxxxx@from-trunk:4] Set("SIP/raspberry-000000f9", "returnhere=1") in new stack
    -- Executing [694xxxxxxx@from-trunk:5] Gosub("SIP/raspberry-000000f9", "app-blacklist-check,s,1()") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/raspberry-000000f9", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/raspberry-000000f9", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/raspberry-000000f9", "") in new stack
    -- Executing [694xxxxxxx@from-trunk:6] Set("SIP/raspberry-000000f9", "CDR(did)=694xxxxxxx") in new stack
    -- Executing [694xxxxxxx@from-trunk:7] GotoIf("SIP/raspberry-000000f9", "0?") in new stack
    -- Executing [694xxxxxxx@from-trunk:8] ExecIf("SIP/raspberry-000000f9", "0 ?Set(CALLERID(name)=raspberry)") in new stack
    -- Executing [694xxxxxxx@from-trunk:9] Set("SIP/raspberry-000000f9", "__MOHCLASS=") in new stack
    -- Executing [694xxxxxxx@from-trunk:10] Set("SIP/raspberry-000000f9", "__REVERSAL_REJECT=FALSE") in new stack
    -- Executing [694xxxxxxx@from-trunk:11] GotoIf("SIP/raspberry-000000f9", "1?post-reverse-charge") in new stack
    -- Goto (from-trunk,694xxxxxxx,13)
    -- Executing [694xxxxxxx@from-trunk:13] NoOp("SIP/raspberry-000000f9", "") in new stack
    -- Executing [694xxxxxxx@from-trunk:14] Set("SIP/raspberry-000000f9", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
    -- Executing [694xxxxxxx@from-trunk:15] Set("SIP/raspberry-000000f9", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
    -- Executing [694xxxxxxx@from-trunk:16] Set("SIP/raspberry-000000f9", "CALLERID(name-pres)=allowed_not_screened") in new stack
    -- Executing [694xxxxxxx@from-trunk:17] Set("SIP/raspberry-000000f9", "CALLERID(num-pres)=allowed_not_screened") in new stack
    -- Executing [694xxxxxxx@from-trunk:18] NoOp("SIP/raspberry-000000f9", "CallerID Entry Point") in new stack
    -- Executing [694xxxxxxx@from-trunk:19] Goto("SIP/raspberry-000000f9", "app-setcid,5,1") in new stack
    -- Goto (app-setcid,5,1)
    -- Executing [5@app-setcid:1] NoOp("SIP/raspberry-000000f9", "(Mobile) Changing cid to Mobile <39raspberry>") in new stack
    -- Executing [5@app-setcid:2] Set("SIP/raspberry-000000f9", "CALLERID(name)=Mobile") in new stack
    -- Executing [5@app-setcid:3] Set("SIP/raspberry-000000f9", "CALLERID(num)=39raspberry") in new stack
    -- Executing [5@app-setcid:4] Goto("SIP/raspberry-000000f9", "ext-group,602,1") in new stack
    -- Goto (ext-group,602,1)
    -- Executing [602@ext-group:1] GotoIf("SIP/raspberry-000000f9", "0?cid") in new stack
    -- Executing [602@ext-group:2] PlayTones("SIP/raspberry-000000f9", "ring") in new stack
    -- Executing [602@ext-group:3] Progress("SIP/raspberry-000000f9", "") in new stack
    -- Executing [602@ext-group:4] Macro("SIP/raspberry-000000f9", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/raspberry-000000f9", "TOUCH_MONITOR=1616802368.403") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/raspberry-000000f9", "AMPUSER=39raspberry") in new stack
    -- Executing [s@macro-user-callerid:3] Set("SIP/raspberry-000000f9", "HOTDESCKCHAN=raspberry-000000f9") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/raspberry-000000f9", "HOTDESKEXTEN=raspberry") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/raspberry-000000f9", "HOTDESKCALL=0") in new stack
    -- Executing [s@macro-user-callerid:6] ExecIf("SIP/raspberry-000000f9", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [s@macro-user-callerid:7] ExecIf("SIP/raspberry-000000f9", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/raspberry-000000f9", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/raspberry-000000f9", "1?Set(REALCALLERIDNUM=39raspberry)") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/raspberry-000000f9", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:11] GotoIf("SIP/raspberry-000000f9", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/raspberry-000000f9", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/raspberry-000000f9", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/raspberry-000000f9", "1?report") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/raspberry-000000f9", "Macro Depth is 1") in new stack
    -- Executing [s@macro-user-callerid:22] GotoIf("SIP/raspberry-000000f9", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] GotoIf("SIP/raspberry-000000f9", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:24] ExecIf("SIP/raspberry-000000f9", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
    -- Executing [s@macro-user-callerid:25] Set("SIP/raspberry-000000f9", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:26] GotoIf("SIP/raspberry-000000f9", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,42)
    -- Executing [s@macro-user-callerid:42] Set("SIP/raspberry-000000f9", "CALLERID(number)=39raspberry") in new stack
    -- Executing [s@macro-user-callerid:43] Set("SIP/raspberry-000000f9", "CALLERID(name)=Mobile") in new stack
    -- Executing [s@macro-user-callerid:44] GotoIf("SIP/raspberry-000000f9", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:45] Set("SIP/raspberry-000000f9", "CDR(cnam)=Mobile") in new stack
    -- Executing [s@macro-user-callerid:46] Set("SIP/raspberry-000000f9", "CDR(cnum)=39raspberry") in new stack
    -- Executing [s@macro-user-callerid:47] Set("SIP/raspberry-000000f9", "CHANNEL(language)=en") in new stack
    -- Executing [602@ext-group:5] Macro("SIP/raspberry-000000f9", "blkvm-setifempty,") in new stack
    -- Executing [s@macro-blkvm-setifempty:1] GotoIf("SIP/raspberry-000000f9", "1?init") in new stack
    -- Goto (macro-blkvm-setifempty,s,4)
    -- Executing [s@macro-blkvm-setifempty:4] Set("SIP/raspberry-000000f9", "__BLKVM_CHANNEL=SIP/raspberry-000000f9") in new stack
    -- Executing [s@macro-blkvm-setifempty:5] Set("SIP/raspberry-000000f9", "SHARED(BLKVM,SIP/raspberry-000000f9)=TRUE") in new stack
    -- Executing [s@macro-blkvm-setifempty:6] Set("SIP/raspberry-000000f9", "GOSUB_RETVAL=TRUE") in new stack
    -- Executing [s@macro-blkvm-setifempty:7] MacroExit("SIP/raspberry-000000f9", "") in new stack
    -- Executing [602@ext-group:6] GotoIf("SIP/raspberry-000000f9", "1?skipov") in new stack
    -- Goto (ext-group,602,9)
    -- Executing [602@ext-group:9] Set("SIP/raspberry-000000f9", "RRNODEST=") in new stack
    -- Executing [602@ext-group:10] Set("SIP/raspberry-000000f9", "__NODEST=602") in new stack
    -- Executing [602@ext-group:11] GosubIf("SIP/raspberry-000000f9", "0?sub-rgsetcid,s,1()") in new stack
    -- Executing [602@ext-group:12] Set("SIP/raspberry-000000f9", "__PICKUPMARK=602") in new stack
    -- Executing [602@ext-group:13] Gosub("SIP/raspberry-000000f9", "sub-record-check,s,1(rg,602,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/raspberry-000000f9", "9?initialized") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] NoOp("SIP/raspberry-000000f9", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/raspberry-000000f9", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/raspberry-000000f9", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/raspberry-000000f9", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/raspberry-000000f9", "2?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/raspberry-000000f9", "0?sub-record-check,rg,1") in new stack
    -- Executing [s@sub-record-check:18] NoOp("SIP/raspberry-000000f9", "Generic rg Recording Check - raspberry 602") in new stack
    -- Executing [s@sub-record-check:19] Gosub("SIP/raspberry-000000f9", "recordcheck,1(dontcare,rg,602)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/raspberry-000000f9", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/raspberry-000000f9", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/raspberry-000000f9", "") in new stack
    -- Executing [s@sub-record-check:20] Return("SIP/raspberry-000000f9", "") in new stack
    -- Executing [602@ext-group:14] Set("SIP/raspberry-000000f9", "RingGroupMethod=ringall") in new stack
    -- Executing [602@ext-group:15] Macro("SIP/raspberry-000000f9", "dial,90,tTwW,304-306-307-308-309-311-394") in new stack
    -- Executing [s@macro-dial:1] NoOp("SIP/raspberry-000000f9", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
    -- Executing [s@macro-dial:2] ExecIf("SIP/raspberry-000000f9", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial:3] ExecIf("SIP/raspberry-000000f9", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial:4] ExecIf("SIP/raspberry-000000f9", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial:5] ExecIf("SIP/raspberry-000000f9", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial:6] AGI("SIP/raspberry-000000f9", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    dialparties.agi: Caller ID name is 'Mobile' number is '39raspberry'
    dialparties.agi: CW Ignore is:
    dialparties.agi: CF Ignore is:
    dialparties.agi: CW IN_USE/BUSY is: 1
    > dialparties.agi: USE_CONFIRMATION: 'FALSE'
    > dialparties.agi: RINGGROUP_INDEX: ''
    dialparties.agi: Methodology of ring is 'ringall'
    -- dialparties.agi: Added extension 304 to extension map
    -- dialparties.agi: Added extension 306 to extension map
    -- dialparties.agi: Added extension 307 to extension map
    -- dialparties.agi: Added extension 308 to extension map
    -- dialparties.agi: Added extension 309 to extension map
    -- dialparties.agi: Added extension 311 to extension map
    -- dialparties.agi: Added extension 394 to extension map
    -- dialparties.agi: Extension 304 cf is disabled
    -- dialparties.agi: Extension 306 cf is disabled
    -- dialparties.agi: Extension 307 cf is disabled
    -- dialparties.agi: Extension 308 cf is disabled
    -- dialparties.agi: Extension 309 cf is disabled
    -- dialparties.agi: Extension 311 cf is disabled
    -- dialparties.agi: Extension 394 cf is disabled
    -- dialparties.agi: Extension 304 do not disturb is disabled
    -- dialparties.agi: Extension 306 do not disturb is disabled
    -- dialparties.agi: Extension 307 do not disturb is disabled
    -- dialparties.agi: Extension 308 do not disturb is disabled
    -- dialparties.agi: Extension 309 do not disturb is disabled
    -- dialparties.agi: Extension 311 do not disturb is disabled
    -- dialparties.agi: Extension 394 do not disturb is disabled
    > dialparties.agi: extnum 304 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/304 - Caller ID is not defined
    > dialparties.agi: extnum 306 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/306 - Caller ID is not defined
    > dialparties.agi: extnum 307 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/307 - Caller ID is not defined
    > dialparties.agi: extnum 308 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/308 - Caller ID is not defined
    > dialparties.agi: extnum 309 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/309 - Caller ID is not defined
    > dialparties.agi: extnum 311 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/311 - Caller ID is not defined
    > dialparties.agi: extnum 394 has: cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: DbDel CALLTRACE/394 - Caller ID is not defined
    -- dialparties.agi: Filtered ARG3: 304-306-307-308-309-311-394
    > dialparties.agi: NODEST: 602 adding M(auto-blkvm) to dialopts: tTwWM(auto-blkvm)
    > dialparties.agi: NODEST: 602 blkvm enabled macro already in dialopts: tTwWM(auto-blkvm)
    -- <SIP/raspberry-000000f9>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:9] NoOp("SIP/raspberry-000000f9", "Returned from dialparties with groups to dial") in new stack
    -- Executing [s@macro-dial:10] NoOp("SIP/raspberry-000000f9", "ringall array ") in new stack
    -- Executing [s@macro-dial:11] Set("SIP/raspberry-000000f9", "__FMGL_DIAL=") in new stack
    -- Executing [s@macro-dial:12] Set("SIP/raspberry-000000f9", "LOOPCNT=7") in new stack
    -- Executing [s@macro-dial:13] Set("SIP/raspberry-000000f9", "ITER=1") in new stack
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=304") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 304") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=2") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "1?ndloopbegin") in new stack
    -- Goto (macro-dial,s,14)
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=306") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 306") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=3") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "1?ndloopbegin") in new stack
    -- Goto (macro-dial,s,14)
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=307") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 307") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=4") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "1?ndloopbegin") in new stack
    -- Goto (macro-dial,s,14)
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=308") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 308") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=5") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "1?ndloopbegin") in new stack
    -- Goto (macro-dial,s,14)
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=309") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 309") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=6") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "1?ndloopbegin") in new stack
    -- Goto (macro-dial,s,14)
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=311") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 311") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=7") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "1?ndloopbegin") in new stack
    -- Goto (macro-dial,s,14)
    -- Executing [s@macro-dial:14] Set("SIP/raspberry-000000f9", "__EXTTOCALL=394") in new stack
    -- Executing [s@macro-dial:15] NoOp("SIP/raspberry-000000f9", "Working with 394") in new stack
    -- Executing [s@macro-dial:16] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:17] ExecIf("SIP/raspberry-000000f9", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
    -- Executing [s@macro-dial:18] Set("SIP/raspberry-000000f9", "ITER=8") in new stack
    -- Executing [s@macro-dial:19] GotoIf("SIP/raspberry-000000f9", "0?ndloopbegin") in new stack
    -- Executing [s@macro-dial:20] Macro("SIP/raspberry-000000f9", "dial-ringall-predial-hook,") in new stack
    -- Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("SIP/raspberry-000000f9", "") in new stack
    -- Executing [s@macro-dial:21] ExecIf("SIP/raspberry-000000f9", "0?Set(ds=SIP/304&SIP/306&IAX2/307/307&SIP/308&SIP/309&SIP/311&SIP/394,90,twWM(auto-blkvm)g)") in new stack
    -- Executing [s@macro-dial:22] Dial("SIP/raspberry-000000f9", "SIP/304&SIP/306&IAX2/307/307&SIP/308&SIP/309&SIP/311&SIP/394,90,twWM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
    [2021-03-27 01:46:08] WARNING[25154][C-0000007e]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
    [2021-03-27 01:46:08] WARNING[25154][C-0000007e]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
    [2021-03-27 01:46:08] WARNING[25154][C-0000007e]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
    [2021-03-27 01:46:08] WARNING[25154][C-0000007e]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
    [2021-03-27 01:46:08] WARNING[25154][C-0000007e]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
    [2021-03-27 01:46:08] WARNING[25154][C-0000007e]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- SIP/394-000000fa Internal Gosub(func-apply-sipheaders,s,1) start
    -- Executing [s@func-apply-sipheaders:1] NoOp("SIP/394-000000fa", "Applying SIP Headers to channel SIP/394-000000fa") in new stack
    -- Executing [s@func-apply-sipheaders:2] Set("SIP/394-000000fa", "TECH=SIP") in new stack
    -- Executing [s@func-apply-sipheaders:3] Set("SIP/394-000000fa", "SIPHEADERKEYS=") in new stack
    -- Executing [s@func-apply-sipheaders:4] While("SIP/394-000000fa", "0") in new stack
    -- Jumping to priority 10
    -- Executing [s@func-apply-sipheaders:11] Return("SIP/394-000000fa", "") in new stack
    == Spawn extension (from-internal, 602, 1) exited non-zero on 'SIP/394-000000fa'
    -- SIP/394-000000fa Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    -- Called SIP/394
    -- SIP/394-000000fa is ringing
    == Spawn extension (macro-dial, s, 22) exited non-zero on 'SIP/raspberry-000000f9' in macro 'dial'
    == Spawn extension (ext-group, 602, 15) exited non-zero on 'SIP/raspberry-000000f9'
    -- Executing [h@ext-group:1] Macro("SIP/raspberry-000000f9", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/raspberry-000000f9", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/raspberry-000000f9", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/raspberry-000000f9", "") in new stack
    == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/raspberry-000000f9' in macro 'hangupcall'
    == Spawn extension (ext-group, h, 1) exited non-zero on 'SIP/raspberry-000000f9'

  4. #4
    Εγγραφή
    18-03-2018
    Μηνύματα
    589
    Downloads
    0
    Uploads
    0
    ISP
    Forthnet
    Σου είναι εύκολο να ανεβάσεις το log από την μεριά του pi. Έχω μια ιδέα απλά θέλει custom dialplan magic.
    Ερώτηση, πως και δεν έκανες την ένωση με IAX trunk;

  5. #5
    Εγγραφή
    11-09-2017
    Μηνύματα
    1.638
    Downloads
    1
    Uploads
    0
    ISP
    None
    Εδώ αλλάζει

    -- Goto (app-setcid,5,1)
    -- Executing [5@app-setcid:1] NoOp("SIP/raspberry-000000f9", "(Mobile) Changing cid to Mobile <39raspberry>") in new stack
    -- Executing [5@app-setcid:2] Set("SIP/raspberry-000000f9", "CALLERID(name)=Mobile") in new stack
    -- Executing [5@app-setcid:3] Set("SIP/raspberry-000000f9", "CALLERID(num)=39raspberry") in new stack
    -- Executing [5@app-setcid:4] Goto("SIP/raspberry-000000f9", "ext-group,602,1") in new stack

    έχεις το module set-cid, μήπως έχεις εκεί κάποιο κανόνα;

Bookmarks

Bookmarks

Δικαιώματα - Επιλογές

  • Δεν μπορείτε να δημοσιεύσετε νέα θέματα
  • Δεν μπορείτε να δημοσιεύσετε νέα μηνύματα
  • Δεν μπορείτε να αναρτήσετε συνημμένα
  • Δεν μπορείτε να επεξεργαστείτε τα μηνύματα σας
  •  
  • Τα BB code είναι σε λειτουργία
  • Τα Smilies είναι σε λειτουργία
  • Το [IMG] είναι σε λειτουργία
  • Το [VIDEO] είναι σε λειτουργία
  • Το HTML είναι εκτός λειτουργίας