02-10-2010 01:21 AM - edited 03-18-2019 11:05 AM
hi
here my strange situation
I try to route the call from isdn to my two internal sip server
all seem ok with normal desk phone
but when I try to malke a call from my cellphone I can't reach any internal sip!!
only with the "connection plar xxxxx" comamnd my cellphone call are ok
but in this case I can't choice the sip server
the configuration is quite simple
[...]
network-clock-participate wic 1
network-clock-select 1 E1 0/1/0
!
isdn switch-type primary-net5
!
voice service voip
fax protocol cisco
sip
!
voice-card 0
dsp services dspfarm
!
controller E1 0/1/0
framing NO-CRC4
pri-group timeslots 1-16
!
[...]
!
interface Serial0/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn bchan-number-order ascending
no cdp enable
!
[...]
!
voice-port 0/1/0:15
cptone IT
!
dial-peer voice 2000 voip
description test nvp
destination-pattern 287083079
session protocol sipv2
session target ipv4:192.168.227.70:5060
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 3000 voip
description test nvp
destination-pattern 28708307[0-8]
session protocol sipv2
session target ipv4:192.168.227.102:5060
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
[...]
in the attachement the output of
"debug voip dialpeer all" and "debug ccsip all"
thanks
davide
Solved! Go to Solution.
02-10-2010 04:09 AM
Configure:
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
Cisco router also do a very good IVR.
02-10-2010 02:28 AM
Repeat with "debug isdn q931" and "debug ccsip message". Do not enable any other debug.
Output will be so reduced that you will be able to read it and will not require attachments to be posted.
If you are using asterisk or similar, note CME on the router does a much better job especially when used with cisco phones.
Note if you should not use
isdn bchan-number-order ascending
02-10-2010 02:52 AM
thanks!
I removed the command "isdn bchan-number-order ascending"
and this is the output of "debug isdn q931" and "debug ccsip message"
from cellphone there are not sip message
the 2 sip server are two Interactive Voice Responder
******from desk phone
C2801-VG-01#
*Feb 10 10:41:09.967: ISDN Se0/1/0:15 Q931: RX <- SETUP pd = 8 callref = 0x37CC
Bearer Capability i = 0x9090A3
Standard = CCITT
Transfer Capability = 3.1kHz Audio
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA18384
Preferred, Channel 4
Progress Ind i = 0x8183 - Origination address is non-ISDN
Calling Party Number i = 0x2181, '113168634'
Plan:ISDN, Type:National
Called Party Number i = 0xA1, '287083079'
Plan:ISDN, Type:National
*Feb 10 10:41:09.971: ISDN Se0/1/0:15 Q931: Received SETUP callref = 0xB7CC callID = 0x0001 switch = primary-net5 interface = User
*Feb 10 10:41:09.983: ISDN Se0/1/0:15 Q931: TX -> SETUP_ACK pd = 8 callref = 0xB7CC
Channel ID i = 0xA98384
Exclusive, Channel 4
*Feb 10 10:41:24.995: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:287083079@192.168.227.70:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.227.50:5060;branch=z9hG4bK0F8C
[..]
****from cellphone
*Feb 10 10:42:39.215: ISDN Se0/1/0:15 Q931: RX <- SETUP pd = 8 callref = 0x22CF
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA18385
Preferred, Channel 5
Calling Party Number i = 0x0183, '3384187978'
Plan:ISDN, Type:Unknown
Called Party Number i = 0xA1, '287083079'
Plan:ISDN, Type:National
Sending Complete
*Feb 10 10:42:39.215: ISDN Se0/1/0:15 Q931: Received SETUP callref = 0xA2CF callID = 0x0002 switch = primary-net5 interface = User
*Feb 10 10:42:39.227: ISDN Se0/1/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0xA2CF
Channel ID i = 0xA98385
Exclusive, Channel 5
*Feb 10 10:42:39.231: ISDN Se0/1/0:15 Q931: TX -> CONNECT pd = 8 callref = 0xA2CF
*Feb 10 10:42:39.255: ISDN Se0/1/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x22CF
*Feb 10 10:42:39.255: %ISDN-6-CONNECT: Interface Serial0/1/0:4 is now connected to 3384187978 N/A
*Feb 10 10:42:41.699: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0:4, changed state to up
*Feb 10 10:42:57.411: ISDN Se0/1/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x22CF
Cause i = 0x8090 - Normal call clearing
Progress Ind i = 0x8288 - In-band info or appropriate now available
*Feb 10 10:42:57.415: %ISDN-6-DISCONNECT: Interface Serial0/1/0:4 disconnected from 3384187978 , call lasted 18 seconds
*Feb 10 10:42:57.415: ISDN Se0/1/0:15 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x2
02-10-2010 04:09 AM
Configure:
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
Cisco router also do a very good IVR.
02-10-2010 05:36 AM
thank you very much
now it work!!
why for gsm call I must configure a dial-peer pots?
suggested documentation?
davide
02-10-2010 05:46 AM
You must have some other config not included above.
direct-inward-dial is always required.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide