MD Mobility Client

Betrifft Artikel:

http://community.pascom.net/showthread.php?1103-MD-Mobility-Client

*Hallo Zusammen

Ich kann keine Anrufe mit dem Mobility-Client tätigen. Habe den MD Mobility gemäss folgendem Link eingerichtet:
http://wiki.pascom.net/confluence/di...MobilityClient

Wenn ich aus dem Client ein Anrufe tätige, erhalte ich die Meldung: Leider ist dies keine gültige Nummer … und wenn ich in der Asterisk-Cli den Anruf verfolge, ist die gewählte Nummer nicht ersichtlich. Es nur immer 60 ersichtlich.

Leider war die Freude von kurzer Dauer. Es kommt schon wieder die Meldung “Leider haben sie keine gültige Nummer …”

Hat jemand allenfalls noch einen weiteren Lösungsansatz für mich?

Vielen Dank und Grüsse
Fabian

Guten Morgen Fabian,

kannst du dann mal bitte die aktuelle CLI-Ausgabe posten.
Fortsetzung zu http://community.pascom.net/showthread.php?1103-MD-Mobility-Client&highlight=mobility

Grüße
Markus

Hallo Markus

Sehr gerne, wenn Du noch mehr Daten benötigst, einfach melden.

Vielen Dank und Grüsse
Fabian

Mobile-Nr: 0794112233
Hub-Nr: 41445001122
Gerufene-Nr.: wird nicht aufgeführt

Connected to Asterisk 11.6-cert2 currently running on TVA-INFO (pid = 1479)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [41445001122@mdc_incoming-2:1] Set(“SIP/mdc_trunk_conf-2-00000004”, “MDC_CALLER_NUM_TRUNK=0794112233”) in new stack
– Executing [41445001122@mdc_incoming-2:2] Set(“SIP/mdc_trunk_conf-2-00000004”, “MDC_CALLEE_NUM_TRUNK=41445001122”) in new stack
– Executing [41445001122@mdc_incoming-2:3] Goto(“SIP/mdc_trunk_conf-2-00000004”, “mdc_trunk-5,s,1”) in new stack
– Goto (mdc_trunk-5,s,1)
– Executing [s@mdc_trunk-5:1] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,callee number: 41445001122 caller number: 0794112233”) in new stack
callee number: 41445001122 caller number: 0794112233
– Executing [s@mdc_trunk-5:2] UserEvent(“SIP/mdc_trunk_conf-2-00000004”, “ResolveCallerName,Strategy: default,Outbound: 0,Channel: SIP/mdc_trunk_conf-2-00000004”) in new stack
– Executing [s@mdc_trunk-5:3] Wait(“SIP/mdc_trunk_conf-2-00000004”, “0.25”) in new stack
– Executing [s@mdc_trunk-5:4] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,MDC_RESOLVENAME_HITS = 1”) in new stack
MDC_RESOLVENAME_HITS = 1
– Executing [s@mdc_trunk-5:5] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,CALLERID(name) = Fabian”) in new stack
CALLERID(name) = Fabian
– Executing [s@mdc_trunk-5:6] Set(“SIP/mdc_trunk_conf-2-00000004”, “MDC_NUMPREFIX_TRUNK=”) in new stack
– Executing [s@mdc_trunk-5:7] Goto(“SIP/mdc_trunk_conf-2-00000004”, “mdc_mapping-5,41445001122,1”) in new stack
– Goto (mdc_mapping-5,41445001122,1)
– Executing [41445001122@mdc_mapping-5:1] Set(“SIP/mdc_trunk_conf-2-00000004”, “CHANNEL(language)=de”) in new stack
– Executing [41445001122@mdc_mapping-5:2] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,mapping from 41445001122 to *60”) in new stack
mapping from 41445001122 to *60
– Executing [41445001122@mdc_mapping-5:3] Goto(“SIP/mdc_trunk_conf-2-00000004”, “mdc_external,*60,1”) in new stack
– Goto (mdc_external,*60,1)
– Executing *60@mdc_external:1] SIPAddHeader(“SIP/mdc_trunk_conf-2-00000004”, "“Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"”) in new stack
– Executing *60@mdc_external:2] GosubIf(“SIP/mdc_trunk_conf-2-00000004”, “1?sub_initcall,s,1(ext,*60)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,sub_initcall descent: ext exten: *60”) in new stack
sub_initcall descent: ext exten: *60
– Executing [s@sub_initcall:2] GosubIf(“SIP/mdc_trunk_conf-2-00000004”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/mdc_trunk_conf-2-00000004”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/mdc_trunk_conf-2-00000004”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_TRANSFERBACK_HOP=0”) in new stack
– Executing [s@sub_initcall:4] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALDESCENT=ext”) in new stack
– Executing [s@sub_initcall:5] Goto(“SIP/mdc_trunk_conf-2-00000004”, “ext,1”) in new stack
– Goto (sub_initcall,ext,1)
– Executing [ext@sub_initcall:1] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCALLERNUMINIT=0794112233”) in new stack
– Executing [ext@sub_initcall:2] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCALLEENUMINIT=41445001122”) in new stack
– Executing [ext@sub_initcall:3] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCALLEENUMMAP=*60”) in new stack
– Executing [ext@sub_initcall:4] Return(“SIP/mdc_trunk_conf-2-00000004”, “”) in new stack
– Executing *60@mdc_external:3] Goto(“SIP/mdc_trunk_conf-2-00000004”, “main,*60,1”) in new stack
– Goto (main,*60,1)
– Executing *60@main:1] Gosub(“SIP/mdc_trunk_conf-2-00000004”, “sub_defcall,s,1(*60)”) in new stack
– Executing [s@sub_defcall:1] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCALLEENUM=*60”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCALLERNUM=0794112233”) in new stack
– Executing [s@sub_defcall:4] GotoIf(“SIP/mdc_trunk_conf-2-00000004”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCALLERNAME=Fabian”) in new stack
– Executing [s@sub_defcall:9] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_DIALCHANNELNAME=mdc_trunk_conf-2”) in new stack
– Executing [s@sub_defcall:10] Return(“SIP/mdc_trunk_conf-2-00000004”, “”) in new stack
– Executing *60@main:2] Goto(“SIP/mdc_trunk_conf-2-00000004”, “mdc_distribute,*60,1”) in new stack
– Goto (mdc_distribute,*60,1)
– Executing *60@mdc_distribute:1] Gosub(“SIP/mdc_trunk_conf-2-00000004”, “sub_mobility,s,1(0794112233)”) in new stack
– Executing [s@sub_mobility:1] Verbose(“SIP/mdc_trunk_conf-2-00000004”, “1,sub_mobility:: callerid(num): 0794112233”) in new stack
sub_mobility:: callerid(num): 0794112233
– Executing [s@sub_mobility:2] Set(“SIP/mdc_trunk_conf-2-00000004”, “__MDC_MOBILITY_INCOMING=1”) in new stack
– Executing [s@sub_mobility:3] GotoIf(“SIP/mdc_trunk_conf-2-00000004”, “0?failed,1”) in new stack
– Executing [s@sub_mobility:4] Goto(“SIP/mdc_trunk_conf-2-00000004”, “0794112233,1”) in new stack
– Goto (sub_mobility,0794112233,1)
– Executing [0794112233@sub_mobility:1] Set(“SIP/mdc_trunk_conf-2-00000004”, “MDC_EXTEN=0794112233”) in new stack
– Executing [0794112233@sub_mobility:2] Goto(“SIP/mdc_trunk_conf-2-00000004”, “failed,1”) in new stack
– Goto (sub_mobility,failed,1)
– Executing [failed@sub_mobility:1] Answer(“SIP/mdc_trunk_conf-2-00000004”, “”) in new stack
– Executing [failed@sub_mobility:2] Playback(“SIP/mdc_trunk_conf-2-00000004”, “invalid”) in new stack
– <SIP/mdc_trunk_conf-2-00000004> Playing ‘invalid.alaw’ (language ‘de’)
== Spawn extension (sub_mobility, failed, 2) exited non-zero on ‘SIP/mdc_trunk_conf-2-00000004’
– Executing [h@sub_mobility:1] Gosub(“SIP/mdc_trunk_conf-2-00000004”, “def_hangup,s,1(0794112233,CALL)”) in new stack
– Executing [s@def_hangup:1] NoOp(“SIP/mdc_trunk_conf-2-00000004”, “>>>def_hangup:: EXTEN: 0794112233 DIALSTATUS: QUEUESTATUS: REASON: CALL”) in new stack

Auszug Cli, wenn ich vom Mobile auf die Hauptnummer anrufe:

TVA-Hauptnummer: 41445001120
Anruf von Mobile-Nr: 0794112233

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [41445001120@mdc_incoming-2:1] Set(“SIP/mdc_trunk_conf-2-00000005”, “MDC_CALLER_NUM_TRUNK=0794112233”) in new stack
– Executing [41445001120@mdc_incoming-2:2] Set(“SIP/mdc_trunk_conf-2-00000005”, “MDC_CALLEE_NUM_TRUNK=41445001120”) in new stack
– Executing [41445001120@mdc_incoming-2:3] Goto(“SIP/mdc_trunk_conf-2-00000005”, “mdc_trunk-5,s,1”) in new stack
– Goto (mdc_trunk-5,s,1)
– Executing [s@mdc_trunk-5:1] Verbose(“SIP/mdc_trunk_conf-2-00000005”, “1,callee number: 41445001120 caller number: 0794112233”) in new stack
callee number: 41445001120 caller number: 0794112233
– Executing [s@mdc_trunk-5:2] UserEvent(“SIP/mdc_trunk_conf-2-00000005”, “ResolveCallerName,Strategy: default,Outbound: 0,Channel: SIP/mdc_trunk_conf-2-00000005”) in new stack
– Executing [s@mdc_trunk-5:3] Wait(“SIP/mdc_trunk_conf-2-00000005”, “0.25”) in new stack

Re,

so wie es aussieht findet er keinen Treffer bei der Mobile-Nummer.
Poste bitte mal die Ausgabe von dialplan show @sub_mobility

Grüße
Markus

Hoffe, ich habe es richtig gemacht.

Zu Beginn (Beim 1. Thema hatte ich die Nummer 0794112233 bei der Zielrufnummer hinterlegt)

Vielen Dank und Grüsse
Fabian

**dialplan show @sub_mobility: **

TVA-INFO*CLI> dialplan show @sub_mobility
Context ‘sub_mobility’ created by ‘pbx_config’ ]
‘0041794112233’ => 1. GoToIf($ “${DB(MDC/MOBILE/7)}” = “” ]?failed,1) [pbx_config]
2. Set(MDC_CALLEE_NUM=${DB(MDC/MOBILE/7)}) [pbx_config]
3. GoSub(sub_user,s,1(caller,3,205,Fabian,Fabian S,205,205,205)) [pbx_config]
4. GoTo(main,${MDC_CALLEE_NUM},1) [pbx_config]
‘failed’ => 1. Answer() [pbx_config]
2. PlayBack(invalid) [pbx_config]
3. HangUp(${HANGUPCAUSE}) [pbx_config]
‘h’ => 1. GoSub(def_hangup,s,1(${MDC_EXTEN},${DIALSTATUS},${QUEUESTATUS},CALL)) [pbx_config]
‘s’ => 1. Verbose(1,sub_mobility:: callerid(num): ${ARG1}) [pbx_config]
2. Set(__MDC_MOBILITY_INCOMING=1) [pbx_config]
3. GoToIf($ “${ARG1}” = “” ]?failed,1) [pbx_config]
4. GoTo(${ARG1},1) [pbx_config]
‘_X.’ => 1. Set(MDC_EXTEN=${EXTEN}) [pbx_config]
2. GoTo(failed,1) [pbx_config]

-= 5 extensions (14 priorities) in 1 context. =-
TVA-INFO*CLI>

Re,

hinterlegt doch bitte dann mal die 0794112233, dann sollte das mit der vom Provider übermittelten Rufnummer wieder zusammen passen. Hatte sich da was vom Provider geändert bzw. Roaming im Grenzbereich?

Grüße
Markus

Hallo Markus

Nummer habe ich bereits einmal gewechselt und anschliessend Server neu gestartet. Beim erneuten dialplan show … ist aber wieder die Nummer 004179… angezeigt worden.
Kann ich die Nummer noch auf eine andere Art hinterlegen?

Grenzbereich kann ich ausschliessen.

Danke und Grüsse
Fabian

Re,

hast du die Rufnummer beim integrierten Mobilgerät geändert? quasi dein externes Gerät, welches dem Benutzer zugewiesen ist.
Ein Telefonie anwenden reicht damit die Einstellungen gültig werden.

Grüße
Markus

Hallo Markus

Die Rufnummer hatte ich dort geändert.
Habe nochmals die Einstellungen von neuem gemacht. Nun kommt beim dialplan show @sub_mobility auch die Nummer ohne Ländervorwahl und ich kann Anrufe tätigen.

Wenn ich mich mit dem Client via öffentliche IP verbinde, kann ich einen Anruf aufbauen aber die Sprache wird nicht übermittelt.
Nehme aber im Moment an, das dies noch ein Port-5060-Firewall-Problem ist.

Vielen Dank und Grüsse
Fabian