Re: [asterisk-users] Asterisk question - media handling

2013-02-19 Thread Steve Edwards

On Wed, 20 Feb 2013, Nguyễn Công wrote:

There is a phone call between two users, then they are talking to each 
other directly or by the server. I mean all packets from the user A to 
user B will be send directly to each other or will those packets from 
user A must be send to server and server will send to user B.


Depending on the technology (IAX or SIP) and the configuration, you can 
choose to have the Asterisk server handle the media (RTP) or not.


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk question

2013-02-19 Thread Nguyễn Công
Hello everyone, I’m new to Asterisk and I have a question. There is a phone 
call between two users, then they are talking to each other directly or by the 
server. I mean all packets from the user A to user B will be send directly to 
each other or will those packets from user A must be send to server and server 
will send to user B.

Thanks.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Hans Witvliet
-Original Message-
From: A J Stiles 
Reply-to: Asterisk Users Mailing List - Non-Commercial Discussion

To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [asterisk-users] Asterisk SMS()
Date: Tue, 19 Feb 2013 16:50:10 +

On Tuesday 19 February 2013, Nicholas Johnson wrote:
> Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> using a phone number from flowroute.  Is using a company like flowroute
> the same as connecting to the PSTN?  Also i've tried to install smsq but I
> couldn't find any good documentation to get it setup properly.  So no, I'm
> not using smsq.

The bad news:  You need a GSM modem to send SMS messages.

The good news:  It is not so.

You can send SMS messages on POTS or ISDN lines
See the voip-wiki about it

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] crossed channels

2013-02-19 Thread Johan Wilfer
2013-02-19 17:10, Juan Carlos Agudelo skrev:
> I don't have analog channels, this happens with SIP Trunk...
> 
> Juan..
> 

I've seen this with one of our sip-trunks. Our provider used opensips
for that platform I think. If had the same account registered in two
asterisk-servers and they answered the call at the same time, audio was
from both asterisk-servers and the phone from pstn, like a 3-way conference.

I also watched a presentation about rtp ports, mentioned on this list
some time ago, explaining quite a bit on rtp ports and security:
http://lists.digium.com/pipermail/asterisk-users/2013-January/277342.html
http://media.ccc.de/browse/congress/2010/27c3-4193-en-having_fun_with_rtp.html

So my guess is that if you get two devices using the same port, or one
device that don't stop sending, you will hear that injected in your call.


-- 
Johan Wilfer


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread A J Stiles
On Tuesday 19 February 2013, Nicholas Johnson wrote:
> Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> using a phone number from flowroute.  Is using a company like flowroute
> the same as connecting to the PSTN?  Also i've tried to install smsq but I
> couldn't find any good documentation to get it setup properly.  So no, I'm
> not using smsq.

The bad news:  You need a GSM modem to send SMS messages.

The good news:  Almost any old mobile phone which can accept a USB cable can 
be used as a GSM modem, even that old one you've had kicking around in a 
drawer for ages.  Buy a cheap SIM and the minimum amount of calling credit the 
carrier will let you have.  Plug the phone into the computer, check for TTY-
type devices, open one with minicom and see what happens.

If typing
AT
gets you an
OK
then you're probably good to go.

Note that not every mobile phone supports sending SMS messages in text mode, 
but they all support PDU mode.  Also, you'll probably have to make some 
separate arrangement for keeping track of how much credit you have; then use 
the last messageworth of it to text yourself to remind you to get more.


I swear I'll write this up as an Interesting Project, one of these days.

-- 
AJS

Answers come *after* questions.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread jon pounder

On 02/19/2013 11:20 AM, Christopher Harrington wrote:

I was always under the impression you needed to either use a cellphone 
type device to send them using your account, or send on to one of the 
aggregators who have apis for this.



For low volume stuff, you can simply send an email 
@ and it will hit the phone network as an sms.





On Tue, Feb 19, 2013 at 10:12 AM, Nicholas Johnson > wrote:


On Feb 19, 2013, at 10:41 AM, Christopher Harrington wrote:


On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson
mailto:nejohns...@me.com>> wrote:

All,
  I'm trying to send an SMS directly from asterisk but it
doesn't seem to be working.  The SMS() function does create
an outgoing file but doesn't deliver the SMS.  Can anyone
help me to understand how SMS() works.  Thanks.

extensions.conf example:

same => n,SMS(hello,a,17654307001 ,"hello nick")



Let's start out by figuring out what hardware you have. Is
Asterisk connected to the PSTN? What is physically delivering the
SMS to the carriers?

Also, when I run `core show application SMS` it talks about some
software called smsq. Are you running that software?


Thanks for the help.  Right now I'm running asterisk on a
raspberry pi using a phone number from flowroute.  Is using a
company like flowroute the same as connecting to the PSTN?  Also
i've tried to install smsq but I couldn't find any good
documentation to get it setup properly.  So no, I'm not using smsq.

