Sip GMX und Set Callerid

achim22

Neuer User
Mitglied seit
20 Okt 2005
Beiträge
153
Punkte für Reaktionen
0
Punkte
0
Hallo!
Damit die richtige Callerid angezeigt wird, wenn ich über GMX raustelefoniere habe ich früher unter Asterisk folgendes eingetragen:

exten=_ZXX.,1,SetCallerId,02306xxxxxx

Wo oder wie trage ich das jetzt unter FreePBX ein?
Muss ich dieses unter Trunk....Outbound Caller ID von meinem GMX Trunk eintragen?

Raustelefonieren über GMX geht, er zeigt mit nur die falsche Nummer an.

Und wo trage ich das ein, damit ich für Ortsgespräche nicht immer die Vorwahl wählen muss.

Diese erledigte ich immer so:

exten=_ZXX.,n,dial,SIP/02306${EXTEN}@GMX|45|r


Leider weiß ich nicht wo ich das jetzt unter FreePBX eintragen muss :-(

Gruß
Achim
 
Moin

Das Problem mit der Callerid habe ich bei Sipgate

gruss
stefan
 
stefanusa schrieb:
Moin

Das Problem mit der Callerid habe ich bei Sipgate

gruss
stefan
Für Sipgate kannst Du die Caller ID entweder im Trunk oder in den Extensions setzen. Wichtig ist das Format (49XXXYYYYYY). Ausserdem musst Du bei Sipgate einstellen, dass das Endgerät die Nummer setzen soll.

Gruss Trude
 
das habe ich schon alles versucht wenn ich bei sipgate die nummer umstelle geht es da kann ich so gut wie alles eintrage nur das hilft mir nicht weiter es soll im grunde die nummer uebergen werden die in der jeweiligen extension als outbound cid eingetragen habe
hier mal meine eintrage
im tunk sind nur eintrage die eintrage trung sind allle eitrege bis auf die outbound callerid ich hab hie mal ein log mit angehangen vieleich kann mir irgendjeman helfen

Code:
-- Remote UNIX connection
    -- Executing [0511696041797@from-internal:1] Macro("SIP/2000-b6900470", "dialout-trunk|2|0511696041797||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/2000-b6900470", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] Set("SIP/2000-b6900470", "DIAL_NUMBER=0511696041797") in new stack
    -- Executing [s@macro-dialout-trunk:3] Set("SIP/2000-b6900470", "ROUTE_PASSWD=") in new stack
    -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/2000-b6900470", "1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,6)
    -- Executing [s@macro-dialout-trunk:6] GotoIf("SIP/2000-b6900470", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("SIP/2000-b6900470", "_NODEST=") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("SIP/2000-b6900470", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("SIP/2000-b6900470", "GROUP()=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:10] Macro("SIP/2000-b6900470", "user-callerid|SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/2000-b6900470", "user-callerid: device 2000") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/2000-b6900470", "AMPUSER=2000") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/2000-b6900470", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("SIP/2000-b6900470", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/2000-b6900470", "REALCALLERIDNUM=2000") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("SIP/2000-b6900470", "REALCALLERIDNUM is 2000") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/2000-b6900470", "AMPUSER=2000") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/2000-b6900470", "AMPUSERCIDNAME=STEFAN") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/2000-b6900470", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/2000-b6900470", "AMPUSERCID=2000") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/2000-b6900470", "CALLERID(all)="STEFAN" <2000>") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/2000-b6900470", "REALCALLERIDNUM=2000") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/2000-b6900470", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/2000-b6900470", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/2000-b6900470", "Using CallerID "STEFAN" <2000>") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2000-b6900470", "record-enable|2000|OUT") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/2000-b6900470", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/2000-b6900470", "recordingcheck|20070916-164338|1189953818.19") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20070916-164338|1189953818.19: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/2000-b6900470", "No recording needed") in new stack
    -- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/2000-b6900470", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/2000-b6900470", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:14] Macro("SIP/2000-b6900470", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/2000-b6900470", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/2000-b6900470", "REALCALLERIDNUM is 2000") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/2000-b6900470", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/2000-b6900470", "USEROUTCID="Stefan"<494012345678>") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("SIP/2000-b6900470", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SIP/2000-b6900470", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/2000-b6900470", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/2000-b6900470", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/2000-b6900470", "0?report") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/2000-b6900470", "CALLERID(all)=Stefan<494012345678>") in new stack
    -- Executing [s@macro-outbound-callerid:20] GotoIf("SIP/2000-b6900470", "1?report:hidecid") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/2000-b6900470", "CallerID set to "Stefan" <494012345678>") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/2000-b6900470", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:16] GotoIf("SIP/2000-b6900470", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:17] AGI("SIP/2000-b6900470", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:18] Set("SIP/2000-b6900470", "OUTNUM=0511696041797") in new stack
    -- Executing [s@macro-dialout-trunk:19] Set("SIP/2000-b6900470", "custom=SIP/sipgate_out") in new stack
    -- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/2000-b6900470", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/2000-b6900470", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("SIP/2000-b6900470", "SIP/sipgate_out/0511696041797|300|") in new stack
    -- Called sipgate_out/0511696041797
    -- SIP/sipgate_out-081c57c0 is ringing
    -- SIP/sipgate_out-081c57c0 is ringing
    -- SIP/sipgate_out-081c57c0 answered SIP/2000-b6900470
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/2000-b6900470' in macro 'dialout-trunk'
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/2000-b6900470'
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/2000-b6900470", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2000-b6900470", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/2000-b6900470", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/2000-b6900470", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/2000-b6900470", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/2000-b6900470", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/2000-b6900470", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2000-b6900470' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2000-b6900470'
hoffe mir kann einer helfen

cu stefan

Edit Hupe: Code ordentlich formatiert
 
Es wäre entzückend, wenn Du beim nächsten Mal deine LOGs innerhalb von Code Tags setzen könnte. So wird man ja blind!
Code:
-- Executing [s@macro-outbound-callerid:22] NoOp("SIP/2000-b6900470", "CallerID set to "Stefan" <494012345678>") in new stack
Ich glaube das "CallerID set to "STEFAN" <494012345678>" ist das Problem.

Im Trunk brauchst Du gar nix unter outbound-callerid eintragen.
In den EXtensions vergibst Du die interne Nummer (2000), trägst Stefan bei Display Namen ein und die 494012345678 bei Outbound CID.
Mehr Einträge brauchst Du eigentlich nicht.

Gruss Trude
 
ja sorry hatte ich vergessen

jetzt geht es auch das problem lag einfach daran das laut freepbx der name inerhalb von " " und die cid inerhalb < > eingetragen werden soll da war das problem ich habe jetzt bei CID nur die nummer eingetragen

1000 dank fuer die hilfe
gruss stefan
 
1 problem habe ich noch
bei einem anruf an eine festnetznummer erscheint die gesetzte CID
bei einem anruf an ein mobiltelefon erscheint jedoch meine sipgate telefon nummer
und bei einem anruf von einer sipgate telefonnummer meine account nummer

liegt das vieleicht an sipgate

gruss stefan
 
Hi!
Kann mir jetzt noch einer verraten wo ich die Vorwahl eintrage kann?
Ist irgendwie blöd, wenn ich bei einem Ortsgespräch immer die Vorwahl mitwählen muss :-(
 
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,535
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch