<p dir="ltr">Cisco is not forwarding the caller-id to your box, I don't know what exactly command you need to enable this on cisco, probably on your dial-peer.</p>
<p dir="ltr">But, you're getting 488 in this call, Cisco is offering only g729 and you don't have it enabled in your inbound codes prefs (check vars.xml)</p>
<div class="gmail_quote">Em 05/05/2015 18:26, "Luiz Fernando Softov" <<a href="mailto:fernando@softov.com.br">fernando@softov.com.br</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, i'm trying to configure a CISCO 1700 IOS, 12.4 + FXO<br>
<br>
Is there my conf in CISCO<br>
********************<br>
voice-port 0/0<br>
connection plar opx 1002<br>
description 1002<br>
!<br>
dial-peer voice 1002 voip<br>
description INCOMING MATCHING<br>
preference 1<br>
destination-pattern .T<br>
session protocol sipv2<br>
session target sip-server<br>
session transport udp<br>
incoming called-number .<br>
dtmf-relay rtp-nte<br>
no vad<br>
!<br>
sip-ua<br>
credentials username 1002 password 1415000915102F7F757967 realm 192.168.142.14<br>
authentication username 1002 password 7 08235E4C100D0043435A58<br>
retry invite 3<br>
retry response 3<br>
retry bye 3<br>
retry cancel 3<br>
timers trying 1000<br>
registrar ipv4:<a href="http://192.168.142.14:5061" target="_blank">192.168.142.14:5061</a> expires 3600<br>
sip-server ipv4:<a href="http://192.168.142.14:5061" target="_blank">192.168.142.14:5061</a><br>
!<br>
********************<br>
<br>
I have a profile running in <a href="http://192.168.142.14:5061" target="_blank">192.168.142.14:5061</a><br>
And trying to use the user 1002 to make (authenticated) calls<br>
<br>
This register fine, but when i'm trying to make calls i receive this<br>
<br>
**** sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a><br>
<br>
I there a way/conf to receive 1002@ip? like:<br>
<br>
**** sofia/profile_1001/<a href="mailto:1002@192.168.142.14">1002@192.168.142.14</a><br>
<br>
Or i only receive nobody, and need to create a extension/user nobody?<br>
<br>
------------------------------------------------------------------------<br>
------------------------------------------------------------------------<br>
------------------------------------------------------------------------<br>
freeswitch@internal><br>
recv 1062 bytes from udp/[192.168.140.139]:64907 at 16:55:21.082728:<br>
------------------------------------------------------------------------<br>
INVITE <a href="http://sip:1002@192.168.142.14:5061" target="_blank">sip:1002@192.168.142.14:5061</a> SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK743303<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>><br>
Date: Fri, 01 Mar 2002 13:38:56 GMT<br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
Supported: 100rel,timer,resource-priority,replaces<br>
Min-SE: 1800<br>
Cisco-Guid: 2203265591-743444950-2210067198-2261915992<br>
User-Agent: Cisco-SIPGateway/IOS-12.x<br>
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,<br>
SUBSCRIBE, NOTIFY, INFO, REGISTER<br>
CSeq: 101 INVITE<br>
Max-Forwards: 70<br>
Timestamp: 1014989936<br>
Contact: <sip:<a href="http://192.168.140.139:5060" target="_blank">192.168.140.139:5060</a>><br>
Expires: 180<br>
Allow-Events: telephone-event<br>
Content-Type: application/sdp<br>
Content-Disposition: session;handling=required<br>
Content-Length: 278<br>
<br>
v=0<br>
o=CiscoSystemsSIP-GW-UserAgent 9597 428 IN IP4 192.168.140.139<br>
s=SIP Call<br>
c=IN IP4 192.168.140.139<br>
t=0 0<br>
m=audio 18060 RTP/AVP 18 101<br>
c=IN IP4 192.168.140.139<br>
a=rtpmap:18 G729/8000<br>
a=fmtp:18 annexb=no<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ptime:20<br>
------------------------------------------------------------------------<br>
send 315 bytes to udp/[192.168.140.139]:5060 at 16:55:21.082952:<br>
------------------------------------------------------------------------<br>
SIP/2.0 100 Trying<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK743303<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>><br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
CSeq: 101 INVITE<br>
Timestamp: 1014989936 0.000085<br>
User-Agent: BrByte Agent<br>
Content-Length: 0<br>
<br>
------------------------------------------------------------------------<br>
2015-05-05 16:55:21.075398 [NOTICE] switch_channel.c:1075 New Channel<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a><br>
[b3054ea9-60f3-e411-a31b-e840f23bc0a0]<br>
2015-05-05 16:55:21.075398 [DEBUG] switch_core_session.c:1061 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.075398 [DEBUG] switch_core_state_machine.c:472<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) Running State Change CS_NEW<br>
2015-05-05 16:55:21.075398 [DEBUG] switch_core_session.c:1061 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.075398 [DEBUG] sofia.c:8848<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> receiving invite from<br>
<a href="http://192.168.140.139:64907" target="_blank">192.168.140.139:64907</a> version: 1.5.15b git d55c4a0 2015-04-07<br>
23:11:34Z 64bit<br>
2015-05-05 16:55:21.075398 [DEBUG] sofia.c:9015 IP 192.168.140.139<br>
Rejected by acl "domains". Falling back to Digest auth.<br>
2015-05-05 16:55:21.075398 [DEBUG] switch_core_state_machine.c:491<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) State NEW<br>
send 788 bytes to udp/[192.168.140.139]:5060 at 16:55:21.084838:<br>
------------------------------------------------------------------------<br>
SIP/2.0 407 Proxy Authentication Required<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK743303<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>>;tag=gj3vFZ76pevSg<br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
CSeq: 101 INVITE<br>
User-Agent: BrByte Agent<br>
Accept: application/sdp<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,<br>
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>
Supported: timer, path, replaces<br>
Allow-Events: talk, hold, conference, presence, as-feature-event,<br>
dialog, line-seize, call-info, sla, include-session-description,<br>
presence.winfo, message-summary, refer<br>
Proxy-Authenticate: Digest realm="192.168.142.14",<br>
nonce="4e0d4ea9-60f3-e411-a31b-e840f23bc0a0", algorithm=MD5,<br>
qop="auth"<br>
Content-Length: 0<br>
<br>
------------------------------------------------------------------------<br>
2015-05-05 16:55:21.075398 [DEBUG] switch_core_session.c:1061 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.075398 [DEBUG] sofia.c:2065 detaching session<br>
b3054ea9-60f3-e411-a31b-e840f23bc0a0<br>
recv 380 bytes from udp/[192.168.140.139]:64907 at 16:55:21.110969:<br>
------------------------------------------------------------------------<br>
ACK <a href="http://sip:1002@192.168.142.14:5061" target="_blank">sip:1002@192.168.142.14:5061</a> SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK743303<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>>;tag=gj3vFZ76pevSg<br>
Date: Fri, 01 Mar 2002 13:38:56 GMT<br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
Max-Forwards: 70<br>
CSeq: 101 ACK<br>
Allow-Events: telephone-event<br>
Content-Length: 0<br>
<br>
------------------------------------------------------------------------<br>
recv 1310 bytes from udp/[192.168.140.139]:64907 at 16:55:21.113190:<br>
------------------------------------------------------------------------<br>
INVITE <a href="http://sip:1002@192.168.142.14:5061" target="_blank">sip:1002@192.168.142.14:5061</a> SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK74418FA<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>><br>
Date: Fri, 01 Mar 2002 13:38:56 GMT<br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
Supported: 100rel,timer,resource-priority,replaces<br>
Min-SE: 1800<br>
Cisco-Guid: 2203265591-743444950-2210067198-2261915992<br>
User-Agent: Cisco-SIPGateway/IOS-12.x<br>
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,<br>
SUBSCRIBE, NOTIFY, INFO, REGISTER<br>
CSeq: 102 INVITE<br>
Max-Forwards: 70<br>
Timestamp: 1014989936<br>
Contact: <sip:<a href="http://192.168.140.139:5060" target="_blank">192.168.140.139:5060</a>><br>
Expires: 180<br>
Allow-Events: telephone-event<br>
Proxy-Authorization: Digest<br>
username="1002",realm="192.168.142.14",uri="<a href="http://sip:1002@192.168.142.14:5061" target="_blank">sip:1002@192.168.142.14:5061</a>",response="7d6773297fbfb70d44136a2232d62ec5",nonce="4e0d4ea9-60f3-e411-a31b-e840f23bc0a0",cnonce="66998CBE",qop="auth",algorithm=MD5,nc=00000001<br>
Content-Type: application/sdp<br>
Content-Disposition: session;handling=required<br>
Content-Length: 278<br>
<br>
v=0<br>
o=CiscoSystemsSIP-GW-UserAgent 9597 428 IN IP4 192.168.140.139<br>
s=SIP Call<br>
c=IN IP4 192.168.140.139<br>
t=0 0<br>
m=audio 18060 RTP/AVP 18 101<br>
c=IN IP4 192.168.140.139<br>
a=rtpmap:18 G729/8000<br>
a=fmtp:18 annexb=no<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ptime:20<br>
------------------------------------------------------------------------<br>
send 316 bytes to udp/[192.168.140.139]:5060 at 16:55:21.113382:<br>
------------------------------------------------------------------------<br>
SIP/2.0 100 Trying<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK74418FA<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>><br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
CSeq: 102 INVITE<br>
Timestamp: 1014989936 0.000070<br>
User-Agent: BrByte Agent<br>
Content-Length: 0<br>
<br>
------------------------------------------------------------------------<br>
2015-05-05 16:55:21.106397 [DEBUG] sofia.c:2173 Re-attaching to<br>
session b3054ea9-60f3-e411-a31b-e840f23bc0a0<br>
2015-05-05 16:55:21.106397 [DEBUG] switch_core_session.c:1061 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.106397 [DEBUG] switch_core_session.c:1061 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.126156 [DEBUG] sofia.c:8848<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> receiving invite from<br>
<a href="http://192.168.140.139:64907" target="_blank">192.168.140.139:64907</a> version: 1.5.15b git d55c4a0 2015-04-07<br>
23:11:34Z 64bit<br>
2015-05-05 16:55:21.126156 [DEBUG] sofia.c:9015 IP 192.168.140.139<br>
Rejected by acl "domains". Falling back to Digest auth.<br>
2015-05-05 16:55:21.126156 [DEBUG] sofia.c:6627 Channel<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> entering state<br>
[received][100]<br>
2015-05-05 16:55:21.126156 [DEBUG] sofia.c:6637 Remote SDP:<br>
v=0<br>
o=CiscoSystemsSIP-GW-UserAgent 9597 428 IN IP4 192.168.140.139<br>
s=SIP Call<br>
c=IN IP4 192.168.140.139<br>
t=0 0<br>
m=audio 18060 RTP/AVP 18 101<br>
c=IN IP4 192.168.140.139<br>
a=rtpmap:18 G729/8000<br>
a=fmtp:18 annexb=no<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ptime:20<br>
<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3221 Activate<br>
Buggy RFC2833 Mode!<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3666 Audio<br>
Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3666 Audio<br>
Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3666 Audio<br>
Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3666 Audio<br>
Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3666 Audio<br>
Codec Compare [G729:18:8000:20:8000:1]/[opus:116:48000:20:0:1]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3582 Set<br>
telephone-event payload to 101<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_media.c:3929 Set 2833<br>
dtmf send/recv payload to 101<br>
2015-05-05 16:55:21.126156 [NOTICE] sofia.c:6981 Hangup<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [CS_NEW]<br>
[INCOMPATIBLE_DESTINATION]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_channel.c:3242 Send signal<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [KILL]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_session.c:1396 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:472<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) Running State Change<br>
CS_HANGUP<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:735<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) Callstate Change DOWN -><br>
HANGUP<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:737<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) State HANGUP<br>
2015-05-05 16:55:21.126156 [DEBUG] mod_sofia.c:413 Channel<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> hanging up, cause:<br>
INCOMPATIBLE_DESTINATION<br>
2015-05-05 16:55:21.126156 [DEBUG] mod_sofia.c:549 Responding to<br>
INVITE with: 488<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:60<br>
sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> Standard HANGUP, cause:<br>
INCOMPATIBLE_DESTINATION<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:737<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) State HANGUP going to sleep<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:504<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) State Change CS_HANGUP -><br>
CS_REPORTING<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_session.c:1396 Send<br>
signal sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a> [BREAK]<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:472<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) Running State Change<br>
CS_REPORTING<br>
send 816 bytes to udp/[192.168.140.139]:5060 at 16:55:21.132211:<br>
------------------------------------------------------------------------<br>
SIP/2.0 488 Not Acceptable Here<br>
Via: SIP/2.0/UDP 192.168.140.139:5060;branch=z9hG4bK74418FA<br>
Max-Forwards: 70<br>
From: <sip:192.168.142.14>;tag=2E582AC-1000<br>
To: <<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>>;tag=HUvNHtramQjcc<br>
Call-ID: <a href="mailto:83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139">83580E71-2C5011D6-83BFF2FE-86D21958@192.168.140.139</a><br>
CSeq: 102 INVITE<br>
User-Agent: BrByte Agent<br>
Accept: application/sdp<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,<br>
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>
Supported: timer, path, replaces<br>
Allow-Events: talk, hold, conference, presence, as-feature-event,<br>
dialog, line-seize, call-info, sla, include-session-description,<br>
presence.winfo, message-summary, refer<br>
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"<br>
Content-Length: 0<br>
2015-05-05 16:55:21.126156 [DEBUG] switch_core_state_machine.c:823<br>
(sofia/profile_1001/<a href="mailto:nobody@192.168.142.14">nobody@192.168.142.14</a>) State REPORTING<br>
Remote-Party-ID: "1002"<br>
<<a href="mailto:sip%3A1002@192.168.142.14">sip:1002@192.168.142.14</a>>;party=calling;privacy=off;screen=no<br>
<br>
------------------------------------------------------------------------<br>
<br>
--<br>
Luiz Fernando Softov<br>
<a href="http://www.softov.com.br" target="_blank">http://www.softov.com.br</a><br>
<a href="mailto:fernando@softov.com.br">fernando@softov.com.br</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>