Re: [asterisk-users] Asterisk and Patton

2010-05-04 Thread A . Santoro

On Fri, 30 Apr 2010 18:52:46 +0200, Philipp von Klitzing
klitz...@pool.informatik.rwth-aachen.de wrote:

As I said, you could think about creating 4 different SIP gateways on the 
Patton with 4 differing SIP ports. I don't know if the Patton will handle 
4 gateways - but it might.

 We have 4 trunk and 4 company in our office, I was testing FOP and I
 would want to show the occupied trunks for inbound and outbound calls for
 single company.

Alternatives are:
- use GROUP() and GROUP_COUNT in the dialplan
- use DEVICE_STATE in the dialplan

This includes a lenghty example on how to monitor a BRI trunk:
http://www.voip-info.org/wiki/view/Asterisk+func+device_State

Philipp

Hi Philipp,
thanks, for your help I'll try to find a solution to use FOP.

Best regards.
Eco.


-- 
_
-- 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 and Patton

2010-04-30 Thread Carlo Dimaggio

Il giorno 30/apr/10, alle ore 10:01, A.Santoro ha scritto:

 Hi,
 we have and Asterisk server connected to a Patton Smartnode 4638 with
 4 BRI.
 [...]

Hi Eco,

I think the problem is in your sip.conf.
Have you tried setting insecure=port,invite in the sip.conf for each  
sip account?


Bye,
Carlo

-- 
_
-- 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 and Patton

2010-04-30 Thread Carlo Dimaggio
2010/4/30 A.Santoro n...@ecoricerche.it

 Hi,
 we have and Asterisk server connected to a Patton Smartnode 4638 with
 4 BRI. [...]


Hi Eco,

I think the problem is in your sip.conf.
Have you tried setting insecure=port,invite in the sip.conf for each sip
account?


Bye,
Carlo
-- 
_
-- 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 and Patton

2010-04-30 Thread Philipp von Klitzing
Hi!

 calls from Asterisk: when a call come from SIP/1001 (BRI 1 on Patton)
 or SIP/1002 (BRI 2) or SIP/1003 (BRI 3) Asterisk record a call coming
 from SIP/1004. 

Read up on how Asterisk does user/peer matching in sip.conf on inbound 
calls: With all users/peers having the same IP and hostname it is the 
entry that was defined last in sip.conf that wins.

Here's a starter:
http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer
Olle has often posted in more detail about this here.

Either you simply do not differentiate between the different lines and 
treat them all as one single trunk (why exactly do you need to know which 
line is in use?), or you have to consider other ways like assigning 
different SIP ports on the Patton (a SIP gateway for each line), or maybe 
use different usernames when calling asterisk, or check if using 
different SIP domains (see [general] section in sip.conf) can help you.

See also:
http://www.mail-archive.com/asterisk-...@lists.digium.com/msg39355.html
https://issues.asterisk.org/view.php?id=14340
https://issues.asterisk.org/view.php?id=14250

Note: Your issue is Patton -- Asterisk, while the registration part of 
the Patton config that you posted matters for Asterisk -- Patton calls.

Philipp


-- 
_
-- 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 and Patton

2010-04-30 Thread A . Santoro
On Fri, 30 Apr 2010 10:39:12 +0200, Carlo Dimaggio
jaasmail...@gmail.com wrote:

2010/4/30 A.Santoro n...@ecoricerche.it

 Hi,
 we have and Asterisk server connected to a Patton Smartnode 4638 with
 4 BRI. [...]

Have you tried setting insecure=port,invite in the sip.conf for each sip
account?


Hi Carlo,
thanks for your answer.
Now I tried... and nothing is changed.

In the following lines one the sip account of the peers (in sip.conf)

[1001]  
username=1001
type=friend
secret=
dtmfmode=auto
insecure=very
host=dynamic
port=5060
context=inbound
qualify=yes
disallow=all
allow=ulaw
allow=alaw
canreinvite=no


Bye.
Eco


-- 
_
-- 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 and Patton

2010-04-30 Thread A . Santoro
On Fri, 30 Apr 2010 14:16:14 +0200, Philipp von Klitzing
klitz...@pool.informatik.rwth-aachen.de wrote:

Hi!

 calls from Asterisk: when a call come from SIP/1001 (BRI 1 on Patton)
 or SIP/1002 (BRI 2) or SIP/1003 (BRI 3) Asterisk record a call coming
 from SIP/1004. 

Read up on how Asterisk does user/peer matching in sip.conf on inbound 
calls: With all users/peers having the same IP and hostname it is the 
entry that was defined last in sip.conf that wins.

Philipp 
thanks for your answer.
This clears all my doubts, is not my configuration problem.

why exactly do you need to know which 
line is in use?

We have 4 trunk and 4 company in our office, I was testing FOP and I
would want to show the occupied trunks for inbound and outbound calls
for single company.

Thanks again.
Bye

Eco



-- 
_
-- 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 and Patton

2010-04-30 Thread Philipp von Klitzing
Hi!

 This clears all my doubts, is not my configuration problem.

As I said, you could think about creating 4 different SIP gateways on the 
Patton with 4 differing SIP ports. I don't know if the Patton will handle 
4 gateways - but it might.

 We have 4 trunk and 4 company in our office, I was testing FOP and I
 would want to show the occupied trunks for inbound and outbound calls for
 single company.

Alternatives are:
- use GROUP() and GROUP_COUNT in the dialplan
- use DEVICE_STATE in the dialplan

This includes a lenghty example on how to monitor a BRI trunk:
http://www.voip-info.org/wiki/view/Asterisk+func+device_State

Philipp


-- 
_
-- 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 and Patton

2010-04-30 Thread Olivier
2010/4/30 Philipp von Klitzing klitz...@pool.informatik.rwth-aachen.de

 Hi!

  This clears all my doubts, is not my configuration problem.

 As I said, you could think about creating 4 different SIP gateways on the
 Patton with 4 differing SIP ports. I don't know if the Patton will handle
 4 gateways - but it might.


 It does (at least with smartware 5.3).
-- 
_
-- 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 and patton

2009-04-07 Thread Olivier
2009/4/7 mahboob zaman mahboob.za...@ssl.com.bd


 Hellow

 Can any body helps how can interfacing between asterisk and patton media
 getway.

Which smartware version ?


 Thanks
 mahboob


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 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 --

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

Re: [asterisk-users] asterisk and patton

2009-04-06 Thread Alex Balashov
Interface in what manner?

mahboob zaman wrote:

 
 Hellow
  
 Can any body helps how can interfacing between asterisk and patton media 
 getway.
  
 Thanks
 mahboob
  
 
 
 
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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