X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Ffreeswitch.pm;fp=FS%2FFS%2Fpart_export%2Ffreeswitch.pm;h=291130fdeed743728163cb7b73e9e73c3f763ac0;hb=4d81e21107622f8731a6301c3c811108840582fd;hp=ff0d243bb4c1b8be9939e2951a8134c4aee459e3;hpb=3107476389f090334fe1d92df6fab68c366408b4;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 );