<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.20 20031102" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Tilghman,
<br />
<br />Thanks again for the patch - and the updated patch too!
<br />
<br />Actually, I was looking more closely at the chan_vpb.c file earlier
<br />after the first patch and tried recompiling * again after removing
<br />'char' from char t* - since I gather that wasn't required again.
<br />Asterisk now compiles properly, but crashes when a call is actually
<br />made out (with and without the 'w'). Here's what happens:
<br />
<br />With the extensions setting of "exten =>
<br />_9.,1,Dial(vpb/1-1/w${EXTEN:1},r)" - when I dial a number, for example
<br />918501, asterisk crashes with the output:
<br />
<br /> -- Executing Dial("SIP/TerenceParker-465d", "vpb/1-1/w18501|r") in new
<br />stack
<br /> Read_channel ## vpb/1-1: Setting record mode, bridge = 0
<br /> -- 1-1 requested, got: [vpb/1-1]
<br /> Ouch ... error while writing audio data: : Broken pipe
<br /> Ouch ... error while writing audio data: : Broken pipe
<br /> Ouch ... error while writing audio data: : Broken pipe
<br />
<br /> [1]+ Segmentation fault asterisk -vvvg
<br />
<br />Also, when I try to revert back to my standard dial plan using "exten
<br />=> 9,1,Dial(vpb/1-1/)" - asterisk crashes in exactly the same way,
<br />except without the 'w'.
<br />
<br />Though I don't program in C, reading through your patch it looks fine
<br />to me - I can see that you're merely trying to find instances of 'w' or
<br />'f' after the / and replace them with , or & . What I don't know is how
<br />the rest of the chan_vpb.c file interacts with that function.
<br />
<br />Any further ideas on how to solve this?
<br />
<br />Thanks again for your help.
<br />
<br />Terence
<br />
</BODY>
</HTML>