X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Ffreeswitch.pm;h=291130fdeed743728163cb7b73e9e73c3f763ac0;hb=38e34bbc53a4222c7507e95914e1364a5a74623f;hp=eb490fd8516de1ea26c6ac3a3b2955589adb539c;hpb=10370b0320f56af88c90e572644e91332815100f;p=freeside.git diff --git a/FS/FS/part_export/freeswitch.pm b/FS/FS/part_export/freeswitch.pm index eb490fd85..291130fde 100644 --- a/FS/FS/part_export/freeswitch.pm +++ b/FS/FS/part_export/freeswitch.pm @@ -27,6 +27,8 @@ tie my %options, 'Tie::IxHash', + + @@ -134,8 +136,13 @@ sub freeswitch_template_fillin { DELIMITERS => [ '<%', '%>' ], ); + my $cust_pkg = $svc_phone->cust_svc->cust_pkg; + my $nibble_rate = $cust_pkg ? $cust_pkg->part_pkg->option('nibble_rate') + : ''; + #false lazinessish w/phone_shellcommands::_export_command my %hash = ( + 'nibble_rate' => $nibble_rate, map { $_ => $svc_phone->getfield($_) } $svc_phone->fields );