I'm not well informed, but it appears that you need to (at a minimum) 
provide some sort of interface to connect to a hardware interface for 
this process. Google "ETSI ES 201 912".


Having looked at Flowroute, they don't appear to mention SMS anywhere 
on their website, so I am going to go out on a limb and say that they 
will not provide what you need to send an SMS.



--
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Christopher Harrington
On Tue, Feb 19, 2013 at 10:12 AM, Nicholas Johnson wrote:

> On Feb 19, 2013, at 10:41 AM, Christopher Harrington wrote:
>
> On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson wrote:
>
>> All,
>>   I'm trying to send an SMS directly from asterisk but it doesn't seem to
>> be working.  The SMS() function does create an outgoing file but doesn't
>> deliver the SMS.  Can anyone help me to understand how SMS() works.  Thanks.
>>
>> extensions.conf example:
>>
>> same => n,SMS(hello,a,17654307001,"hello nick")
>>
>>
>>
> Let's start out by figuring out what hardware you have. Is Asterisk
> connected to the PSTN? What is physically delivering the SMS to the
> carriers?
>
> Also, when I run `core show application SMS` it talks about some software
> called smsq. Are you running that software?
>
> Thanks for the help.  Right now I'm running asterisk on a raspberry pi
> using a phone number from flowroute.  Is using a company like flowroute the
> same as connecting to the PSTN?  Also i've tried to install smsq but I
> couldn't find any good documentation to get it setup properly.  So no, I'm
> not using smsq.
>
>
I'm not well informed, but it appears that you need to (at a minimum)
provide some sort of interface to connect to a hardware interface for this
process. Google "ETSI ES 201 912".

Having looked at Flowroute, they don't appear to mention SMS anywhere on
their website, so I am going to go out on a limb and say that they will not
provide what you need to send an SMS.


-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Nicholas Johnson
Thanks for the help.  Right now I'm running asterisk on a raspberry pi using a 
phone number from flowroute.  Is using a company like flowroute the same as 
connecting to the PSTN?  Also i've tried to install smsq but I couldn't find 
any good documentation to get it setup properly.  So no, I'm not using smsq.

 nick


On Feb 19, 2013, at 10:41 AM, Christopher Harrington wrote:

> On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson  wrote:
> All,
>   I'm trying to send an SMS directly from asterisk but it doesn't seem to be 
> working.  The SMS() function does create an outgoing file but doesn't deliver 
> the SMS.  Can anyone help me to understand how SMS() works.  Thanks.
> 
> extensions.conf example:
> 
> same => n,SMS(hello,a,17654307001,"hello nick")
> 
> 
> 
> Let's start out by figuring out what hardware you have. Is Asterisk connected 
> to the PSTN? What is physically delivering the SMS to the carriers?
> 
> Also, when I run `core show application SMS` it talks about some software 
> called smsq. Are you running that software?
> 
> -- 
> -Chris Harrington
> ACSDi Office: 763.559.5800
> Mobile Phone: 612.326.4248
> 
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] crossed channels

2013-02-19 Thread Juan Carlos Agudelo

I don't have analog channels, this happens with SIP Trunk...

Juan..

El 19/02/13 11:06, Adrian Serafini escribió:

Exactly, mixed audio, callers are linked to the call of another
caller,the calls are interlaced, is something that happens sometimes...



It can happen with analog dahdi calls.  If this is the case, start 
inbound on one end of the group, outbound from the other end.


Adrian

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



--
Cordialmente,

Juan Carlos Agudelo O.
Gerente
Tuxteno Ltda.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] crossed channels

2013-02-19 Thread Adrian Serafini

Exactly, mixed audio, callers are linked to the call of another
caller,the calls are interlaced, is something that happens sometimes...



It can happen with analog dahdi calls.  If this is the case, start 
inbound on one end of the group, outbound from the other end.


Adrian

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Call Pickup how to display CND of incoming number

2013-02-19 Thread isrlgb
Check out connectedline()

-Original Message-
From: Rusty Newton 
Sender: asterisk-users-boun...@lists.digium.com
Date: Tue, 19 Feb 2013 09:58:30 
To: Asterisk Users Mailing List - Non-Commercial 
Discussion
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [asterisk-users] Call Pickup how to display CND of incoming
number

- Original Message -
> From: "David C Klaverstyn" 

> Is it possible to display the incoming calling number on a handset
> when trying to pick up a call from another handset?
> 
> 
> 
> I currently have Call Pickup working using *8, I have also used the
> PickUp application successfully but I’m not sure how to use these
> features so the handsets show the incoming calling number and not
> the number that you have dialled to pick up the call.

You are placing a call *to* Asterisk, therefore the handset, like most will 
show the number you dialed.

I don't know how you would get the CallerID to update during a connected SIP 
session. I'm no SIP expert, but Googling around - I don't think it's possible, 
at least easily...

