Thanks Max. I have modified the following and unfortunately I am getting 
segmentation fault. I can send you core dump if required however I think of 
this could be some configration issue.

Please note that I am running the whole operation with root however the call 
file is owned by callweaever user and group. i have tried TxFAX with ecm and 
debug, and extension with _1XXXXXXXXX and 1XXXXXXXXXX

 
I have pasted the error , extensions.conf, sip.conf and call file.
 
Regards,
 
Vivek 



  == Parsing '/usr/local/etc/callweaver/enum.conf': CallWeaver Ready.
*CLI>     -- Registered IAX2 to '192.246.69.186', who sees us as 
71.243.214.42:4569 with no messages waiting
    -- Attempting call on SIP/[EMAIL PROTECTED] for [EMAIL PROTECTED]:1 (Retry 
1)
Aug 12 14:18:04 NOTICE[3062725552]: channel.c :686 
opbx_channel_perform_set_t38_status: Setting t38 status to 2 at chan_sip.c:4770
Aug 12 14:18:25 NOTICE[3062725552]: channel.c:686 
opbx_channel_perform_set_t38_status: Setting t38 status to 2 at chan_sip.c:4770
       > Channel SIP/gafachi-b119 was answered.
    -- Executing Set("SIP/gafachi-b119", LOCALSTATIONID=Navynet.it FAX)
    -- Executing Set("SIP/gafachi-b119", LOCALHEADERINFO=Navynet SRL offre 
soluzioni VOIP per call center)
    -- Executing Set("SIP/gafachi-b119", FAXFILE=/root/fax_test.tif)
    -- Executing TxFAX("SIP/gafachi-b119", /root/fax_test.tif,caller)
Segmentation fault (core dumped)
[EMAIL PROTECTED] callweaver]#



extensions.conf

[general]
static=yes
writeprotect=yes
[default]
exten =>_1XXXXXXXXXX,1,Set(CALLERID(number)=2125551212)
exten =>_1XXXXXXXXXX,2,Set(CALLERID(name)=AAAA)
exten =>_1XXXXXXXXXX,3,Dial( SIP/[EMAIL PROTECTED])
exten =>_1XXXXXXXXXX,4,Hangup


[faxout]
exten =>_18182761664,1,Set(LOCALSTATIONID=Navynet.it FAX)
exten =>_18182761664,2,Set(LOCALHEADERINFO=Navynet SRL offre soluzioni VOIP per 
call center)
exten =>_18182761664,3,Set(FAXFILE=/root/fax_test.tif)
exten =>_18182761664,4,TxFAX(${FAXFILE},caller)
exten =>_18182761664,5,Hangup
;exten =>s,5,TxFAX(${FAXFILE},caller)
;exten =>h,1,NoOp(TX: REMOTESTATIONID faxout is ${REMOTESTATIONID})
;exten =>h,n,NoOp(TX: PHASEESTATUS faxout is ${PHASEESTATUS})



 

sip.conf


[general]

port=5060           ; Port to bind to (SIP is 5060)
bindaddr=0.0.0.0    ; Address to bind to (all addresses on machine)
context=faxout
tos=lowdelay
t38udptlsupport=yes
disallow=all
allow=ulaw
;allow=alaw
nat=1
;allow=alaw
;[faxout]
;exten => _1XXXXXXXXXX, 1,Set(LOCALSTATIONID=Navynet.it FAX)
;exten =>  _1XXXXXXXXXX,2,Set(LOCALHEADERINFO=Navynet SRL offre soluzioni VOIP 
per call center)
;exten =>  _1XXXXXXXXXX,3,Set(FAXFILE=/root/fax_test.tif)
;exten =>  _1XXXXXXXXXX,4,TxFAX(${FAXFILE},caller,ecm)
;exten => h,1,NoOp(TX: REMOTESTATIONID is sip.conf  ${REMOTESTATIONID})
;exten => h,n,NoOp(TX: PHASEESTATUS is sip.conf ${PHASEESTATUS})

[faxout]
exten => s,1,Set(LOCALSTATIONID=Navynet.it FAX)
exten => s,n,Set(LOCALHEADERINFO=Navynet SRL offre soluzioni VOIP per call 
center)
exten => s,n,Set(FAXFILE=/root/fax_test.tif)
exten => s,n,TxFAX(${FAXFILE},caller,ecm)
exten => h,1,NoOp(TX: REMOTESTATIONID sipfax  is ${REMOTESTATIONID})



call file

Channel: SIP/[EMAIL PROTECTED]
MaxRetries: 3
WaitTime: 30

; you can set variables here too!!
; Setting the file name is let as an exercise to the reader.
Set: LOCALSTATIONID=inxs2
Set: LOCALHEADERINFO=CallWeaver Fax with T38

;Please note.
;Setting the T38CALL channel variable before actually originating the call,
;skips the RTP part and starts T38 negotiation directly. Don't use unless
;you are dialing on a SIP channel.
; be aware that some gateway (cisco, for example) do not allow direct T38 
negotiation.
Set: T38CALL=1
;Fax detection and switchover should be done by the receving party. Setting
;the following variable will enable CallWeaver to send the invite for the 
initial switchover if
;a fax CNG is detected. (useless since trunk 2585)
;Set: T38TXDETECT=yes

Context:faxout
Extension:18182761664
;Extension:s
priority:1



 
 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikael Bjerkeland
Sent: Saturday, August 11, 2007 12:46 PM
To: Users Mailing List - Non-Commercial Discussion
Subject: Re: [Callweaver-users] TxFAX extensions.conf configuration errors

lør, 11.08.2007 kl. 11.10 -0700, skrev Vivek Shrivastava:
>
> Hi,
>
> I am trying to use TxFAX for fax send with latest snapshot but unable
> to surpass this error. looks like some error in extensions.conf. I
> have tried all possible combinations and commented/uncommented
> T38CALL=1 in the call file but no progress. if i keep 's' in place of
> _1XXXXXXXXXX but then get error like "Unable to start FAX".  The fax
> machine rings and shows receiveing but nothing after that.i am not
> sure where is the error. i appreciate any suggestion.
>
> i pasted error, extensions.conf and callfile for your perusal.
>
> Thanks,
>
> 
>
> Vivek
>
> 
>
>
>
> Attempting call on SIP/[EMAIL PROTECTED] for [EMAIL PROTECTED]:1
> (Retry 1) Aug 11 13:27:14 NOTICE[3062160304]: channel.c:686
> opbx_channel_perform_set_t38_status: Setting t38 status to 2 at
> chan_sip.c:4770 Aug 11 13:27:35 NOTICE[3062160304]: channel.c:686
> opbx_channel_perform_set_t38_status: Setting t38 status to 2 at
> chan_sip.c:4770
>        > Channel SIP/gafachi-a7c3 was answered.
>   == Starting SIP/gafachi-a7c3 at faxout,18182761664,1 failed so
> falling back to exten 's'
>   == Starting SIP/gafachi-a7c3 at faxout,s,1 still failed so falling
> back to context 'default'
> Aug 11 13:27:35 WARNING[3060300720]: pbx.c:2785 __opbx_pbx_run:
> Channel 'SIP/gafachi-a7c3' sent into invalid extension 's' in context
> 'default', but no invalid handler Aug 11 13:27:35 NOTICE[3060300720]:
> pbx_spool.c:279 attempt_thread:
> Call completed to SIP/[EMAIL PROTECTED]
>
>
>
>
>
> extensions.conf
>
>
> [default]
> exten => _1XXXXXXXXXX,1,Set(CALLERID(number)=21255551212
> exten => _1XXXXXXXXXX,2,Dial,SIP/[EMAIL PROTECTED]
> exten => _1XXXXXXXXXX,4,Hangup
> exten => _1XXXXXXXXXX,1,Set(CALLERID(number)=2125551212)
> exten => _1XXXXXXXXXX,2,Set(CALLERID(name)=)
> exten => _1XXXXXXXXXX,3,Dial,SIP/[EMAIL PROTECTED]
> exten => _1XXXXXXXXXX,4,Hangup
>
You have multiple priorities. The three first lines after [default] are just 
plain wrong. Comment them. Besides, you are missing ( ) at the Dial. You need 
to close the parenthesis around the arguments.

>
> [faxout]
> exten => 1XXXXXXXXXX,1,Set(LOCALSTATIONID=Navynet.it FAX) exten =>
> 1XXXXXXXXXX,2,Set(LOCALHEADERINFO=Navynet SRL offre soluzioni VOIP per
> call center) exten => 1XXXXXXXXXX,3,Set(FAXFILE=/root/fax_test.tif)
> exten => 1XXXXXXXXXX,4,TxFAX(${FAXFILE}|caller|debug)
> exten => 1XXXXXXXXXX,5,Hangup
> ;exten => s,5,TxFAX(${FAXFILE}|caller|ecm) exten => h,1,NoOp(TX:
> REMOTESTATIONID faxout is ${REMOTESTATIONID}) exten => h,n,NoOp(TX:
> PHASEESTATUS faxout is ${PHASEESTATUS})

You are missing a _ to indicate that the extension is a pattern. Prefix a _ to 
all 1XXX... and try again.

>
>
>
>
>
> callfile
>
> Channel: SIP/[EMAIL PROTECTED]
> MaxRetries: 3
> WaitTime: 30
>
> ; you can set variables here too!!
> ; Setting the file name is let as an exercise to the reader.
> Set: LOCALSTATIONID=inxs2
> Set: LOCALHEADERINFO=CallWeaver Fax with T38
>
> ;Please note.
> ;Setting the T38CALL channel variable before actually originating the
> call, ;skips the RTP part and starts T38 negotiation directly. Don't
> use unless ;you are dialing on a SIP channel.
> ; be aware that some gateway (cisco, for example) do not allow direct
> T38 negotiation.
> Set: T38CALL=1
> ;Fax detection and switchover should be done by the receving party.
> Setting
> ;the following variable will enable CallWeaver to send the invite for
> the initial switchover if ;a fax CNG is detected. (useless since trunk
> 2585)
> ;Set: T38TXDETECT=something
>
> Context: faxout
> Extension: 18182761664
> ;Extension: s
> priority: 1
>
> _______________________________________________
> Callweaver-users mailing list
> [email protected]
> http://lists.callweaver.org/mailman/listinfo/callweaver-users

Good luck.


_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to