Speech Server 2007

pascal.lauener

Neuer User
Mitglied seit
28 Nov 2007
Beiträge
3
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen

Ich versuche verzweifelt Asterisks und den Microsoft Speech Server 2007 zu verbinden.

Ich habe 2 PCs. Auf dem einten läuft der Speech Server und auf dem anderen Asterisks.

Ich kann von beiden PCs mit dem X-LITE direkt auf den Speech Server anrufen mit:
sip:[email protected]:5060;transport=tcp

Ich kann ebenfalls vom Speechserver auf den Asterisks anrufen.

Nur vom Asterisks auf den Speech Server funktioniert nicht.

[Edit foschi: bitte code-Tags verwenden!]

Config:
Code:
sip.conf
[general]
bindport=5060
bindaddr=172.26.129.89
;srvlookup=yes  
disallow=all 
allow=gsm 
allow=ulaw 


;register => 41615119427:thlentth@IP-Adresse/41615119427

[100]
type = friend
context = default
username = 100
host = dynamic
mailbox = 3001
dtmfmode = rfc2833
secret=1234

[172.26.129.54]    ;Speech Server
type=friend
trunk=yes 
qualify=no 
host=172.26.129.54
canreinite=no
nat=yes
disallow=all
allow=ulaw
dtmfmode=rfc2833 
tcpenable=yes 
transport=tcp



extension.conf

[general]
static=yes
writeprotect=yes
autofallthrough=yes
clearglobalvars=no
priorityjumping=yes

[default]

exten => _12.,1,Dial,SIP/${EXTEN}@172.26.129.54|45/r ;Anruf auf Speech Server

exten => _10X,1,Dial,SIP/${EXTEN}|55|Ttr
exten => _0.,1,Dial,SIP/${EXTEN}@out|45/r

Hat jemand eine Idee was noch falsch konfiguriert ist oder hat jemand schon einen Asterisks an einen Speech Server gebunden?

Danke für eure Hilfe.

Gruss Pascal


Sip Log:

Code:
--- (12 headers 16 lines) ---
Using INVITE request as basis request - YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2Zm
YmQ.
Sending to 127.0.0.1 : 53946 (NAT)
Reliably Transmitting (no NAT) to 127.0.0.1:53946:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-6115d34b03311754-1--d8754
3-;received=172.26.129.89;rport=53946
From: "100"<sip:[email protected]>;tag=3d13a52b
To: "12345"<sip:[email protected]>;tag=as4d9c2b11
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="22ae38db"
Content-Length: 0


---
Scheduling destruction of call 'YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.' in
 15000 ms
Found user '100'

<-- SIP read from 172.26.129.89:53946:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-6115d34b03311754-1--d8754
3-;rport
To: "12345"<sip:[email protected]>;tag=as4d9c2b11
From: "100"<sip:[email protected]>;tag=3d13a52b
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 1 ACK
Content-Length: 0


--- (7 headers 0 lines) ---

<-- SIP read from 172.26.129.89:53946:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-687b1b5d88013a25-1--d8754
3-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:53946>
To: "12345"<sip:[email protected]>
From: "100"<sip:[email protected]>;tag=3d13a52b
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INF
O
Content-Type: application/sdp
Proxy-Authorization: Digest username="100",realm="asterisk",nonce="22ae38db",uri
="sip:[email protected]",response="0cc3a329099e5cd1923d16719ec79d8c",algorithm
=MD5
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 423

v=0
o=- 3 2 IN IP4 172.26.129.89
s=CounterPath X-Lite 3.0
c=IN IP4 172.26.129.89
t=0 0
m=audio 32882 RTP/AVP 107 119 100 106 0 105 98 8 101
a=alt:1 1 : uV/NXzQ1 k/4f3XGx 172.26.129.89 32882
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

--- (13 headers 16 lines) ---
Using INVITE request as basis request - YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2Zm
YmQ.
Sending to 127.0.0.1 : 53946 (NAT)
Found user '100'
Found RTP audio format 107
Found RTP audio format 119
Found RTP audio format 100
Found RTP audio format 106
Found RTP audio format 0
Found RTP audio format 105
Found RTP audio format 98
Found RTP audio format 8
Found RTP audio format 101
Peer audio RTP is at port 172.26.129.89:32882
Found description format BV32
Found description format BV32-FEC
Found description format SPEEX
Found description format SPEEX-FEC
Found description format SPEEX-FEC
Found description format iLBC
Found description format telephone-event
Capabilities: us - 0x6 (gsm|ulaw), peer - audio=0x60c (ulaw|alaw|speex|ilbc)/vid
eo=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event)
, combined - 0x1 (telephone-event)
Looking for 12345 in default (domain 172.26.129.89)
list_route: hop: <sip:[email protected]:53946>
Transmitting (no NAT) to 127.0.0.1:53946:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-687b1b5d88013a25-1--d8754
3-;received=172.26.129.89;rport=53946
From: "100"<sip:[email protected]>;tag=3d13a52b
To: "12345"<sip:[email protected]>
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0


---
We're at 172.26.129.89 port 15556
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
13 headers, 10 lines
Reliably Transmitting (NAT) to 172.26.129.54:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.26.129.89:5060;branch=z9hG4bK6fed800f;rport
From: "100" <sip:[email protected]>;tag=as7a586326
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 28 Nov 2007 06:48:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 216

