Asterisk hinter sip-registrar der FB 7570

mircsicz

Neuer User
Mitglied seit
1 Nov 2006
Beiträge
17
Punkte für Reaktionen
0
Punkte
1
Hi Leute,

bin seit Tagen Abends damit beschäftigt meinen * an meine 7570 zu binden um Anrufe vom ISDN anzunehmen oder über ISDN rauszuwählen...

Edit: ankommende Anrufe klappen inzwischen auch, fehlt also nur noch ausgehend...

Hier mein Setup:

<T-Com ISDN> -- <FB 7570 - Freetz 1.2-pre> -- <SIP-Registrar 620-625> -- <Asterisk PBX 1.8.3.2-0.8866> -- <Grandstream, Snom und FB 7570 als SIP-Clients>

Leider klappt im Moment nur internes Vermitteln der Echo-Test's etc und Voicemail. In- und Outbound Call's wollen einfach nicht klappen!

folgenden Config verwende ich im Moment zum testen:

sip.conf
Code:
[general]
port=5060                             
bindaddr=0.0.0.0
;srvlookup=yes
nat=yes
language=de
tos=lowdelay
canreinvite=no
dtmfmode=inband
disallow=all
allow=alaw
allow=ulaw
allow=gsm
allow=g722

;------------------------- Externe SIP Account's-----------------------------
register => 51xx:[email protected]:5061/51xx
register => 893xx:[email protected]:5061/893xx
register => 893xy:[email protected]:5061/893xy
register => 96768xx:[email protected]:5061/96768xx
register => 96788xx:[email protected]:5061/96788xx
register => 96788xy:[email protected]:5061/96788xy

[51xx]
type=friend
context=IN-ISDN
username=51xx
fromuser=51xx
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no

[893xx]
type=friend
context=IN-ISDN
username=893xx
fromuser=893xx
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no

[893xy]
type=friend
context=IN-ISDN
username=893xy
fromuser=893xy
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no

[96768xx]
type=friend
context=IN-ISDN
username=96768xx
fromuser=96768xx
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no

[96788xx]
type=friend
context=IN-ISDN
username=96788xx
fromuser=96788xx
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no

[96788xy]
type=friend
context=IN-ISDN
username=96788xy
fromuser=96788xy
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no

;------------------------- Interne SIP Account's-----------------------------
[20]
username=20
secret=passwort
type=friend
callerid=ISDN DECT <51xx>
host=dynamic
;domain=10.10.10.100
mailbox=20
context=default

[21]
username=21
secret=passwort
type=friend
callerid=Silke's Büro Privat <51xx>
host=dynamic
mailbox=21
context=default

[22]
username=22
secret=passwort
type=friend
callerid=Silke's Büro <96788xx>
host=dynamic
mailbox=22
context=default

[23]
username=23
secret=passwort
type=friend
callerid=MacBook-Pro <23>
host=dynamic
mailbox=23
context=default

[24]
username=24
secret=passwort
type=friend
callerid=iPhone <51xx>
host=dynamic
mailbox=23
context=default

[25]
username=25
secret=passwort
type=friend
callerid=SIP Test <96768xx>
host=dynamic
mailbox=25
context=default

extensions.conf
Code:
[general]
static=yes
writeprotect=no
priorityjumping=yes

;----------------------------MACRO-------------------------------------

[macro-localsip]

exten => s,1,Set(LANGUAGE()=de)
exten => s,n,Dial(SIP/${ARG1},20,tTr)
exten => s,n,Goto(s-${DIALSTATUS},1)

exten => s-NOANSWER,1,Playback(vm-theperson)
exten => s-NOANSWER,n,SayDigits(${ARG1})
exten => s-NOANSWER,n,Playback(vm-isunavail)
exten => s-NOANSWER,n,Hangup

exten => s-BUSY,1,Playback(vm-theperson)
exten => s-BUSY,2,SayDigits(${ARG1})
exten => s-BUSY,3,Playback(vm-isonphone)
exten => s-BUSY,4,Hangup

exten => s,103,Playback(vm-theperson)
exten => s,104,SayDigits(${ARG1})
exten => s,105,Playback(vm-isunavail)
exten => s,106,Hangup

exten => _s-.,1,Goto(s-NOANSWER,1)

;------------------------DEFAULT CONTEXT---------------------------------

[default]
include => IN-ISDN
include => home
include => lokal
include => voicemenu
include => asterisk-demo
include => echotest
include => mailbox
include => mailbox_own


;---------------------SIP Teilnehmer-----------------------------

[lokal]
; Erreichbarkeit der Nebenstellen 11-99 untereinander herstellen
exten => _XX,1,Dial(SIP/${EXTEN},55,TtrWw)

exten => _22X,1,Macro(localsip,${EXTEN:1})

exten => 600,1,MusicOnHold()
exten => 700,1,MusicOnHold(laut)


;---------------------VOICEMENÜ SIP Intern-------------------------

[voicemenu]

exten => 500,1,set(TIMEOUT(response)=10)
exten => 500,n,Answer
exten => 500,n,Wait(1)
exten => 500,n,Background(ansage1)

exten => 1,1,Dial(CAPI/contr1/10)
exten => 1,n,Dial,Hangup

exten => 2,1,Dial(CAPI/contr1/19)
exten => 2,n,Dial,Hangup

exten => 3,1,Dial(SIP/20,10)
exten => 3,n,Dial,Hangup

exten => 4,1,Dial(SIP/21,10)
exten => 4,n,Dial,Hangup

exten => t,1,Dial(SIP/22,10)
exten => i,1,Playback(invalid)


;-----------------------ECHOTEST & MAILBOX-----------------------
[asterisk-demo]
exten => 82,1,answer
exten => 82,n,wait(1)
exten => 82,n,playback(demo-abouttotry)
exten => 82,n,dial(IAX2/[email protected]/s@default)
exten => 82,n,playback(demo-nogo)
exten => 82,n,goto(s,6)

[echotest]
exten => 81,1,answer
exten => 81,2,wait(1)
exten => 81,3,playback(demo-echotest)
exten => 81,4,echo
exten => 81,5,playback(demo-echodone)
exten => 81,6,hangup

[mailbox]
exten => 80,1,answer
exten => 80,2,wait(1)
exten => 80,3,voicemailmain
exten => 80,4,hangup

[mailbox_own]
exten => 88,1,answer
exten => 88,2,wait,1
exten => 88,3,voicemailmain,s${CALLERIDNUM}
exten => 88,4,hangup

[IN-ISDN]
exten => 51xx,1,Dial(SIP/22&SIP/23&SIP/20,10)
exten => 51xx,n,Voicemail(20)
exten => 51xx,n,HangUP()

exten => 96768xx,1,Dial(SIP/23&SIP/24,15)
exten => 96768xx,n,Voicemail(25)
exten => 96768xx,n,HangUP()

exten => 96788xx,1,Dial(SIP/22,5)
exten => 96788xx,n,Voicemail(22)
exten => 96788xx,n,HangUP()

[home]
exten => _XXX.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _XXX.,n,Dial(SIP/${exten}@${CALLERID(num)})
exten => _XXX.,n,HangUP()

exten => _+X.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _+X.,n,Dial(SIP/${exten}@fritz-out)
exten => _+X.,n,HangUP()

Code:
[voip]
voip=1				// <b>VoIP</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_VOIP_ACTIVE', 'voip_voip', '1')]
				// [HTML:<div ID='DIV_VOIP_ACTIVE'>]
voip_registrar=1		// Registrar-Modus [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_VOIP_REGISTRAR_MODE', 'voip_voip_registrar', '1')]
				// [HTML:<div ID='DIV_VOIP_REGISTRAR_MODE'>]
