Is anveo different from typical SIP trunking providers?

In their documentation, anveo has a [from-anveo] context – these are calls from the “outside” to a DID through Anveo to a SIP users?

conversely, [to-anveo], which, notably, isn’t part of their example, would be from a local SIP phone through Anveo to outside dialing?

Is this type of connectivity different from how typical SIP “trunk” providers operate?

see also:

https://community.asterisk.org/t/from-anveo-dialplan/

details:

durCLI>
dur
CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
anveo/1234567890 123.123.123.123 Auto (No) No 5010 OK (41 ms)
1 sip peers [Monitored: 1 online, 0 offline Unmonitored: 0 online, 0 offline]
durCLI>
dur
CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
sip.anveo.com:5010 N 1234567890 165 Registered Wed, 04 Jan 2017 15:09:55
1 SIP registrations.
durCLI>
dur
CLI> sip show peer anveo

  • Name : anveo
    Description :
    Secret :
    MD5Secret :
    Remote Secret:
    Context : from-anveo
    Record On feature : automon
    Record Off feature : automon
    Subscr.Cont. :
    Language :
    Tonezone :
    AMA flags : Unknown
    Transfer mode: open
    CallingPres : Presentation Allowed, Not Screened
    Callgroup :
    Pickupgroup :
    Named Callgr :
    Nam. Pickupgr:
    MOH Suggest :
    Mailbox :
    VM Extension : asterisk
    LastMsgsSent : 0/0
    Call limit : 0
    Max forwards : 0
    Dynamic : No
    Callerid : “” <>
    MaxCallBR : 384 kbps
    Expire : -1
    Insecure : port,invite
    Force rport : Auto (No)
    Symmetric RTP: No
    ACL : No
    DirectMedACL : No
    T.38 support : No
    T.38 EC mode : Unknown
    T.38 MaxDtgrm: 4294967295
    DirectMedia : Yes
    PromiscRedir : No
    User=Phone : No
    Video Support: No
    Text Support : No
    Ign SDP ver : No
    Trust RPID : No
    Send RPID : No
    Path support : No
    Path : N/A
    TrustIDOutbnd: Legacy
    Subscriptions: Yes
    Overlap dial : Yes
    DTMFmode : rfc2833
    Timer T1 : 500
    Timer B : 32000
    ToHost : sip.anveo.com
    Addr->IP : 123.123.123.123:5010
    Defaddr->IP : (null)
    Prim.Transp. : UDP
    Allowed.Trsp : UDP
    Def. Username: 1234567890
    SIP Options : (none)
    Codecs : (ulaw)
    Auto-Framing : No
    Status : OK (41 ms)
    Useragent :
    Reg. Contact :
    Qualify Freq : 60000 ms
    Keepalive : 0 ms
    Sess-Timers : Accept
    Sess-Refresh : uas
    Sess-Expires : 1800 secs
    Min-Sess : 90 secs
    RTP Engine : asterisk
    Parkinglot :
    Use Reason : No
    Encryption : No

durCLI>
dur
CLI> dialplan show
func_periodic_hook_context ael-builtin-h-bubble ael-default ael-demo
ael-dundi-e164 ael-dundi-e164-canonical ael-dundi-e164-customers ael-dundi-e164-local
ael-dundi-e164-lookup ael-dundi-e164-switch ael-dundi-e164-via-pstn ael-iaxprovider
ael-iaxtel700 ael-international ael-local ael-longdistance
ael-std-exten-ael ael-trunkint ael-trunkld ael-trunklocal
ael-trunktollfree chanvar default demo
from-anveo globals local parkedcalls
public to_anveo
dur*CLI> dialplan show from-anveo
[ Context ‘from-anveo’ created by ‘pbx_config’ ]
‘_X.’ => 1. NoOp(From Anveo ${EXTEN}) [pbx_config]
2. NoOp() [pbx_config]

-= 1 extension (2 priorities) in 1 context. =-
durCLI>
dur
CLI> dialplan show to_anveo
[ Context ‘to_anveo’ created by ‘pbx_config’ ]
‘_X.’ => 1. Set(CALLERID(number)=1234567890) [pbx_config]
2. Dial(SIP/anveo/${EXTEN}) [pbx_config]

-= 1 extension (2 priorities) in 1 context. =-
dur*CLI>

I think you want ‘_X.’ and not ‘X.’ as that wont match anything

1 Like