v=0
o=root 1464 1464 IN IP4 172.26.129.89
s=session
c=IN IP4 172.26.129.89
t=0 0
m=audio 15556 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
Nov 28 07:48:24 WARNING[1464]: chan_sip.c:11411 sipsock_read: Recv error: Connec
tion reset by peer
Retransmitting #1 (NAT) to 172.26.129.54:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.26.129.89:5060;branch=z9hG4bK6fed800f;rport
From: "100" <sip:[email protected]>;tag=as7a586326
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 28 Nov 2007 06:48:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 216

v=0
o=root 1464 1464 IN IP4 172.26.129.89
s=session
c=IN IP4 172.26.129.89
t=0 0
m=audio 15556 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
Nov 28 07:48:25 WARNING[1464]: chan_sip.c:11411 sipsock_read: Recv error: Connec
tion reset by peer
Retransmitting #2 (NAT) to 172.26.129.54:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.26.129.89:5060;branch=z9hG4bK6fed800f;rport
From: "100" <sip:[email protected]>;tag=as7a586326
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 28 Nov 2007 06:48:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 216

v=0
o=root 1464 1464 IN IP4 172.26.129.89
s=session
c=IN IP4 172.26.129.89
t=0 0
m=audio 15556 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
Nov 28 07:48:26 WARNING[1464]: chan_sip.c:11411 sipsock_read: Recv error: Connec
tion reset by peer
Retransmitting #3 (NAT) to 172.26.129.54:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 172.26.129.89:5060;branch=z9hG4bK6fed800f;rport
From: "100" <sip:[email protected]>;tag=as7a586326
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 28 Nov 2007 06:48:24 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 216

v=0
o=root 1464 1464 IN IP4 172.26.129.89
s=session
c=IN IP4 172.26.129.89
t=0 0
m=audio 15556 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
Nov 28 07:48:28 WARNING[1464]: chan_sip.c:11411 sipsock_read: Recv error: Connec
tion reset by peer

<-- SIP read from 172.26.129.89:53946:
CANCEL sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-687b1b5d88013a25-1--d8754
3-;rport
To: "12345"<sip:[email protected]>
From: "100"<sip:[email protected]>;tag=3d13a52b
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 2 CANCEL
Proxy-Authorization: Digest username="100",realm="asterisk",nonce="22ae38db",uri
="sip:[email protected]",response="ee1eec833ea4b3e176fd4c51c65e97e1",algorithm
=MD5
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0


--- (9 headers 0 lines) ---
Sending to 127.0.0.1 : 53946 (NAT)
Reliably Transmitting (NAT) to 172.26.129.89:53946:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-687b1b5d88013a25-1--d8754
3-;received=172.26.129.89;rport=53946
From: "100"<sip:[email protected]>;tag=3d13a52b
To: "12345"<sip:[email protected]>;tag=as521777c9
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0


---
Transmitting (NAT) to 172.26.129.89:53946:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-687b1b5d88013a25-1--d8754
3-;received=172.26.129.89;rport=53946
From: "100"<sip:[email protected]>;tag=3d13a52b
To: "12345"<sip:[email protected]>;tag=as521777c9
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 2 CANCEL
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0


---
Scheduling destruction of call '[email protected]'
in 32000 ms

<-- SIP read from 172.26.129.89:53946:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:53946;branch=z9hG4bK-d87543-687b1b5d88013a25-1--d8754
3-;rport
To: "12345"<sip:[email protected]>;tag=as521777c9
From: "100"<sip:[email protected]>;tag=3d13a52b
Call-ID: YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.
CSeq: 2 ACK
Content-Length: 0


--- (7 headers 0 lines) ---
Destroying call 'YmEzMTVhYmI0M2FjODhiZDQyNWNlYWU0ODQ0Y2ZmYmQ.'
 
pascal.lauener schrieb:
Hat jemand eine Idee was noch falsch konfiguriert ist oder hat jemand schon einen Asterisks an einen Speech Server gebunden?

Herzlich Willkommen im Forum!

Leider kann ich Dir bei Deinem ursprünglichen Problem nicht direkt helfen. Eine Frage aber habe ich: Was möchtest Du denn durch die Kopplung erreichen?
 
Wir betreiben aktuell ein uraltes IVR System das abgelöst werden soll.
Da der Speechserver meiner Meinung nach da sehr grosse Optionen bietet und vor allem selber programmiert werden kann, bin ich aktuell daran diesen auszutesten.

Ich wollte den Asterisks als Schnittstelle verwenden um den Speechserver testeshalber mal an einen ISDN Anschluss anzuhängen.

Aber eben das klappt nicht so wirklich.
 
Weil das IVR des Speechservers eine geniale Spracherkennung hat.
 
Erkennt der auch: "Ich möchte mit dem Zug von München nach Hamburg fahren"?
oder ist es gerade mal ein, zwei, verkauf oder service
 
Kostenlos!

Statistik des Forums

Themen
248,518
Beiträge
2,293,333
Mitglieder
378,013
Neuestes Mitglied
snowdrift