voip_max_clients=4		// Registrar-Modus: Max. Clients [OPTION:0|0,1|1,2|2,3|3,4|4,5|5,6|6,7|7,8|8,9|9,10|10]
voip_realm=fritz.box		// Registrar-Modus: Authentication-Realm [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_VOIP_REGISTRAR_MODE', 'voip_voip_registrar', '1')</script>]
voip_udp_port=5061		// SIP Port [WIDTH:50px]
voip_rtp_start=4000		// RTP/RTCP Start-Port [WIDTH:50px]
voip_rtp_max=4			// Max. Anzahl an RTP/RTCP Ports [OPTION:0|0,1|1,2|2,3|3,4|4,5|5,6|6,7|7,8|8,9|9,10|10,11|11,12|12,13|13,14|14,15|15,16|16,17|17,18|18,19|19,20|20]
voip_register_interval=3600	// Registrierungs-Intervall (in sec) [WIDTH:50px]
voip_keep_alive=180		// Keep-Alive alle X sec senden (0=aus) [WIDTH:50px]
voip_use_vad=0			// VAD (silence detection) [OPTION:1|aktiviert,0|deaktiviert]
voip_ip_addr=			// IP-Adresse des Interfaces (optional) [WIDTH:250px]
voip_stun=			// STUN-Server [WIDTH:250px]
voip_stun_port=3478		// STUN-Port [WIDTH:50px]
voip_ice=1			// ICE [OPTION:1|aktiviert,0|deaktiviert]
voip_nameserver=		// Nameserver (max. 4, Komma-getrennt) [WIDTH:250px]
voip_codecs=g711		// Codecs (g711, speex, gsm, Komma-getrennt) [WIDTH:250px]
voip_allow_unknown=1		// Ereignis auslösen, bei unbekannten Accounts? (nicht ändern!) [HIDE:1]
				// [HTML:</div><script>set_group('DIV_VOIP_ACTIVE', 'voip_voip', '1')</script>]

[capi]
capi_controller=1,4,3,5		// Listen CAPI-Controller. Komma getrennt
capi_int_prefix=0049		// Landesvorwahl (z.B. 0049) [WIDTH:50px]
capi_nat_prefix=6xx		// Ortsvorwahl (z.B. 203) [WIDTH:50px]
capi_ulaw=0			// Alaw=0, Ulaw=1 (nicht ändern!) [HIDE:1]
capi_allow_unknown=0		// Ereignis auslösen, bei unbekannten Accounts? [HIDE:1]

[acc1]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=ISDN				// Name [WIDTH:250px]
number=51xx				// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=1		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=51xx			// Username [WIDTH:250px]
registrar_pass=passwort			// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*610		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

[acc2]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=ISDN				// Name [WIDTH:250px]
number=893xx				// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=1		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=893xx			// Username [WIDTH:250px]
registrar_pass=passwort			// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*611		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

[acc3]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=ISDN				// Name [WIDTH:250px]
number=893xy				// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=1		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=893xy			// Username [WIDTH:250px]
registrar_pass=passwort			// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*612		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

[acc4]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=ISDN				// Name [WIDTH:250px]
number=96768xx				// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=1		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=96768xx			// Username [WIDTH:250px]
registrar_pass=passwort			// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*613		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

[acc5]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=ISDN				// Name [WIDTH:250px]
number=96788xx				// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=1		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=96788xx			// Username [WIDTH:250px]
registrar_pass=passwort			// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*614		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

[acc6]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=ISDN				// Name [WIDTH:250px]
number=96788xy				// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=1		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=96788xy			// Username [WIDTH:250px]
registrar_pass=passwort			// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*615		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

Wenn ich vom Grandstream angemeldet als Nst. 22 versuche rauszuwählen bekomme ich auf der *-Console folgende Meldung:

Code:
  == Using SIP RTP CoS mark 5
    -- Executing [01751615xxx@default:1] Set("SIP/22-00000008", "CALLERID(num)=96788xx") in new stack
    -- Executing [01751615xxx@default:2] Dial("SIP/22-00000008", "SIP/@96788xx") in new stack
  == Using SIP RTP CoS mark 5
    -- Called @96788xx
    -- SIP/96788xx-00000009 is ringing
    -- Got SIP response 603 "Decline" back from 10.10.2.3:5061
    -- SIP/96788xx-00000009 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [01751615xxx@default:3] Hangup("SIP/22-00000008", "") in new stack
  == Spawn extension (default, 01751615xxx, 3) exited non-zero on 'SIP/22-00000008'

