Einzelnen Beitrag anzeigen

geisi

Registriert seit: 19. Sep 2003
449 Beiträge
 
Delphi 6 Professional
 
#4

Re: Asterisk legt nicht auf, wenn caller auflegt

  Alt 4. Feb 2010, 12:59
mir ist aufgefallen, dass das HangUp nach dem Dial nur ausgeführt wird, wenn das Ziel abgehoben hat.

auszug aus extension.conf
Code:
exten => _.,1,Dial(SIP/${EXTEN}@CityCom,300,r)
exten => _.,n,HangUp
exten => h,1,HangUp
Versuch 1:
SIP-Phone auf mein Mobiltelefon. das SIP-Phone legt bevor das Mobiltelefon abhebt auf.
Code:
== Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0664xxxxxxx@from-innovaphones:1] Dial("SIP/75-b7142358", "SIP/0664xxxxxxx@CityCom,300,r") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called 0664xxxxxxx@CityCom
    -- SIP/CityCom-08efa2d8 is ringing
  == Spawn extension (from-innovaphones, 0664xxxxxxx, 1) exited non-zero on 'SIP/75-b7142358'
    -- Executing [h@from-innovaphones:1] Hangup("SIP/75-b7142358", "") in new stack
  == Spawn extension (from-innovaphones, h, 1) exited non-zero on 'SIP/75-b7142358'
Ergebnis: am Ziel läutet es weiter, obwohl das SIP-Phone schon längst aufgelegt hat.

Versuch 2:
SIP-Phone auf mein Mobiltelefon. das SIP-Phone legt erst auf, wenn das Mobiltelefon abgehoben hat.
Code:
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0664xxxxxxx@from-innovaphones:1] Dial("SIP/75-b7130780", "SIP/0664xxxxxxx@CityCom,300,r") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called 0664xxxxxxx@CityCom
    -- SIP/CityCom-08efa2d8 is ringing
    -- SIP/CityCom-08efa2d8 answered SIP/75-b7130780
    -- Executing [h@from-innovaphones:1] Hangup("SIP/75-b7130780", "") in new stack
  == Spawn extension (from-innovaphones, h, 1) exited non-zero on 'SIP/75-b7130780'
  == Spawn extension (from-innovaphones, 0664xxxxxxx, 1) exited non-zero on 'SIP/75-b7130780'
    -- Executing [h@from-innovaphones:1] Hangup("SIP/75-b7130780", "") in new stack
  == Spawn extension (from-innovaphones, h, 1) exited non-zero on 'SIP/75-b7130780'
Ergebnis: beim ziel wird auch richtig aufgelegt

bitte hilfe!!!
mfg geisi
  Mit Zitat antworten Zitat