http://forums.asterisk.org/viewtopic.php?f=1&t=71351&p=136777

http://forums.digium.com/viewtopic.php?p=152753

-- 
Rusty Newton 
OS Community Support Manager | Digium, Inc. | www.digium.com 
Office/Cell/Fax: 256-428-6200 



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Call Pickup how to display CND of incoming number

2013-02-19 Thread Rusty Newton
- Original Message -
> From: "David C Klaverstyn" 

> Is it possible to display the incoming calling number on a handset
> when trying to pick up a call from another handset?
> 
> 
> 
> I currently have Call Pickup working using *8, I have also used the
> PickUp application successfully but I’m not sure how to use these
> features so the handsets show the incoming calling number and not
> the number that you have dialled to pick up the call.

You are placing a call *to* Asterisk, therefore the handset, like most will 
show the number you dialed.

I don't know how you would get the CallerID to update during a connected SIP 
session. I'm no SIP expert, but Googling around - I don't think it's possible, 
at least easily...

http://forums.asterisk.org/viewtopic.php?f=1&t=71351&p=136777

http://forums.digium.com/viewtopic.php?p=152753

-- 
Rusty Newton 
OS Community Support Manager | Digium, Inc. | www.digium.com 
Office/Cell/Fax: 256-428-6200 



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk SMS()

2013-02-19 Thread Christopher Harrington
On Tue, Feb 19, 2013 at 9:14 AM, Nicholas Johnson  wrote:

> All,
>   I'm trying to send an SMS directly from asterisk but it doesn't seem to
> be working.  The SMS() function does create an outgoing file but doesn't
> deliver the SMS.  Can anyone help me to understand how SMS() works.  Thanks.
>
> extensions.conf example:
>
> same => n,SMS(hello,a,17654307001,"hello nick")
>
>
>
Let's start out by figuring out what hardware you have. Is Asterisk
connected to the PSTN? What is physically delivering the SMS to the
carriers?

Also, when I run `core show application SMS` it talks about some software
called smsq. Are you running that software?

-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] crossed channels

2013-02-19 Thread Juan Carlos Agudelo

El 19/02/13 03:59, Thorsten Göllner escribió:
What exactly do you mean by "crossing channels"? Mixed audio? Can 
callers hear each other?


Am 19.02.2013 02:07, schrieb Juan Carlos Agudelo:

Hi,

I have installed Asterisk 1.6.2.17-rc2 and I have a strange behavior, 
because sometimes they are crossing channels, thus producing unwanted 
calls connections...Any suggestions?





Hi,

Exactly, mixed audio, callers are linked to the call of another 
caller,the calls are interlaced, is something that happens sometimes...


--
Cordialmente,

Juan Carlos Agudelo O.
Gerente
Tuxteno Ltda.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk SMS()

2013-02-19 Thread Nicholas Johnson
All,
  I'm trying to send an SMS directly from asterisk but it doesn't seem to be 
working.  The SMS() function does create an outgoing file but doesn't deliver 
the SMS.  Can anyone help me to understand how SMS() works.  Thanks.

extensions.conf example:

same => n,SMS(hello,a,17654307001,"hello nick")



- nick
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk 1.8, Siemens C610IP with 3 handsets: all are ringing on incoming calls

2013-02-19 Thread Administrator TOOTAI

Le 18/02/2013 18:54, Chris Bagnall a écrit :

On 18/2/13 5:39 pm, Administrator TOOTAI wrote:

on incoming call we have exten =>
100,n,Dial(SIP/Handset_102&SIP/Handset_103&SIP/Handset_104,,)
and always only Handset_102 is ringing, we receive "busy" back from the
2 others but they are not. Any clue?


It depends which base station you're using - some of the earlier ones 
only supported one or two simultaneous SIP calls (remember dialling 
counts as a call, even if it's not answered).


I seem to recall the N300IP (the one we use) supports 3 concurrent SIP 
calls.


The easiest workaround is probably to create a fourth SIP account 
called '102_103_104' or something that's set to ring all 3 handsets on 
the Gigaset web interface. You can then Dial(SIP/Handset_102_103_104) 
 from Asterisk instead.


That make sens, good idea, thanks ;-)

Before I read your message I already splitted the call by calling at 
first the 2 most important handsets and in case of no answer, the third 
one with one of the first ones. Will apply your proposal if my setup 
isn't convenient to the customer.


Thanks for your help

--
Daniel

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] crossed channels

2013-02-19 Thread Thorsten Göllner
What exactly do you mean by "crossing channels"? Mixed audio? Can 
callers hear each other?


Am 19.02.2013 02:07, schrieb Juan Carlos Agudelo:

Hi,

I have installed Asterisk 1.6.2.17-rc2 and I have a strange behavior, 
because sometimes they are crossing channels, thus producing unwanted 
calls connections...Any suggestions?





--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users