Skip to content

Instantly share code, notes, and snippets.

@psanders
Last active September 13, 2020 23:42
Show Gist options
  • Save psanders/c85b54396fa49ad3f0efa13774834211 to your computer and use it in GitHub Desktop.
Save psanders/c85b54396fa49ad3f0efa13774834211 to your computer and use it in GitHub Desktop.
The following scenarios must work with verb dial
1. Agent's call is sent to ingress application. Call is transfer to another Agent ✔️
2. Agent's call is sent to ingress application. Call is then transfer to landline number via SP
The call gets transfer if the From header is setup correctly (using endpoint/from_domain: ...) but call setup is not
completed due to NAT issues
3. Call is received by ingress application and then transfer to softphone
The transfer is made but with signaling and media issues)
4. Call is received by ingress application and then transfer to a anotherlandline number via SP
Relevant configuration that works at least for scenario (1) on a local test enviroment
Router => registrarIntf: External; recordRoute: false
Asterisk => outbound_proxy: sip:192.168.1.37:5060;lr (public ip)
comment local net so Asterisk is expose to the public net
external media and signaling are set
dial string as follows: PSJIP/routr/sip:1002@sip.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment