[asterisk-bugs] [JIRA] (ASTERISK-20966) Getting UDPTL(SIP):Transmission error:Resource temporarily unavailable

Ahmed Munir Chohan (JIRA) noreply at issues.asterisk.org
Mon Jan 21 12:03:20 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201962#comment-201962 ] 

Ahmed Munir Chohan edited comment on ASTERISK-20966 at 1/21/13 12:01 PM:
-------------------------------------------------------------------------

For T38, sip configuration in sip.conf under general section is listed below;

t38pt_udptl = yes,fec,maxdatagram=400 
faxdetect = t38


udptl.conf under 'general section';

udptlstart=4000
udptlend=4999
udptlfecentries = 3
udptlfecspan = 3
use_even_ports = yes

extensions.conf

[fax-to-email]

exten => fax,1,NoOp(**** FAX DETECTED FOR EMAIL ****)
 same => n,NoOp(**** FAX RECEIVED From ${CALLERID(num)} ${STRFTIME(${EPOCH},,%c)} ****)
 same => n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])
 same => n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})
 same => n,Set(FAXFILE=fax-${UNIQUEID})
 same => n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)})
 same => n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)})
 same => n,NoOp(**** SETTING FAXOPT ****)
 same => n,Set(LOCALHEADERINFO=Received by FAX Server ${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)})
 same => n,Set(LOCALSTATIONID=${CALLERID(dnid)})
 same => n,NoOp(Local Header Info : ${LOCALHEADERINFO})
 same => n,NoOp(Local Station Id : ${LOCALSTATIONID})
 same => n,NoOp(**** RECEIVING FAX : ${FAXFILE} ****)
 same => n,ReceiveFAX(/var/spool/asterisk/fax/${FAXFILE})
; Hangup! Print FAXOPTs
exten => h,1,AGI(receivedfax.pl,${FAXFILE},${REMOTESTATIONID},${CALLERID(dnid)})
 same => n,NoOp(FAX File Name : ${FAXFILE})
 same => n,NoOp(Local Header Info : ${LOCALHEADERINFO})
 same => n,NoOp(Local Station Id : ${LOCALSTATIONID})
 same => n,NoOp(FAX Pages : ${FAXPAGES})
 same => n,NoOp(FAX Bit Rate : ${FAXBITRATE})
 same => n,NoOp(Remote ID Station: ${REMOTESTATIONID})
 same => n,NoOp(FAXOPT Resolution : ${FAXRESOLUTION})
 same => n,NoOp(FAX Status : ${FAXSTATUS})
 same => n,NoOp(FAX Error : ${FAXERROR})
 same => n,Set(CDR(fax_status)=${FAXSTATUS})
 same => n,Set(CDR(fax_error)=${FAXERROR})
 same => n,Set(CDR(fax_pages)=${FAXPAGES})

The message/error: [Jan 15 14:13:28] NOTICE[20514] udptl.c: UDPTL (SIP/10.3.22.6-00000ad6): Transmission error to 10.3.22.6:18428: Resource temporarily unavailable 

usually comes atleast once in a week(s) but for now, I'm not getting this message. If I get this message, I have to restart the Asterisk service.

                
      was (Author: ahmed.munir):
    For T38, sip configuration in sip.conf under general section is listed below;

t38pt_udptl = yes,fec,maxdatagram=400 
faxdetect = t38


udptl.conf under 'general section';

udptlstart=4000
udptlend=4999
udptlfecentries = 3
udptlfecspan = 3
use_even_ports = yes

extensions.conf

[fax-to-email]

exten => fax,1,NoOp(**** FAX DETECTED FOR EMAIL ****)
 same => n,NoOp(**** FAX RECEIVED From ${CALLERID(num)} ${STRFTIME(${EPOCH},,%c)} ****)
 same => n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])
 same => n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})
 same => n,Set(FAXFILE=fax-${UNIQUEID})
 same => n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)})
 same => n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)})
 same => n,NoOp(**** SETTING FAXOPT ****)
 same => n,Set(LOCALHEADERINFO=Received by IQor QorA ${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)})
 same => n,Set(LOCALSTATIONID=${CALLERID(dnid)})
 same => n,NoOp(Local Header Info : ${LOCALHEADERINFO})
 same => n,NoOp(Local Station Id : ${LOCALSTATIONID})
 same => n,NoOp(**** RECEIVING FAX : ${FAXFILE} ****)
 same => n,ReceiveFAX(/var/spool/asterisk/fax/${FAXFILE})
; Hangup! Print FAXOPTs
exten => h,1,AGI(receivedfax.pl,${FAXFILE},${REMOTESTATIONID},${CALLERID(dnid)})
 same => n,NoOp(FAX File Name : ${FAXFILE})
 same => n,NoOp(Local Header Info : ${LOCALHEADERINFO})
 same => n,NoOp(Local Station Id : ${LOCALSTATIONID})
 same => n,NoOp(FAX Pages : ${FAXPAGES})
 same => n,NoOp(FAX Bit Rate : ${FAXBITRATE})
 same => n,NoOp(Remote ID Station: ${REMOTESTATIONID})
 same => n,NoOp(FAXOPT Resolution : ${FAXRESOLUTION})
 same => n,NoOp(FAX Status : ${FAXSTATUS})
 same => n,NoOp(FAX Error : ${FAXERROR})
 same => n,Set(CDR(fax_status)=${FAXSTATUS})
 same => n,Set(CDR(fax_error)=${FAXERROR})
 same => n,Set(CDR(fax_pages)=${FAXPAGES})

The message/error: [Jan 15 14:13:28] NOTICE[20514] udptl.c: UDPTL (SIP/10.3.22.6-00000ad6): Transmission error to 10.3.22.6:18428: Resource temporarily unavailable 

usually comes atleast once in a week(s) but for now, I'm not getting this message. If I get this message, I have to restart the Asterisk service.

                  
>  Getting UDPTL(SIP):Transmission error:Resource temporarily unavailable
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-20966
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20966
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_cdr, Applications/app_fax
>    Affects Versions: 10.4.2
>         Environment: CentOS 5.6
>            Reporter: Ahmed Munir Chohan
>            Assignee: Ahmed Munir Chohan
>            Severity: Critical
>
> Getting UDPTL(SIP):Transmission error:Resource temporarily
> Postby ahmed.munir » Thu Jan 17, 2013 12:39 pm
> Hi,
> I configured Asterisk 10 for inbound fax, for couple of weeks I didn't see any issues until today. The setup I configured for inbound fax is quite simple i.e. Cisco Voice GW sends the fax calls to Asterisk using T.38 protocol and later Asterisk stores/forwards the fax to specific end user.
> The configuration I made in sip.conf for enabling T38 is listed below;
> t38pt_udptl = yes,fec,maxdatagram=400
> faxdetect = t38
> And in udptl.conf, I just uncommented 'use_even_ports = yes
> ;' and rest of it set as default.
> Here is the error I'm usually seeing in Asterisk side;
> [Jan 15 14:13:28] NOTICE[20514] udptl.c: UDPTL (SIP/10.3.22.6-00000ad6): Transmission error to 10.3.22.6:18428: Resource temporarily unavailable
> If this notice comes, it occurs repeatedly unless I need to restart the asterisk service. For some reason it also effecingt the V-GW. There is no issue found in the V-GW side.
> I first open this ticket in 'Asterisk Support', they advised they there might be bugs in Asterisk 10.4.2. Is there a fix in Asterisk 10.12? If yes, please advise at earliest.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list