[Freeswitch-users] outbound proxy and fs_path
Slava Bendersky
volga629 at networklab.ca
Fri Apr 21 00:36:34 MSD 2017
Hello Everyone,
My setup
FS1 ------|
| Kamailio (Proxy) --- internet --- soft client
FS2------ |
fs_path ignored when trying originate and cal just failing
freeswitch at casip00.networklab.prod> sofia status profile internal-proxy
=================================================================================================
Name internal-proxy
Domain Name N/A
Auto-NAT false
DBName sofia_reg_internal-proxy
Pres Hosts $${domain},10.18.130.24
Dialplan XML
Context default
Challenge Realm auto_to
RTP-IP 10.18.130.24
SIP-IP 10.18.130.24
URL sip:mod_sofia at 10.18.130.24:5160
BIND-URL sip:mod_sofia at 10.18.130.24:5160;transport=udp
HOLD-MUSIC N/A
OUTBOUND-PROXY N/A
CODECS IN
CODECS OUT PCMU,G729
TEL-EVENT 101
DTMF-MODE info
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA true
LATE-NEG true
PROXY-MEDIA true
ZRTP-PASSTHRU false
AGGRESSIVENAT false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 4
FAILED-CALLS-OUT 4
REGISTRATIONS 1
freeswitch at casip00.networklab.prod> sofia_contact 4310 at sip.company.tld
sofia/internal-proxy/sip:4310 at client_public_ip:40368;rinstance=8344944f63ac4573;transport=tcp;fs_path=sip%3A10.18.130.27%3Blr%3Breceived%3Dsip%3Aclient_public_ip%3A40368%3Btransport%3Dtcp
freeswitch at casip00.networklab.prod> originate sofia/internal-proxy/sip:4310 at client_public_ip:40368;rinstance=8344944f63ac4573;transport=tcp;fs_path=sip%3A10.18.130.27%3Blr%3Breceived%3Dsip%3Aclient_public_ip%3A40368%3Btransport%3Dtcp inline
-ERR NORMAL_TEMPORARY_FAILURE
2017-04-20 16:33:48.568255 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables
2017-04-20 16:33:48.568255 [NOTICE] switch_channel.c:1104 New Channel sofia/internal-proxy/4310 at client_public_ip:40368 [d3f8d570-a829-4a89-af71-382dc2b37af2]
2017-04-20 16:33:48.568255 [DEBUG] mod_sofia.c:4753 (sofia/internal-proxy/4310 at client_public_ip:40368) State Change CS_NEW -> CS_INIT
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:584 (sofia/internal-proxy/4310 at client_public_ip:40368) Running State Change CS_INIT
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:627 (sofia/internal-proxy/4310 at client_public_ip:40368) State INIT
2017-04-20 16:33:48.568255 [DEBUG] mod_sofia.c:90 sofia/internal-proxy/4310 at client_public_ip:40368 SOFIA INIT
2017-04-20 16:33:48.568255 [DEBUG] sofia_glue.c:1253 sip:10.18.130.27;lr;received=sip:client_public_ip:40368;transport=tcp Setting proxy route to sofia/internal-proxy/4310 at client_public_ip:40368
2017-04-20 16:33:48.568255 [DEBUG] sofia_glue.c:1282 sofia/internal-proxy/4310 at client_public_ip:40368 sending invite version: 1.6.12 64bit
Local SDP:
v=0
o=FreeSWITCH 1492703274 1492703275 IN IP4 10.18.130.24
s=FreeSWITCH
c=IN IP4 10.18.130.24
t=0 0
m=audio 17154 RTP/AVP 0 18
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:13 CN/8000
a=ptime:20
a=sendrecv
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:40 sofia/internal-proxy/4310 at client_public_ip:40368 Standard INIT
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:48 (sofia/internal-proxy/4310 at client_public_ip:40368) State Change CS_INIT -> CS_ROUTING
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:627 (sofia/internal-proxy/4310 at client_public_ip:40368) State INIT going to sleep
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:584 (sofia/internal-proxy/4310 at client_public_ip:40368) Running State Change CS_ROUTING
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:643 (sofia/internal-proxy/4310 at client_public_ip:40368) State ROUTING
2017-04-20 16:33:48.568255 [DEBUG] mod_sofia.c:143 sofia/internal-proxy/4310 at client_public_ip:40368 SOFIA ROUTING
2017-04-20 16:33:48.568255 [DEBUG] switch_ivr_originate.c:67 (sofia/internal-proxy/4310 at client_public_ip:40368) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:643 (sofia/internal-proxy/4310 at client_public_ip:40368) State ROUTING going to sleep
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:584 (sofia/internal-proxy/4310 at client_public_ip:40368) Running State Change CS_CONSUME_MEDIA
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:662 (sofia/internal-proxy/4310 at client_public_ip:40368) State CONSUME_MEDIA
2017-04-20 16:33:48.568255 [DEBUG] switch_core_state_machine.c:662 (sofia/internal-proxy/4310 at client_public_ip:40368) State CONSUME_MEDIA going to sleep
2017-04-20 16:33:48.568255 [DEBUG] sofia.c:6965 Channel sofia/internal-proxy/4310 at client_public_ip:40368 entering state [calling][0]
2017-04-20 16:33:48.568255 [DEBUG] sofia.c:6965 Channel sofia/internal-proxy/4310 at client_public_ip:40368 entering state [terminated][503]
2017-04-20 16:33:48.568255 [NOTICE] sofia.c:8078 Hangup sofia/internal-proxy/4310 at client_public_ip:40368 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
Any help thank you.
Slava
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170420/0703ea8a/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list