X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Ffreeswitch.pm;h=291130fdeed743728163cb7b73e9e73c3f763ac0;hb=9de91f76024959b359e07c20c08497118e1cb895;hp=ff0d243bb4c1b8be9939e2951a8134c4aee459e3;hpb=91dbe4c3834f38d428367d9a1e2c6cf9ea9d84a4;p=freeside.git diff --git a/FS/FS/part_export/freeswitch.pm b/FS/FS/part_export/freeswitch.pm index ff0d243bb..291130fde 100644 --- a/FS/FS/part_export/freeswitch.pm +++ b/FS/FS/part_export/freeswitch.pm @@ -136,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 );