How to call to mobile phone with ARI?


#1

Hi,

How can I call to mobile phone with ARI? I have already register the asterisk in a provider and create the endpoint.

[provider]
type=registration
server_uri=sip:4ip.net.br
client_uri=sip:5266101@4ip.net.br
outbound_auth=provider_auth

[provider_auth]
type = auth
auth_type = userpass
username = myusername
password = mypass

[provider_endpoint]
type=endpoint
outbound_auth=provider_auth
aors=provider_aor

[provider_identify]
type=identify
match=4ip.net.br
endpoint=provider_endpoint

[provider_aor]
type=aor
contact=sip:provider@4ip.net.br

I`m using .net c#.

Regards.


#2

The same way that you call a landline phone or a phone on another, SP connected, PABX in your private network.

I’d start by not using ARI, as it will be easier for us to debug if it goes wrong.

I’m not clear why you are using ARI, rather than built in applications, if you don’t know how to make a SIP central office call.


#3

David,

I have an application in .net and I can call to my internal numbers to test. But when I try to call to outside world, using the provider, nothing happens.

I want to fix this using the dialplan first and after that I`ll migrate to ARI because all the logics to play and record are there.

Regards