[Freeswitch-users] Voip Innovations
Sean Devoy
sdevoy at bizfocused.com
Tue Sep 24 17:31:39 UTC 2019
One more follow up, setting these variables does NOT work except in { sip_from_user=1234567890, etc} as part of the bridge.
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Sean Devoy
Sent: Tuesday, September 24, 2019 10:39 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>; Andre <andretodd at verizon.net>
Subject: Re: [Freeswitch-users] Voip Innovations
Thanks for your response.
RESOLVED:
After running several pcap captures. I was seeing sip_from_uri as “null@<my ip>” I finally set sip_from_user, sip_from_uri, and sip_from_host which resolved the problem.
Sean
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> On Behalf Of David Villasmil
Sent: Tuesday, September 24, 2019 6:51 AM
To: Andre <andretodd at verizon.net<mailto:andretodd at verizon.net>>; FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: Re: [Freeswitch-users] Voip Innovations
Hello,
Get a trace while making test calls.
Go to fs cli and enter:
“Sofia profile YOURPROFILE siptrace on”
And make the call and paste the INVITE redacting ip addresses.
About setting the caller Id:
There 2 ways to set it, with effective_caller_id_number or with origination_caller_id_number.
Caveat is, effective_caller_id_numbercan ONLY be set BEFORE the bridge, like so:
<action application="set" data="effective_caller_id_number=${caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${caller_id_number}"/>
<action application="bridge" data="sofia/gateway/your-gateway/$1"/>
if you set it on the bridge it will not work.
And you can also use origination_caller_id_number, BUT you need to set it on the bridge itself:
<action application="bridge" data="{origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_number}}sofia/gateway/your'gateway/$1"/>
hope it's clear.
On Tue, 24 Sep 2019 at 01:31, Andre via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>> wrote:
---------- Forwarded message ----------
From: Andre <andretodd at verizon.net<mailto:andretodd at verizon.net>>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Cc:
Bcc:
Date: Mon, 23 Sep 2019 19:50:36 -0400
Subject: Re: [Freeswitch-users] Voip Innovations
Use bulk 911
Sent from BlueMail<http://www.bluemail.me/r?b=15656>
On Sep 23, 2019, at 7:36 PM, Sean Devoy <sdevoy at bizfocused.com<mailto:sdevoy at bizfocused.com>> wrote:
Does anyone use VoipInnovations? I have been around and around 50 times with them. They insist the “ANI” field is null, so not only does this make SOME but not all of my calls fail, it makes 911 calls fail. I have GOT TO get 911 working.
I have added set ani and effective caller id number and origination_caller_id_number and sip_from_uri. They still insisit ANI is null. Here is an “INFO” after the “SET”s and before the bridge:
b48ba1d1 2019-09-23 23:17:42.731995 [INFO] mod_dptools.c:1811 CHANNEL_DATA:
Channel-State: [CS_EXECUTE]
Channel-Call-State: [RINGING]
Channel-State-Number: [4]
Channel-Name: [sofia/internal/700 at fs-bfis2.bizfocused.com<mailto:700 at fs-bfis2.bizfocused.com>]
Unique-ID: [b48ba1d1-f0c0-4c6f-9916-e4092bcabc6b]
Call-Direction: [inbound]
Presence-Call-Direction: [inbound]
Channel-HIT-Dialplan: [true]
Channel-Presence-ID: [700 at fs-bfis2.bizfocused.com<mailto:700 at fs-bfis2.bizfocused.com>]
Channel-Call-UUID: [b48ba1d1-f0c0-4c6f-9916-e4092bcabc6b]
Answer-State: [ringing]
Caller-Direction: [inbound]
Caller-Logical-Direction: [inbound]
Caller-Username: [700]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [700]
Caller-Caller-ID-Number: [700]
Caller-Orig-Caller-ID-Name: [700]
Caller-Orig-Caller-ID-Number: [700]
Caller-Network-Addr: [204.10.177.138]
Caller-ANI: [700]
Caller-Destination-Number: [933]
Caller-Unique-ID: [b48ba1d1-f0c0-4c6f-9916-e4092bcabc6b]
Caller-Source: [mod_sofia]
Caller-Context: [from-internal-BFIS2]
Caller-Channel-Name: [sofia/internal/700 at fs-bfis2.bizfocused.com<mailto:700 at fs-bfis2.bizfocused.com>]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1569280662712003]
Caller-Channel-Created-Time: [1569280662712003]
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: [b48ba1d1-f0c0-4c6f-9916-e4092bcabc6b]
variable_session_id: [11929]
variable_sip_from_user: [700]
variable_sip_from_host: [fs-bfis2.bizfocused.com<http://fs-bfis2.bizfocused.com>]
variable_video_media_flow: [disabled]
variable_audio_media_flow: [disabled]
variable_text_media_flow: [disabled]
variable_channel_name: [sofia/internal/700 at fs-bfis2.bizfocused.com<mailto:700 at fs-bfis2.bizfocused.com>]
variable_sip_call_id: [13755102347976-402493675938561 at 192.168.0.2<mailto:13755102347976-402493675938561 at 192.168.0.2>]
variable_sip_local_network_addr: [157.245.14.93]
variable_sip_network_ip: [204.10.177.138]
variable_sip_network_port: [5060]
variable_sip_invite_stamp: [1569280662712003]
variable_sip_received_ip: [204.10.177.138]
variable_sip_received_port: [5060]
variable_sip_via_protocol: [udp]
variable_sip_authorized: [true]
variable_Event-Name: [REQUEST_PARAMS]
variable_Core-UUID: [62d48b34-9603-4aea-836f-8b83d7194206]
variable_FreeSWITCH-Hostname: [debian-freeswitch-stable-s-4vcpu-8gb-nyc3-01]
variable_FreeSWITCH-Switchname: [debian-freeswitch-stable-s-4vcpu-8gb-nyc3-01]
variable_FreeSWITCH-IPv4: [157.245.14.93]
variable_FreeSWITCH-IPv6: [::1]
variable_Event-Date-Local: [2019-09-23 23:17:42]
variable_Event-Date-GMT: [Mon, 23 Sep 2019 23:17:42 GMT]
variable_Event-Date-Timestamp: [1569280662712003]
variable_Event-Calling-File: [sofia.c]
variable_Event-Calling-Function: [sofia_handle_sip_i_invite]
variable_Event-Calling-Line-Number: [10316]
variable_Event-Sequence: [13984507]
variable_sip_number_alias: [700]
variable_sip_auth_username: [700]
variable_sip_auth_realm: [fs-bfis2.bizfocused.com<http://fs-bfis2.bizfocused.com>]
variable_number_alias: [700]
variable_requested_user_name: [700]
variable_requested_domain_name: [fs-bfis2.bizfocused.com<http://fs-bfis2.bizfocused.com>]
variable_record_stereo: [true]
variable_area_code: [410]
variable_transfer_fallback_extension: [operator]
variable_outbound_gateway: [voip-innovations-outbound]
variable_call_timeout: [25]
variable_outbound_caller_id_name: [Betty Devoy]
variable_outbound_caller_id_number: [3522298979]
variable_internal_caller_id_name: [Betty Devoy]
variable_internal_caller_id_number: [700]
variable_user_context: [from-internal-BFIS2]
variable_user_originated: [true]
variable_toll_allow: [domestic]
variable_accountcode: [BFIS]
variable_mwi-account: [700 at voicemail_BFIS]
variable_callgroup: [1]
variable_sip-force-contact: [NDLB-connectile-dysfunction]
variable_user_name: [700]
variable_domain_name: [fs-bfis2.bizfocused.com<http://fs-bfis2.bizfocused.com>]
variable_sip_from_user_stripped: [700]
variable_sip_from_tag: [2386220157]
variable_sofia_profile_name: [internal]
variable_sofia_profile_url: [sip:mod_sofia at 157.245.14.93:5060<http://sip:mod_sofia@157.245.14.93:5060>]
variable_recovery_profile_name: [internal]
variable_sip_full_via: [SIP/2.0/UDP 204.10.177.138:5060;branch=z9hG4bK1789238923301012208;rport=5060]
variable_sip_from_display: [700]
variable_sip_full_from: [700 <sip:700 at fs-bfis2.bizfocused.com<mailto:sip%3A700 at fs-bfis2.bizfocused.com>>;tag=2386220157]
variable_sip_full_to: [<sip:933 at fs-bfis2.bizfocused.com<mailto:sip%3A933 at fs-bfis2.bizfocused.com>>]
variable_sip_allow: [INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE]
variable_sip_req_user: [933]
variable_sip_req_uri: [933 at fs-bfis2.bizfocused.com<mailto:933 at fs-bfis2.bizfocused.com>]
variable_sip_req_host: [fs-bfis2.bizfocused.com<http://fs-bfis2.bizfocused.com>]
variable_sip_to_user: [933]
variable_sip_to_uri: [933 at fs-bfis2.bizfocused.com<mailto:933 at fs-bfis2.bizfocused.com>]
variable_sip_to_host: [fs-bfis2.bizfocused.com<http://fs-bfis2.bizfocused.com>]
variable_sip_contact_user: [700]
variable_sip_contact_port: [5060]
variable_sip_contact_uri: [700 at 204.10.177.138:5060<http://700@204.10.177.138:5060>]
variable_sip_contact_host: [204.10.177.138]
variable_rtp_use_codec_string: [OPUS,G722,PCMU,PCMA,VP8]
variable_sip_user_agent: [Fanvil X6 1.10.13 0c383e1ed16a]
variable_sip_via_host: [204.10.177.138]
variable_sip_via_port: [5060]
variable_sip_via_rport: [5060]
variable_max_forwards: [70]
variable_presence_id: [700 at fs-bfis2.bizfocused.com<mailto:700 at fs-bfis2.bizfocused.com>]
variable_switch_r_sdp: [v=0
o=765 5334035828 5952048641 IN IP4 204.10.177.138
s=A conversation
c=IN IP4 204.10.177.138
t=0 0
m=audio 10060 RTP/AVP 0 8 102 18 4 97 108 9 109 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3;annexa=no
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=20
a=rtpmap:108 AMR/8000
a=fmtp:108 mode-set=7;octet-align=0
a=rtpmap:9 G722/8000
a=rtpmap:109 AMR-WB/16000
a=fmtp:109 mode-set=8;octet-align=0
a=rtpmap:101 telephone-event/8000
]
variable_ep_codec_string: [CORE_PCM_MODULE.PCMU at 8000h@20i at 64000b,CORE_PCM_MODULE.PCMA at 8000h@20i at 64000b,mod_spandsp.G722 at 8000h@20i at 64000b]
variable_endpoint_disposition: [DELAYED NEGOTIATION]
variable_call_uuid: [b48ba1d1-f0c0-4c6f-9916-e4092bcabc6b]
variable_effective_caller_id_number: [3522298979]
variable_ani: [3522298979]
variable_sip_from_uri: [3522298979]
variable_origination_caller_id_number: [3522298979]
variable_current_application: [info]
________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
---------- Forwarded message ----------
From: Andre via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Cc:
Bcc:
Date: Mon, 23 Sep 2019 17:31:49 -0700 (PDT)
Subject: Re: [Freeswitch-users] Voip Innovations
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190924/4a61ddcb/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list