Hello,
I need to allow inbound calls only on certain time period of the day and set inbound route as below to bridge the call to another gateway but calls are failing. not sure that is the right way to do it.
Calls are matching the time and routing to the carrier but the called number is turned to $1 as below. How do i fix this issue ?
I need to allow inbound calls only on certain time period of the day and set inbound route as below to bridge the call to another gateway but calls are failing. not sure that is the right way to do it.
Calls are matching the time and routing to the carrier but the called number is turned to $1 as below. How do i fix this issue ?
Code:
INVITE sip:$1@50.50.50.50 SIP/2.0
Via: SIP/2.0/UDP 20.20.20.20:5080;rport;branch=z9hG4bKr8aKyrBSpHFFF
Max-Forwards: 69
From: "0123456789" <sip:123456789@50.50.50.50>;tag=BKDjrHg8S6jDB
To: <sip:$1@50.50.50.50>
Call-ID: dcba4abe-ebe5-123a-aa9d-0662359779a6
CSeq: 46310868 INVITE
Contact: <sip:gw+1c0c14af-2768-4a45-94be-547f7316bb34@20.20.20.20:5080;transport=udp;gw=1c0c14af-2768-4a45-94be-547f7316bb34>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 295
X-FS-Support: update_display,send_info