Keine Route bei Inbound

149 views
Skip to first unread message

Dennis Imm

unread,
Nov 25, 2013, 6:07:13 PM11/25/13
to gs5-...@googlegroups.com
Hallo Zusammen,

ich bekomme die Registrierung bei Simquadrat hin, jedoch keinen Inbound Call.

Hier mal der Debug bei einem Anruf von 0163xx auf 08941xxx:

2013-11-25 23:37:24.731706 [NOTICE] mod_dptools.c:1552 CHANNEL_DATA:
Channel-State: [CS_EXECUTE]
Channel-Call-State: [RINGING]
Channel-State-Number: [4]
Channel-Name: [sofia/gemeinschaft/016...@sipgate.de]
Unique-ID: [7b7f3abb-29f3-4f68-8185-bffdb97ee790]
Call-Direction: [inbound]
Presence-Call-Direction: [inbound]
Channel-HIT-Dialplan: [true]
Channel-Presence-ID: [016...@sipgate.de]
Channel-Call-UUID: [7b7f3abb-29f3-4f68-8185-bffdb97ee790]
Answer-State: [ringing]
Channel-Read-Codec-Name: [PCMA]
Channel-Read-Codec-Rate: [8000]
Channel-Read-Codec-Bit-Rate: [64000]
Channel-Write-Codec-Name: [PCMA]
Channel-Write-Codec-Rate: [8000]
Channel-Write-Codec-Bit-Rate: [64000]
Caller-Direction: [inbound]
Caller-Username: [0163xx]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [08941xxx]
Caller-Caller-ID-Number: [0163xx]
Caller-Network-Addr: [217.10.79.9]
Caller-ANI: [0163xx]
Caller-Destination-Number: [1744xx]
Caller-Unique-ID: [7b7f3abb-29f3-4f68-8185-bffdb97ee790]
Caller-Source: [mod_sofia]
Caller-Context: [default]
Caller-Channel-Name: [sofia/gemeinschaft/016...@sipgate.de]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1385419044591740]
Caller-Channel-Created-Time: [1385419044591740]
Caller-Channel-Answered-Time: [0]
Caller-Channel-Progress-Time: [0]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [0]
Caller-Channel-Transfer-Time: [0]
Caller-Channel-Resurrect-Time: [0]
Caller-Channel-Bridged-Time: [0]
Caller-Channel-Last-Hold: [0]
Caller-Channel-Hold-Accum: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
variable_direction: [inbound]
variable_uuid: [7b7f3abb-29f3-4f68-8185-bffdb97ee790]
variable_session_id: [55]
variable_sip_from_user: [0163xx]
variable_sip_from_uri: [016...@sipgate.de]
variable_sip_from_host: [sipgate.de]
variable_channel_name: [sofia/gemeinschaft/016...@sipgate.de]
variable_sip_call_id: [692bf432206170d2...@sipgate.de]
variable_sip_local_network_addr: [192.168.1.106]
variable_sip_network_ip: [217.10.79.9]
variable_sip_network_port: [5060]
variable_sip_received_ip: [217.10.79.9]
variable_sip_received_port: [5060]
variable_sip_via_protocol: [udp]
variable_sip_from_user_stripped: [0163xx]
variable_sip_from_tag: [as4024b115]
variable_sofia_profile_name: [gemeinschaft]
variable_recovery_profile_name: [gemeinschaft]
variable_sip_invite_record_route: [<sip:217.10.79.9;lr;ftag=as4024b115>,<sip:172.20.40.8;lr>,<sip:217.10.68.147;lr;ftag=as4024b115>]
variable_sip_full_via: [SIP/2.0/UDP 217.10.79.9:5060;branch=z9hG4bKf93c.4580fb08e31687edf2a26d66fc421a61.0,SIP/2.0/UDP 172.20.40.8;branch=z9hG4bKf93c.b62becb8f3ea1042cb71458ba7a6a6e5.0,SIP/2.0/UDP 217.10.68.147:5060;received=217.116.119.66;branch=z9hG4bKf93c.65e14fb84e33020306727f65c9490076.0,SIP/2.0/UDP 212.9.44.133:5060;branch=z9hG4bK0c2513e1]
variable_sip_from_display: [08941xxx]
variable_sip_full_from: ["08941xxx" <sip:016...@sipgate.de>;tag=as4024b115]
variable_sip_full_to: [<sip:174...@sipgate.de>]
variable_sip_req_params: [transport=udp;gw=gateway3]
variable_sip_req_user: [1744xx]
variable_sip_req_port: [5060]
variable_sip_req_uri: [174...@192.168.1.106:5060]
variable_sip_req_host: [192.168.1.106]
variable_sip_to_user: [1744xx]
variable_sip_to_uri: [174...@sipgate.de]
variable_sip_to_host: [sipgate.de]
variable_sip_contact_user: [0163xx]
variable_sip_contact_port: [5060]
variable_sip_contact_uri: [016...@212.9.44.133:5060]
variable_sip_contact_host: [212.9.44.133]
variable_sip_via_host: [217.10.79.9]
variable_sip_via_port: [5060]
variable_max_forwards: [67]
variable_presence_id: [016...@sipgate.de]
variable_sip_gateway: [gateway3]
variable_switch_r_sdp: [v=0
o=root 817689767 817689768 IN IP4 217.10.77.240
s=sipgate VoIP GW
c=IN IP4 217.10.77.240
t=0 0
m=audio 42988 RTP/AVP 8 0 3 97 18 112 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:112 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=direction:active
a=nortpproxy:yes
]
variable_remote_media_ip: [217.10.77.240]
variable_remote_media_port: [42988]
variable_sip_audio_recv_pt: [8]
variable_sip_use_codec_name: [PCMA]
variable_sip_use_codec_rate: [8000]
variable_sip_use_codec_ptime: [20]
variable_read_codec: [PCMA]
variable_read_rate: [8000]
variable_write_codec: [PCMA]
variable_write_rate: [8000]
variable_endpoint_disposition: [RECEIVED]
variable_call_uuid: [7b7f3abb-29f3-4f68-8185-bffdb97ee790]
variable_gs_account_node_local: [true]
variable_current_application_data: [notice]
variable_current_application: [info]