hier noch ne Ausgabe von "sip show peers"
Code:
alix-wall*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status     
20/20                      10.10.2.3                                D   N      5060     Unmonitored 
21/21                      10.10.10.222                             D   N      5062     Unmonitored 
22/22                      10.10.10.222                             D   N      5060     Unmonitored 
23/23                      10.10.10.176                             D   N      5001     Unmonitored 
24/24                      (Unspecified)                            D   N      0        Unmonitored 
25/25                      (Unspecified)                            D   N      0        Unmonitored 
51xx/51xx                  10.10.2.3                                           5061     Unmonitored 
893xx/893xx                10.10.2.3                                           5061     Unmonitored 
893xy/893xy                10.10.2.3                                           5061     Unmonitored 
96768xx/96768xx            10.10.2.3                                           5061     Unmonitored 
96788xx/96788xx            10.10.2.3                                           5061     Unmonitored 
96788xy/96788xy           10.10.2.3                                           5061     Unmonitored 
12 sip peers [Monitored: 0 online, 0 offline Unmonitored: 10 online, 2 offline]

und "sip show registry"

Code:
alix-wall*CLI> sip show registry 
Host                                    dnsmgr Username       Refresh State                Reg.Time                 
10.10.2.3:5061                          N      96788xy           3585 Registered           Sat, 01 Oct 2011 20:30:20
10.10.2.3:5061                          N      96788xx           3585 Registered           Sat, 01 Oct 2011 20:30:21
10.10.2.3:5061                          N      96768xx           3585 Registered           Sat, 01 Oct 2011 20:30:21
10.10.2.3:5061                          N      893xy             3585 Registered           Sat, 01 Oct 2011 20:30:21
10.10.2.3:5061                          N      893xx             3585 Registered           Sat, 01 Oct 2011 20:30:21
10.10.2.3:5061                          N      51xx              3585 Registered           Sat, 01 Oct 2011 20:30:21
6 SIP registrations.

Ich hoffe Ihr nehmt mich an die Hand und geht ein Stück vom Weg mit mir... ;-)

Greetz
Mircsicz
 
Zuletzt bearbeitet:
fang erst mal mit der warung an und enferne SetCallerID aus deinem dilplan
 
Hi Chaos2k,

hatte das heute morgen auch schon gesehen, aber nicht im Dialpplan gefunden... Gerade nochmal gesucht und festgestellt dass es noch ein Überbleibsel des Auskommentierten Sipgate-Kram war!

Das war nur im Context:

Code:
;[sipgate_out]

;exten => _0.,1,SetCallerID(SIP-ID)
;exten => _0.,n,Dial(SIP/${EXTEN:1}@sipgate-out)
;exten => _0.,n,Hangup

den habe ich jetzt auskommentiert, hab die Sipgate Nr schon seit zig Jahren. Benutzt habe ich die aber noch nie, also ist das jetzt komplett aus der Config auskommentiert! Werde heute Abend zu Hause testen ob es jetzt im Context fritz-out landet...
 
Warum hast Du zwei [sip-in]?
In welchem [fritz-out] sollen Gespräche landen, ich finde den nicht? In Deiner extensions.conf gibt es nur einen [home], in dem Du versuchst mit @fritz-out raus zu wählen. Das Peer [fritz-out] gibt es aber in der sip.conf nicht, da sehe ich nur [fritz-620] bis [fritz-625].
Das Peer für ankommende Verbindungen fehlt komplett, entweder legst Du ein [fritz-in] mit insecure=port,invite an oder Du ergänzt [fritz-620] so, dass es auch für ankommende Gespräche passt.
nat=yes im [general] stimmt in Deinem Fall nicht.
Was soll Set(CALLERID(num)=${CALLERID(num)}) bewirken?
Vordefinierte Variablen wie ${EXTEN} müssen groß geschrieben werden.

Da es in Deiner Konfiguration noch an mehreren Ecken fehlt, empfehle ich einen intensiven Blick ins Asterisk-Buch.

Für Deine Belange kannst Du sip debug im Moment noch aus lassen, dann wird die CLI übersichtlicher und Du findest Fehler evtl. leichter.
 
Zuletzt bearbeitet von einem Moderator:
Des war noch bissi verquer gestern, hatte am Morgen echt noch einige Fehler im Dialplan. Gestern habe ich dann 1.1.4 mit dtmfbox auf meine W920V geflasht.

Habe oben die Config's nun entsprechend angepasst... Mit dieser Config werden nun eingehende Anrufe sauber geroutet. Das Problem das nun noch besteht ist dass ich keine Anrufe nach aussen machen kann:

Code:
  == Using SIP RTP CoS mark 5
    -- Executing [01751615xxx@default:1] Set("SIP/22-00000006", "CALLERID(num)=96788xx") in new stack
    -- Executing [01751615xxx@default:2] Dial("SIP/22-00000006", "SIP/@96788xx") in new stack
  == Using SIP RTP CoS mark 5
    -- Called @96788xx
    -- SIP/96788xx-00000007 is ringing
    -- Got SIP response 603 "Decline" back from 10.10.2.3:5061
    -- SIP/96788xx-00000007 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [01751615xxx@default:3] Hangup("SIP/22-00000006", "") in new stack
  == Spawn extension (default, 01751615xxx, 3) exited non-zero on 'SIP/22-00000006'

ich hoffe hierbei könnt Ihr mir nun noch helfen.

Edit: Im Dialplan und an dtmfbox nichts geändert, sehe ich nun komischerweise das:

Code:
  == Using SIP RTP CoS mark 5
    -- Executing [01778101xxx@default:1] Set("SIP/22-00000016", "CALLERID(num)=96788xx") in new stack
    -- Executing [01778101xxx@default:2] Dial("SIP/22-00000016", "SIP/@96788xx") in new stack
  == Using SIP RTP CoS mark 5
    -- Called @96788xx
    -- SIP/96788xx-00000017 is ringing
  == Spawn extension (default, 01778101xxx, 2) exited non-zero on 'SIP/22-00000016'

Aber leider klingelt keine der Nummern die ich probiere...

Greetz
Mircsicz
 
Zuletzt bearbeitet:
Da ist immer noch was falsch:

Dial("SIP/22-00000006", "SIP/@96788xx")

check mal deinen dialplan.

Vielleicht solltest du mal schreiben was in diesem Fall pasieren soll!
Die Hinweise von rentier-s hast du auch nicht beachtet, denn was soll Set(CALLERID(num)=${CALLERID(num)}) bewirken?
 
Zuletzt bearbeitet:
Das steht wohl in direktem Zusammenhang zueinander. Ich möchte folgendes erreichen: In den jeweiligen Nst. ist immer die zugehörige MSN als CALLERID(num) eingetragen. Es soll also wenn von:

Code:
[22]
username=22
secret=passwort
type=friend
callerid=Silke's Büro <96788xx>
host=dynamic
mailbox=22
context=default
eine externe Nummer gewählt wird auf:

Code:
[96788xx]
type=friend
context=IN-ISDN
username=96788xx
fromuser=96788xx
secret=passwort
host=10.10.2.3
fromdomain=10.10.2.3
port=5061
qualify=no
insecure=port,invite
nat=no
rausgewählt werden.

Analog dann mit Nst. 20 auf die MSN 51xx usw. ...

Die hierzu gehörende Regel:

Code:
[home]
exten => _XXX.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _XXX.,n,Dial(SIP/${exten}@${CALLERID(num)})
exten => _XXX.,n,HangUP()

exten => _+X.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _+X.,n,Dial(SIP/${exten}@${CALLERID(num)})
exten => _+X.,n,HangUP()
scheint da das "Set(CALLERID(num)=${CALLERID(num)})" nur meine Auslegung dieses Wunsches ist aber noch nicht zu funktionieren.

Greetz
Mircsicz
 
Was macht CALLERID(num)=${CALLERID(num)}?
Es setzt die CallerIdNumber wieder auf den selben Wert - blödsinn.

rentier-s sagte Dir auch
rentier-s schrieb:
Vordefinierte Variablen wie ${EXTEN} müssen groß geschrieben werden.
Schau dir deinen letzten post an, dann fällt Dir dazu auch was auf


Code:
[home]
exten => _XXX.,1,Dial(SIP/${EXTEN}@96788xx)
exten => _XXX.,n,Hangup()

exten => _+XXX.,1,Dial(SIP/${EXTEN}@96788xx)
exten => _+XXX.,n,Hangup()

wenn du das hast, dann kannst Du auch optimierungen probieren:
Code:
[home]
exten => _XXX.,1,Dial(SIP/${EXTEN}@${CALLERID(num)})
exten => _XXX.,n,Hangup()

exten => _+XXX.,1,Dial(SIP/${EXTEN}@${CALLERID(num)})
exten => _+XXX.,n,Hangup()
 
Zuletzt bearbeitet:
Ich hatte:

Code:
[home]
exten => _XXX.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _XXX.,n,Dial(SIP/${exten}@${CALLERID(num)}) 
exten => _XXX.,n,HangUP() 

exten => _+X.,1,Set(CALLERID(num)=${CALLERID(num)}) 
exten => _+X.,n,Dial(SIP/${exten}@${CALLERID(num)}) 
exten => _+X.,n,HangUP()
und jetzt mit
Code:
[home]
exten => _XXX.,1,Dial(SIP/${EXTEN}@${CALLERID(num)})
exten => _XXX.,n,Hangup()

exten => _+XXX.,1,Dial(SIP/${EXTEN}@${CALLERID(num)})
exten => _+XXX.,n,Hangup()
klappt es wenn ich nach 01751615xxx rauswähle, was noch nicht klappt ist wenn ich nach 00491751615xxx rauswähle. Und +491751615xxx hab ich noch gar nicht probiert...

Schonmal tausend Dank soweit!

Greetz
Mircsicz
 
Hi hi,

also wenn ich probiere mein Handy anzuwählen seh ich folgendes auf dem CLI:

Code:
  == Using SIP RTP CoS mark 5
    -- Executing [00491751615xxx@default:1] Dial("SIP/20-00000004", "SIP/00491751615xxx@51xx") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 00491751615xxx@51xx
    -- SIP/51xx-00000005 is ringing
  == Spawn extension (default, 00491751615xxx, 1) exited non-zero on 'SIP/20-00000004'
mit "sip set debug on" sieht es dann folgendermaßen aus:
Code:
alix-wall*CLI> sip set debug on
SIP Debugging enabled

<--- SIP read from UDP:10.10.2.3:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.10.2.3:5060;rport;branch=z9hG4bKFA35FB77B3E4E157
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1339 INVITE
Contact: <sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498>
Max-Forwards: 70
Expires: 120
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.82 (Feb 19 2010)
Supported: 100rel,replaces
llow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 353

v=0
o=user 15319276 15319276 IN IP4 10.10.2.3
s=call
c=IN IP4 10.10.2.3
t=0 0
m=audio 7078 RTP/AVP 2 102 100 99 97 8 0 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079
<------------->
--- (17 headers 16 lines) ---
Sending to 10.10.2.3:5060 (NAT)
Using INVITE request as basis request - [email protected]
Found peer '20' for '20' from 10.10.2.3:5060

<--- Reliably Transmitting (no NAT) to 10.10.2.3:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.10.2.3:5060;branch=z9hG4bKFA35FB77B3E4E157;received=10.10.2.3;rport=5060
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>;tag=as48464df9
Call-ID: [email protected]
CSeq: 1339 INVITE
Server: Asterisk PBX 1.8.3.2-0.8866
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="2a2c5cc4"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 6400 ms (Method: INVITE)

<--- SIP read from UDP:10.10.2.3:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.10.2.3:5060;rport;branch=z9hG4bKFA35FB77B3E4E157
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>;tag=as48464df9
Call-ID: [email protected]
CSeq: 1339 ACK
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.82 (Feb 19 2010)
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:10.10.2.3:5060 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.10.2.3:5060;rport;branch=z9hG4bKB4397BF4155189D4
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1340 INVITE
Contact: <sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498>
Authorization: Digest username="20", realm="asterisk", nonce="2a2c5cc4", uri="sip:[email protected]", response="5e7ef7853961a62c863e807d0e840923", algorithm=MD5
Max-Forwards: 70
Expires: 120
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.82 (Feb 19 2010)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 353

v=0
o=user 15319276 15319276 IN IP4 10.10.2.3
s=call
c=IN IP4 10.10.2.3
t=0 0
m=audio 7078 RTP/AVP 2 102 100 99 97 8 0 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079
<------------->
--- (18 headers 16 lines) ---
Sending to 10.10.2.3:5060 (no NAT)
Using INVITE request as basis request - [email protected]
Found peer '20' for '20' from 10.10.2.3:5060
  == Using SIP RTP CoS mark 5
