[asterisk-users] IAX2 trunk with on demand Internet link

2015-02-01 Thread spartan1833
Hi, I'm connecting 2 Asterisk servers with an IAX2 trunk. Trunk works
fine in testing, no problems there but the Internet at server-A is an
on-demand system that is based on the amount of http/https traffic
going through it (or if the link is brought up manually/via scripting
interface). As such there will be times that the link is
downworkflow-wise this is not an issue (trunk for a specific
purpose) but are there any issues with how IAX2 will behave?
Specifically, when the link comes up will the IAX2 trunk reconnect
automatically? If so, how long will it take for the trunk to reconnect
(high-speed, low-latency link)? If it won't come up reliably, does
anyone have suggestions on methods to force an IAX2 reload, etc.?
Making the link full-time is not an option so I'm trying to work out
how to ensure that when the link is up, the trunk is up. I know, seems
a bit weird in today's Internet for an on-demand link but that's where
we stand - any help appreciated.  Thanks in advance-- 
_
-- 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 13, PJSIP and T38 problem

2015-02-01 Thread Marco Capetta
Hello,

I need help to solve a problem that I am having using Asterisk 13, PJSIP and 
T38.

My setup is as follows:
SIP Provider -- Asterisk 13 -- Patton -- Physical Fax
I need to get the fax directly in T38 to Patton.

The provider sends me the fax in T38.
If I receive the T38 fax on Asterisk (using an hylafax device), I can properly 
receive the fax.
If I send a T38 fax with Asterisk (using an hylafax device) directly to the 
Patton, I receive it correctly on the physical fax.

Instead, if I route, through Asterisk, the t38 fax call received by the 
provider to the Patton, I can not receive anything.
From UDPTL debug I can see the flow of some udptl packages from the provider to 
Asterisk, but I see no udptl package from Asterisk to the Patton.
From PJSIP logs, it seems that the T38 is properly negotiated by both parties.
From the debug of the Patton i see many Wrong media type. Drop FAX Packet”.

How to ensure that the fax, received by asterisk from the provider with T38 
protocol, is routed to the Patton using again T38 protocol?

Below my pjsip.conf” file:


;===TRANSPORT=

[simpletrans]
type=transport
protocol=udp
bind=0.0.0.0:5060


;===TRUNK==

[trunk-provider]
type=endpoint
transport=simpletrans
context=in_provider
direct_media=no
disallow=all
allow=alaw
allow=g729
aors=trunk-provider
t38_udptl=yes
t38_udptl_ec=redundancy
t38_udptl_maxdatagram=400

[trunk-provider]
type=aor
contact=sip:X.X.X.X:5060

[trunk-provider]
type=identify
endpoint=trunk-provider
match=X.X.X.X
match=X.X.X.X



[trunk-patton]
type=aor
max_contacts=5

[trunk-patton]
type=endpoint
transport=simpletrans
context=in_patton
direct_media=no
disallow=all
allow=alaw
auth=trunk-patton
aors=trunk-patton
t38_udptl=yes
t38_udptl_ec=fec
t38_udptl_maxdatagram=400

[trunk-patton]
type=auth
auth_type=userpass
password=X
username=X

=

Thanks
Marco

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