2013-11-25 23:37:24.751713 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] AUTH gateway - sip_gateway ~ ^gateway3$, gateway=3|simquadrat_08941xxx, ip: 212.9.44.133
EXECUTE sofia/gemeinschaft/016...@sipgate.de export(sip_cid_type=none=nil)
2013-11-25 23:37:24.891704 [DEBUG] switch_channel.c:1143 EXPORT (export_vars) [sip_cid_type]=[none=nil]
2013-11-25 23:37:24.891704 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] CALLER_DATA - no data - unauthenticated call: =/
2013-11-25 23:37:24.911715 [DEBUG] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] INBOUND_NUMBER: number_source: sip_to_user, number: 1744xx
2013-11-25 23:37:24.931710 [DEBUG] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] ROUTE_NO_MATCH - inbound=33/strip international prefix
2013-11-25 23:37:24.931710 [NOTICE] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] INBOUND - no route
2013-11-25 23:37:24.971718 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] DESTINATION_NEW - unknown=0/@1, number: 1744xx
2013-11-25 23:37:24.971718 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] DIALPLAN start - caller_id: 0163xx "08941xxx" , number: 1744xx, language: de
2013-11-25 23:37:24.971718 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] LOOP 1 - destination: unknown=0/@1, number: 1744xx
EXECUTE sofia/gemeinschaft/016...@sipgate.de export(alert_info=http://amooma.de;info=Ringer1;x-line-id=0)
2013-11-25 23:37:24.971718 [DEBUG] switch_channel.c:1143 EXPORT (export_vars) [alert_info]=[http://amooma.de;info=Ringer1;x-line-id=0]
2013-11-25 23:37:24.971718 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] SWITCH - clir: false, caller_id_numbers: 0163xx
EXECUTE sofia/gemeinschaft/016...@sipgate.de export(effective_callee_id_number=1744xx)
2013-11-25 23:37:24.971718 [DEBUG] switch_channel.c:1143 EXPORT (export_vars) [effective_callee_id_number]=[1744xx]
2013-11-25 23:37:25.011722 [DEBUG] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] ROUTE_NO_MATCH - outbound=34/sipgate
2013-11-25 23:37:25.011722 [NOTICE] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] SWITCH - no route - number: 1744xx
2013-11-25 23:37:25.011722 [INFO] switch_cpp.cpp:1274 ### [7b7f3abb-29f3-4f68-8185-bffdb97ee790] DIALPLAN end - caller_id: 0163xx "08941xxx", destination: unknown=0/@1, number: 1744xx, result: 404 No route
EXECUTE sofia/gemeinschaft/016...@sipgate.de respond(404 No route)
2013-11-25 23:37:25.011722 [DEBUG] mod_sofia.c:2634 Responding with 404 [No route]
2013-11-25 23:37:25.011722 [DEBUG] switch_channel.c:3011 (sofia/gemeinschaft/016...@sipgate.de) Callstate Change RINGING -> HANGUP
2013-11-25 23:37:25.011722 [NOTICE] mod_sofia.c:2693 Hangup sofia/gemeinschaft/016...@sipgate.de [CS_EXECUTE] [UNALLOCATED_NUMBER]