Found RTP audio format 2
Found RTP audio format 102
Found RTP audio format 100
Found RTP audio format 99
Found RTP audio format 97
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 101
Found audio description format G726-32 for ID 2
Found audio description format G726-32 for ID 102
Found audio description format G726-40 for ID 100
Found audio description format G726-24 for ID 99
Found audio description format iLBC for ID 97
Found audio description format telephone-event for ID 101
Capabilities: us - 0x100e (gsm|ulaw|alaw|g722), peer - audio=0x200c0c (ulaw|alaw|g726|ilbc|h264)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x1 (telephone-event|), combined - 0x0 (nothing)
Peer audio RTP is at port 10.10.2.3:7078
Looking for 00491751615xxx in default (domain alix.christel.home)
list_route: hop: <sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498>

<--- Transmitting (no NAT) to 10.10.2.3:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.10.2.3:5060;branch=z9hG4bKB4397BF4155189D4;received=10.10.2.3;rport=5060
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1340 INVITE
Server: Asterisk PBX 1.8.3.2-0.8866
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>
    -- Executing [00491751615xxx@default:1] Dial("SIP/20-00000006", "SIP/00491751615xxx@51xx") in new stack
  == Using SIP RTP CoS mark 5
Audio is at 5060
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x1000 (g722) to SDP
Reliably Transmitting (no NAT) to 10.10.2.3:5061:
INVITE sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 10.10.2.2:5060;branch=z9hG4bK0c0f36e1
Max-Forwards: 70
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]:5061>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.8.3.2-0.8866
Date: Fri, 07 Oct 2011 06:11:53 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 252

v=0
o=root 1812529228 1812529228 IN IP4 10.10.2.2
s=Asterisk PBX 1.8.3.2-0.8866
c=IN IP4 10.10.2.2
t=0 0
m=audio 12426 RTP/AVP 8 0 3 9
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:9 G722/8000
a=ptime:20
a=sendrecv

---
    -- Called 00491751615xxx@51xx

<--- SIP read from UDP:10.10.2.3:5061 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.10.2.2:5060;received=10.10.2.2;branch=z9hG4bK0c0f36e1
Call-ID: [email protected]
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]>
CSeq: 102 INVITE
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---

<--- SIP read from UDP:10.10.2.3:5061 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.10.2.2:5060;received=10.10.2.2;branch=z9hG4bK0c0f36e1
Call-ID: [email protected]
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]>;tag=4eAcueN3gTPxg14LlqCGh5dYSauOMVnu
CSeq: 102 INVITE
Contact: "ISDN" <sip:[email protected]:5061;transport=UDP>
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, REGISTER
Content-Length: 0

<------------->
--- (9 headers 0 lines) ---
    -- SIP/51xx-00000007 is ringing

<--- Transmitting (no NAT) to 10.10.2.3:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.10.2.3:5060;branch=z9hG4bKB4397BF4155189D4;received=10.10.2.3;rport=5060
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>;tag=as15050e62
Call-ID: [email protected]
CSeq: 1340 INVITE
Server: Asterisk PBX 1.8.3.2-0.8866
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0


<------------>
    -- Registered IAX2 'iaxmodem' (AUTHENTICATED) at 127.0.0.1:58035

<--- SIP read from UDP:10.10.2.3:5060 --->
CANCEL sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.10.2.3:5060;rport;branch=z9hG4bKB4397BF4155189D4
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1340 CANCEL
Authorization: Digest username="20", realm="asterisk", nonce="2a2c5cc4", uri="sip:[email protected]", response="ed74623833da2d1270b6a6f1fb8986b1", algorithm=MD5
Reason: Q.850; cause=16
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.82 (Feb 19 2010)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Content-Length: 0

<------------->
--- (13 headers 0 lines) ---
Sending to 10.10.2.3:5060 (no NAT)

<--- Reliably Transmitting (no NAT) to 10.10.2.3:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.10.2.3:5060;branch=z9hG4bKB4397BF4155189D4;received=10.10.2.3;rport=5060
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>;tag=as15050e62
Call-ID: [email protected]
CSeq: 1340 INVITE
Server: Asterisk PBX 1.8.3.2-0.8866
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to 10.10.2.3:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.2.3:5060;branch=z9hG4bKB4397BF4155189D4;received=10.10.2.3;rport=5060
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>;tag=as15050e62
Call-ID: [email protected]
CSeq: 1340 CANCEL
Server: Asterisk PBX 1.8.3.2-0.8866
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)
Reliably Transmitting (no NAT) to 10.10.2.3:5061:
CANCEL sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 10.10.2.2:5060;branch=z9hG4bK0c0f36e1
Max-Forwards: 70
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]:5061>
Call-ID: [email protected]
CSeq: 102 CANCEL
User-Agent: Asterisk PBX 1.8.3.2-0.8866
Content-Length: 0


---
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)
  == Spawn extension (default, 00491751615xxx, 1) exited non-zero on 'SIP/20-00000006'

<--- SIP read from UDP:10.10.2.3:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.10.2.3:5060;rport;branch=z9hG4bKB4397BF4155189D4
From: <sip:[email protected]>;tag=F90DCF110371957A
To: <sip:[email protected]>;tag=as15050e62
Call-ID: [email protected]
CSeq: 1340 ACK
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.82 (Feb 19 2010)
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Really destroying SIP dialog '[email protected]' Method: ACK

<--- SIP read from UDP:10.10.2.3:5061 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.2.2:5060;received=10.10.2.2;branch=z9hG4bK0c0f36e1
Call-ID: [email protected]
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]>;tag=4eAcueN3gTPxg14LlqCGh5dYSauOMVnu
CSeq: 102 CANCEL
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---

<--- SIP read from UDP:10.10.2.3:5061 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.10.2.2:5060;received=10.10.2.2;branch=z9hG4bK0c0f36e1
Call-ID: [email protected]
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]>;tag=4eAcueN3gTPxg14LlqCGh5dYSauOMVnu
CSeq: 102 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, REGISTER
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 10.10.2.3:5061:
ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 10.10.2.2:5060;branch=z9hG4bK0c0f36e1
Max-Forwards: 70
From: "ISDN DECT" <sip:[email protected]>;tag=as6711ee53
To: <sip:[email protected]:5061>;tag=4eAcueN3gTPxg14LlqCGh5dYSauOMVnu
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.8.3.2-0.8866
Content-Length: 0


---
Really destroying SIP dialog '[email protected]' Method: INVITE
Reliably Transmitting (no NAT) to 10.10.2.3:5060:
OPTIONS sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498 SIP/2.0
Via: SIP/2.0/UDP 10.10.2.2:5060;branch=z9hG4bK439478b3
Max-Forwards: 70
From: "asterisk" <sip:[email protected]>;tag=as5a3d93c3
To: <sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.3.2-0.8866
Date: Fri, 07 Oct 2011 06:12:17 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


---

<--- SIP read from UDP:10.10.2.3:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.10.2.2:5060;branch=z9hG4bK439478b3
From: "asterisk" <sip:[email protected]>;tag=as5a3d93c3
To: <sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498>;tag=BC3FBB541C3B3872
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Contact: <sip:[email protected];uniq=8D5A3826A8888D166097F7AFFD498>
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.82 (Feb 19 2010)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 351

v=0
o=user 8963489 8963489 IN IP4 10.10.2.3
s=call
c=IN IP4 10.10.2.3
t=0 0
m=audio 7082 RTP/AVP 2 102 100 99 97 8 0 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7083
<------------->
--- (15 headers 16 lines) ---
Really destroying SIP dialog '[email protected]:5060' Method: OPTIONS
Hoffe Du kannst darin etwas entdecken, ich habe gerade nichts gesehen!


P.S.: Ein weiteres Thema das noch aufgetaucht ist ist mein hier auch verwendetes ISDN DECT, mit dem kann ich intern via SIP angerufen werden und auch telefonieren. Eine interne Nst. selbst anzurufen klappt aber nicht. Wenn ich via ISDN raus- oder reinwähle wird zwar signalisiert aber keine Sprache übertragen.

Greetz
Mircsicz
 
Zuletzt bearbeitet:

Neueste Beiträge

Statistik des Forums

Themen
244,860
Beiträge
2,219,677
Mitglieder
371,577
Neuestes Mitglied
bigt2014
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.