Wäre super wenn jemand einen Tipp hat.

Danke und Gruß

Dennis

Sascha Daniels

unread,
Nov 25, 2013, 7:35:51 PM11/25/13
to gs5-...@googlegroups.com
Hi.

Das Problem liegt wohl daran, dass auch bei Simquadrat die angerufene Nummer nicht im TO steht. Wie bei Sipgate Trunking auch.

Lies Dir mal den Thread durch:

https://groups.google.com/forum/#!topic/gs5-users/aIMAwFrC_kE

Gruss

            Sascha

Am 26.11.13 00:07, schrieb Dennis Imm:
--
To unsubscribe from this group, send email to
gs5-users+...@googlegroups.com
 
For commercial consulting visit http://amooma.de/gemeinschaft/gs5
---
Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe "gs5-users" sind.
Um Ihr Abonnement für diese Gruppe zu beenden und keine E-Mails mehr von dieser Gruppe zu erhalten, senden Sie eine Email an gs5-users+...@googlegroups.com.
Weitere Optionen: https://groups.google.com/groups/opt_out

Peter Kozak

unread,
Nov 26, 2013, 3:31:26 AM11/26/13
to gs5-...@googlegroups.com
On 26.11.2013 00:07, Dennis Imm wrote:
> |2013-11-25 23:37:24.971718 [INFO] switch_cpp.cpp:1274 ###
> [7b7f3abb-29f3-4f68-8185-bffdb97ee790] DIALPLAN start - caller_id:
> 0163xx "08941xxx" , number: 1744xx, language: de|

Kann das sein, dass die Zielnummer im Feld "caller_id_name" steht? Weird!

Vielleicht bring es also als "Number source" in gateway_settings
"caller_id_name" einzutragen oder in der Route als Source-Variable zu
verwenden.


Gruss
Peter

Dennis Imm

unread,
Dec 8, 2013, 5:57:28 AM12/8/13
to gs5-...@googlegroups.com
Hallo Peter,

danke für deinen Hinweis, es war unter Anderem genau das Problem. Dazu muss ich dann noch in den Routing Tables die Parameter für das nationale Rufnummernformat anpassen.

Jetzt geht Inbound auch mit Simquadrat und ich bin bei einem Anruf auf die Festnetznummer Mobil als auch via SIP erreichbar.

Coole Sache.

Falls jemand die Config braucht, einfach melden.

Danke und Gruß

Dennis

Sascha Daniels

unread,
Dec 9, 2013, 3:26:46 AM12/9/13
to gs5-...@googlegroups.com
Hallo,

ich habe mir das ganze nochmal genauer durch den Kopf gehen lassen.

Die angerufene Nummer darf definitiv nicht in Callerid(name) stehen. Das
ist entgegen jeden RFC!

Das sieht für mich nach einem groben Fehler aus und ich würde nicht
darauf bauen, dass der nicht irgend wann beseitigt wird.

Schau doch bitte mal nach, ob die Nummer icht auch noch in irgend einem
P-... Header steht. Wenn das der Fall ist, würde ich auf jeden Fall den
nehmen, weil dass wenigstens im Rahmen vom RFC liegt.

Gruss

Sascha

Am 08.12.13 11:57, schrieb Dennis Imm:
> --
> To unsubscribe from this group, send email to
> gs5-users+...@googlegroups.com
>
> For commercial consulting visit http://amooma.de/gemeinschaft/gs5
> ---
> Sie erhalten diese Nachricht, weil Sie Mitglied der Google Groups-Gruppe
> "gs5-users" sind.
> Um Ihr Abonnement für diese Gruppe zu beenden und keine E-Mails mehr von
> dieser Gruppe zu erhalten, senden Sie eine E-Mail an
--
Sascha Daniels
s...@alternative-solution.de
www.alternative-solution.de

Dennis Imm

unread,
Dec 9, 2013, 4:31:45 AM12/9/13
to gs5-...@googlegroups.com

Hallo Sascha,

Ja das sehe ich ebenso. Ich werde der sipgate ein email schicken und darauf hinweisen.

Danke und Gruß

Dennis

Reply all
Reply to author
Forward
0 new messages